Can you help me figure out which best practices to use for get block template by id in phtml file? thanks everyone if you need some info please send comment okay, try it: i created a block in admin panel with id bottom-content and the block will be show in […]
Magento2
I’m using opensearch and I’m getting the following error on the category page. I’m also getting a similar error during indexing. 1 exception(s): Exception #0 (ElasticsearchCommonExceptionsBadRequest400Exception): {"error":"no handler found for uri [/magento2_product_1/document/_search] and method [POST]"} I’m using brew for opensearch, the version is 2.3.0.
I originally was facing an issue of not being able to save any configurations on my magento application, and a user on this site recommended to run the php bin/magento setup:upgrade command as the first step to resolving my issue. Well, that only created a much larger issue. When running […]
i have problem with checkout page. When i use in delivery address Company name, VAT number and Fax…this information are not show on “Billing address is same” and on right (recipient)…both places are on pictures lower. I need show company name,VAT number and Fax number show on this places. Can […]
Getting an error on the upgrade process due to the following. Php 7.4 is installed ok. composer run ok. But, magento stays on the 2.4.1 version and when I run bin/magento list I can see the error is located with Vertex module that is removed in that version. bin/magento list […]
I am working in Magento-2, In my requirement, I want to show particular country on checkout page shipping address country drop-down, this only applicable for the shipping address form section, in billing address it has to show all the country. We have option in backend (Go to -> Store -> […]
I am having an issue when I create a new product from admin it shows the wrong default selected value: While the default value is set to: Any help would be appreciated.
I have multi store environment with three stores, us.abc.com ca.abc.com uk.abc.com having respective websites and store views. I want to get store data like store code, store id, store website etc. by store URL “us.abc.com” is there any function that I can pass the store URL and get the data […]
for example i use code for my custome shipping method $totalItems = $cart->getQuote()->$getItemsQty(); Total count of products (example add 2 bags adidas and 1 top nike = total 3 items) But how to get unique items? (example add 2 bags adidas and 1 top nike = total 2 items)