I have upgraded my website from magento 2.4.3 to 2.4.5 and now I am getting the issue Access to XMLHttpRequest at from origin has been blocked by CORS policy issue I have a multi store setup and have tried a number of solutions. These are the URLs of my store […]
Magento1
I’ve create a custom module to collect customer data and return it back to Google at success page. In my module success.phtml : <?php /** @var ChicGoogleBlockSuccess $block */ ?> <h1><?= $block->getGrandTotal() ?></h1> <script> gtag('event', 'conversion', { 'send_to': 'AW-11109313262/QKkuCMyiuqAYEO7VqrEp', 'value': '', 'currency': 'SAR', 'transaction_id': '' }); </script> Now at success […]
I’d like to be able to add a class to the tiles in category grid view in admin where an item’s stock is zero (0). How can I do this? My goal is for the tiles to look something like this:
When I try including widgets the product images are barely visible. (Too small) Is there anyway to rectify this?
In Magento 2, I changed the fotorama gallery to vertical. Now I want to limit either the maximum number of thumbnails that shows when the page loads or limit the height of the fotorama gallery. As an example, if I have a product with 10 thumbnail images. I want the […]
I’m trying to get values from the popup model of radio buttons into the database and I’m not getting that, what am I doing wrong? BLOCK FILE <?php namespace vendorThreeYearOrdersBlock; use MagentoFrameworkViewElementTemplateContext; use MagentoCustomerModelSession; class Popup extends MagentoFrameworkViewElementTemplate { /** * @param MagentoFrameworkViewElementTemplateContext $context * @param array $data **/ /** […]
I upgraded to 2.4.3-p2 from 2.4.3 and I am suddenly getting this error when call the rest/V1/customers/me api: “message”: “Internal Error. Details are available in Magento log file. Report ID: webapi-64636c25026c3”. The exception log shows this: “main.CRITICAL: Report ID: webapi-64636c25026c3; Message: Notice: Undefined index: input-array-size-limit in vendor/magento/module-webapi/Model/Rest/Config.php on line 129 […]
The checkout stopped working after logging in on another browser’s tab. Scenario: Fill the cart and proceed to the checkout page. Go to the other browser’s tab and logged in there. Go back to the checkout on the first tab and try to complete the order. Result: Magento says “No […]