Yearly Archives: 2020
I want to display 2 currencies at a same time on product page, just like $50 and AED200, e.g https://miatlantic.ae/ws-c3850-24t-s in this, i am using Magento 2
I am working on a module that is meant to extend MagentoCatalogModelCategory in order to get the thumbnail URL. I based the code on getImageUrl in the base class. I have my main Model file CategoryThumbnail.php: < ?php namespace ModuleCategoryThumbnailModel; use MagentoAuthorizationModelUserContextInterface; use MagentoCatalogApiCategoryRepositoryInterface; use MagentoCatalogApiDataCategoryInterface; use MagentoCatalogUrlRewriteModelCategoryUrlRewriteGenerator; use MagentoFrameworkApiAttributeValueFactory; […]
I am working on a Magento 2.3 site that has a number of different stores. If I look at the details of a particular product in a particular store in the admin screens, I can see that some of the attributes have the “Use Default Values” box checked and some […]
I have an inline js script snippet for a PayPal banner to add to my website. I can include it in Design > Configuration > HTML head but this will display the banner on all pages. How can I add this just to show on cart page only? Thanks
I have created Order on WhatsApp button using the following code and my code is working. I can show Order on WhatsApp button at product category page so please tell me how to show WhatsApp button at category page below side of add to cart button code place at app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/view/addtocart.phtml […]
I have a folder and I have set GID on it like this: chmod -R g+s I also set r/w perms like this: chmod -R 2774 But the problem is that newly created files inside this folder do not keep 2774 permissions so the GID is useless for me because […]