In my product gallery code I am displaying several product images. I would like to specify each image’s height & width in the img tag. How can I get each image’s height & width in Magento (without using getimagesize)?
Magento2
We have a huge catalog of products, most of which we want to continue to have the standard setup of “When out of stock do not display product” as we currently have it setup. However, we have setup a attribute (faux_oos) which we want to use to identify certain products […]
I have added the grunt but when i execute the below command then css file is generated but js file is not created inside the pub/static/frontend/ Missing file is : en_US/requirejs/require.js, en_US/mage/requirejs/mixins.js, en_US/requirejs-config.js FYI, i am using a windows 11. grunt clean grunt exec grunt less is anyone have an […]
I have atm one email that will notify the customer when the order has been packed and shipped. But how can we create an email that is sent when the order is ready for pickup? How can we separate these 2?
The following error is found during the process of upgrading Magento from 2.4.2 to 2.4.4 in console. Uncaught SyntaxError: Unable to process binding "ifnot: function(){return customer().fullname }" Message: Unable to parse bindings. Bindings value: html: I found out that this error is being caused by this line. <!-- ko ifnot: […]
On my magento2 site with the Freego theme applied, the category page is missing pagination controls. When I switch to the Magento Blank theme, they reappear, so I know it’s an issue with the theme. I’ve tried disabling the Solwin_Soldout module but to no avail. Can anyone assist? It is […]
I am overriding the frontend price by using the MagentoCatalogModelProduct plugin like so: Sulman/Mymodule/etc/frontend/di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <type name="MagentoCatalogModelProduct"> <plugin name="sulman-product-model-frontend" type="SulmanMymodulePluginProductPlugin" sortOrder="1" /> </type> </config> SulmanMymodulePluginProductPlugin.php: <?php namespace SulmanMymodulePlugin; class ProductPlugin { public function afterGetPrice(MagentoCatalogModelProduct $subject, $result) { return '123.45'; // just testing } } ?> This is working […]
Like the title stated. We’ve created a custom shipping module, it’s quite basic and works like it should. However, when I continue to the checkout it seems to forget it and select another shipping method. If I select it again and refresh it also forgets it. It doesn’t matter if […]
I have my sandbox env and production env working with the same auth.json. For some reason When we tried to push a feature in prod today, the archive was unable to be found (404). But the credentials from auth.json is 100% fine as it works on the sandbox env. I’m […]