Currently the template is defined like this: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="CompanyPdfDesignModelCompanyDesign"> <arguments> <argument name="templateFiles" xsi:type="array"> <item name="extras" xsi:type="string">Company_PdfDesign::pdf/table/extras.phtml</item> </argument> </arguments> </type> </config> However, I want to make this dynamic and load it from the settings, so I tried to use a helper like seen here: <?xml version="1.0"?> […]
Magento2
Magento 2.4.2-p1 Smartwave Porto theme extensions from Amasty including One Step Checkout We migrated from Magento 1.9.4 to Magento 2.4.2-p1 using the Magento Migration Tool. There have been few orders here and there but we have really gone down in order numbers – we had absolutely no orders from customers […]
I need to update the field “inventory_manage_stock” on several products. I’m not sure I can do that with a CSV import, because this attribute is not available for exports. Any idea to achieve this please ? Thanks
I would like to override core plugin method Core plugin path MagentoInventorySalesPluginStockStateCheckQuoteItemQtyPlugin.php In this file I would like to override aroundCheckQuoteItemQty() function and I refer all the related links solutions in magento.stackexchange.com but no luck in my di.xml file <type name="MagentoInventorySalesPluginStockStateCheckQuoteItemQtyPlugin"> <plugin name="check_quote_item_qty" disabled="true" /> <plugin name="vendor_name_check_quote_item_qty" type="VendorNameModelPluginStockStateCheckQuoteItemQtyPlugin" sortOrder="99" /> […]
When I create a bundled or grouped product in Magento 2.4, the product stock status stays In Stock even if one of child items are Out of Stock. A grouped/bundled product only marks out of stock is all of the child items are out of stock. If any of the […]
Magento 2 Js files are not loading from pub/static in my custom module Js file path as: app/code/vendor/name/view/adminhtml/web/js/grid/columns/thumbnail.js Even above file is available in static/version1636461000/adminhtml/Magento/backend/en_US/Vendor_Name/js/grid/columns/thumbnail.js but when I inspect from browser nothing is showing NOTE: I have overridden this file from module-Ui Please help me THanks
Our client has a specific need where they wish all products to be shown for one particular category, whilst all others show the default number (12 in our case) with pagination. I know Magento doesn’t offer this out of the box. I don’t mind hard-coding it in e.g. an XML […]
Because of the European TAX rules we need/want to add some extra text to the order and invoice emails when there is intra-community trade . We want to check if the TAX amount is 0 and customer has a VAT ID if so add some extra text. We already have […]
I am getting this error when I try to open to product catalog page in Magento 2.4.3 Custom theme? Exception #0 (Exception): Warning: include(/var/www/html/vendor/magento/module-catalog/view/frontend/templates/product/view/attribute.phtml): failed to open stream: Permission denied in /var/www/html/vendor/magento/framework/View/TemplateEngine/Php.php on line 71 I set permission also using root. cd /var/www/html/ find var generated vendor pub/static pub/media app/etc […]