I am adding tax programmatically on checkout using this code: class Tax extends MagentoTaxModelSalesTotalQuoteTax { /** * Class constructor * * @param MagentoTaxModelConfig $taxConfig * @param MagentoTaxApiTaxCalculationInterface $taxCalculationService * @param MagentoTaxApiDataQuoteDetailsInterfaceFactory $quoteDetailsDataObjectFactory * @param MagentoTaxApiDataQuoteDetailsItemInterfaceFactory $quoteDetailsItemDataObjectFactory * @param MagentoTaxApiDataTaxClassKeyInterfaceFactory $taxClassKeyDataObjectFactory * @param CustomerAddressFactory $customerAddressFactory * @param CustomerAddressRegionFactory $customerAddressRegionFactory * @param […]
Magento2
I want to check if the postcode exists in the current country on the checkout page. How to implement this? or maybe someone knows a module that does it? Thanks for any help
It’s puzzling. weird: https://pegeen.com/catalogsearch/result/?q=classic normal: https://pegeen.com/catalogsearch/result/?q=everyday Magento 2.x
Recently I have started getting an error 404 for add to cart link: /checkout/cart/add/uenc/…../product/1432/ when clicked in product view page. In category view all is fine. It seems like it is related to varnish cache as when I switch back to built in cache: redis, everything is fine. When checking […]
I have a problem I am using Magento 4.2.4 and Elasticsearch 6 and this message appears can anyone help me to solve it. main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”}],”type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”},”status”:400} {“exception”:”[object] (ElasticsearchCommonExceptionsBadRequest400Exception(code: 400): {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”}],”type”:”illegal_argument_exception”,”reason”:”request [/magento2_product_2/product/_search] contains unrecognized parameter: [cat]”},”status”:400} at […]
I’m very new to magento and was tasked to migrate this magento site (https://swadeshiherbal.com) but I’m getting this 500 errors from non existing urls. e:g https://swadeshiherbal.com/static/version1653542305/frontend/Alothemes/geckoOrganic/en_US/mage/calendar.css Don’t know how there are generated or where actually these resources located. Please help me to debug this issue.
I am trying to send the form’s data to admin panel from phtml. However, it returned an error for the HTML form’s class, how can I run the php function for passing data to html and send it to admin? Myvendor/Mymodule/Controller/Index/Send.php <?php namespace CleargoProductEnquiryControllerIndex; use MagentoFrameworkAppActionContext; use MagentoFrameworkMailTemplateTransportBuilder; use Zend_Mail_Transport_Sendmail; […]
Upon logging into Magento admin, I see the following dialog. When the link shown in it is followed, there is no mention of the security patches.
Below is the error I get in store frontend. Warning: require(vendor/autoload.php): Failed to open stream: No such file or directory in /home/magento/web/mymagentostorename.com/public_html/poms/libs/phpfastcache_config.php On running composer update and composer install, I find the installation failure messages for several modules. Could you please share some insights or possible solutions to the issue?