Skip to content

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?

fresh install Magento 2.4.6-p6 : localhost text dispaly error and admin page keeps loading, please help

ENV magento 2.4.6-p6 MacBook apple M1 max macOS Sonoma 14.5 docker desktop: 4.30.0 engine: 26.1.1 docker-compose: 2.27.0 composer:2.2.24 elasticsearch:8.11.4 kibana:8.11.4 mysql:8.0 php:8.2.18-fpm redis:7.0.15 nginx:1.24.0 dockerfile: 3.8 Background Hello everybody, Fresh install Magento 2.4.6-p6 Homepage’s text style shows incorrect.And picture shows… Read More »fresh install Magento 2.4.6-p6 : localhost text dispaly error and admin page keeps loading, please help