Does anyone know how one is suppose to correctly implement critical-css-generator to auto-generate ciritcal.css files in Magento2? I tried to replicate the instructions here: https://www.rohanhapani.com/how-to-enable-and-generate-css-critical-path-in-magento-2/ I added this block of code const critical = require('critical-css-generator'); critical.generate({ url: 'https://<my website>', path: '/var/www/html/m240/app/design/frontend/<my-theme>/web/css/test_critical.css', viewport: true }); insdie module.exports in the Gruntfile.js. But […]
Magento
I have installed Amasty Mega menu extension. I have added mega menu. In that display categories and subcategories. Now I want when hover any of the category right side div display that category image. Thanks in advance!!!
is elasticsearch required for magento newest versions to work. I am having a hard time finding the answer and hosting sites do not support it for shared plans. I am trying to do an eCommerce store so IDK if I even need it, plus know nothing about web development. I […]
I have created a custom block that appears below the price in the product detail page. I did this by creating the following file app/design/frontend/vendor/theme/Magento_Catalog/layout/catalog_product_view.xml with the contents <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="product.info.sku" remove="true" /> <referenceContainer name="product.info.main"> <block class="MagentoFrameworkViewElementTemplate" name="stockstatus.text" template="Magento_Catalog::view/stockstatus.phtml" after="product.info.price"/> </referenceContainer> </body> </page> What i […]
I have removed a bunch of discontinued products (simple products) through CSV. Most configurable products still have a few simple products attached to it. However, for some, literally all simple products have been removed. I’m looking for a way to generate a list of all configurable product sku’s, that do […]
How we create a new Commerce Provider in the next js e-commerce for magento 2. How I connect that provider into e-commerce
I would like to change the order of fields when a customer adds an address or edits an existing one in the address book. Eg: I would like the zip-code field to be ordered before the city field. Previously I had already handled this by copying the contents from magento-customer/view/frontend/templates/form/edit.phtml […]
Is there a way to bypass the billing address when buying something online. I have been ask of my billing address and I don’t know how to get it to them.
After Migrating from Magento 1 to Magento 2.4.3 Community Edition the product_id row in the sales_order_item table is incorrect because the product ids are different to Mageto 1. (I imported the products with a CSV that’s why the ids are different) Is it somehow possible to “fix” the table with […]