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
Magento2
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 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 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 this new Magento installation (i’ve used the downloader from Magento page, and installed the community 1.9.4.4 version), wich don’t display product pages, just throw 404 error page. I’ve created just one for reference, but it just doesn’t work. -> The product stock is fine (100 itens / in […]
i stuck on a problem generating pdf files. I have a module, which gets multiple invoice numbers. As a result i have to generate a single invoice pdf file for each invoice and create a zip file with all pdf files. Is there an alternative using the PDF Model? MagentoSalesModelOrderPdfInvoice […]
Since, the magento 2.3 requires PHP 7.2 my current live is has PHP 7.0. I copied the live site to staging server upgraded my magento to 2.3. And everything seems to be working, I plan to change the DNS setting once I go live with the staging. what is the […]
I have magento2 with varnish 6 setup on docker with SSL termination on CloudFlare which have cahce on its own. I want to know proper configuration of settings for: 1. Varnish – should I enable static and media caching? if (req.url ~ "^/(pub/)?(media|static)/") { # Static files should not be […]
I have no idea why my newsletter input box and subscribe button was break into next line. I inspect the code and found out the code between input field and button was added recaptcha code by the system itself with no reason? < ?= $block->escapeHtml(__('Get the Latest Updates, Trends & […]