Skip to content

magento2.4

Auto Added by WPeMatico

Magento 2.4.4: no image showing for configurable product inside product recommendations section

I have installed product recommendation module (Magento marketplace) to my site (Magento 2.4.4). The recommendation products are showing in the frontend inside the prodcut details page. The simple products are working alright. But the configurable products have no image showing… Read More »Magento 2.4.4: no image showing for configurable product inside product recommendations section

Magento 2 – Access to XMLHttpRequest – /adminhtml/Magento/spectrum/en_US/js-translation.json has been blocked

Currently we are using magento 2.4.6-p6, we are recently noticing below issue in the console, while opening the cms blocks / cms pages from admin. Access to XMLHttpRequest at ‘https://website.com/static/version1721183017/adminhtml/Magento/spectrum/en_US/js-translation.json’ from origin ‘null’ has been blocked by CORS policy: Response… Read More »Magento 2 – Access to XMLHttpRequest – /adminhtml/Magento/spectrum/en_US/js-translation.json has been blocked

How to keep track of this of the parent component when calling a parent function inside a foreach loop in the template in knockout?

I have a cart-items-mixin.js define([‘Magento_Catalog/js/price-utils’, ‘Magento_Checkout/js/model/quote’, ‘ko’,], function(priceUtils, quote, ko) { ‘use strict’; return function(CartItems) { return CartItems.extend({ (…) showDetails: ko.observable(false), handleShowDetails: function() { this.showDetails(true); }, initialize: function() { this._super(); (…); } }); }; }); and the template: <!– /**… Read More »How to keep track of this of the parent component when calling a parent function inside a foreach loop in the template in knockout?