Error: Cannot instantiate interface MagentoInventorySalesApiApiGetProductSalableQtyInterface Found this error while removing deprecation of StockStateInterface for REST API, Does anyone has an idea why this error occurs? Thanks in advance My code is namespace VendorModulePlugin; use MagentoCatalogApiProductRepositoryInterface; use MagentoInventorySalesApiApiGetProductSalableQtyInterface; use MagentoQuoteApiCartRepositoryInterface; use MagentoQuoteApiDataCartItemExtensionFactory; use PsrLogLoggerInterface; class CartItemPlugin { /** * @var CartItemExtensionFactory […]
Magento
I want to sort Products based by their size like (extra small, small, medium, large) you can take Magento reference what they use for this term,) 1: Products with All Size options should be on top. you can see below query as refrence. SELECT sl.parent_id, COUNT(sl.product_id), SUM(IFNULL(ss.stock_status, 0)) FROM catalog_product_super_link […]
Looking for documentation about how to use a Magento 2 extension (not published to a marketplace) with Adobe Commerce Cloud edition. The plugin currently lives in github. Is this possible? Thank you, Tristan
I moved my client’s old magento website from one server to another but now the one-page checkout won’t work. I’m getting the following error when I press “continue” in the “Billing Section” Warning: preg_match() expects parameter 2 to be string, array given in ../magento/public_html/index.php on line 34 {"goto_section":"shipping_method","update_section":{"name":"shipping-method","html":" n United […]
I was able to change the price design for only product page using the solution in this link Change price template only for product view page? My code: In catalog_product_view.xml file I have added this code in the body tag <block class="MagentoFrameworkPricingRender" name="product.price.render.default"> <arguments> <argument name="price_render_handle" xsi:type="string">blanco_catalog_product_prices</argument> <argument name="use_link_for_as_low_as" xsi:type="boolean">true</argument> […]
I have in my theme template file head.phtml, and here is added: <link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400,600,italic,700" rel="stylesheet" type="text/css"> So question is how to remove it through my template layout local.xml? or maybe another method?
We have a problem with our Magento 2.4 website with PayPal All-in-One Payment Solution (Website Payment Standard) payment method. Some of our customers are getting an error when trying to make a payment, the error message says: “A wrong PayPal Express Checkout Token is specified.” The error is presented to […]
I will really appreciate any guidance on how to exclude a CSS file from CSS merge on all pages. The closest post I found is: Magento 2 : Exclude CSS from merged file just for the homepage I purchased the Amasty Google Page Speed Extension since it states it allows […]