Inside the magento/module-cms/frontend/layout, I created my selectable xml file and inside of it had this code: I go to my magento admin > cms page > set the custom layout update and there is no changes also tried to clear the cache and still remains. The thing that I’m trying […]
Magento
Here I upgrade Magento from 2.4.3 to 2.4.5 so getting a javascript error can anyone help me how can I resolve this error? Can not find out what excatly issue
Currently, we are using the Adobe Commerce Enterprise Version 2.4.3 P1. We are just notified about the Security Updates for APSB22-38. We didn’t find any patches available for these updates.Usually we get patches along with the security update. Does it required to update the Magento version to 2.4.3-p3? Or Can/Will […]
With the upgrade to Magento 2.4.5 from 2.4.2, the old code in an observer class in the custom module to get information about Stripe Payment isn’t working any more. It looks like Magento event sales_order_place_after isn’t able to help with retrieving payment information. I tried several other events including sales_order_load_after […]
I have tried the following: Observer ... $transport = $observer->getTransport(); $transport->setTemplateVars([ 'products' => [ ['name' => 'Product1'], ['name' => 'Product2'] ] ]); ... order_new_guest.html {{block class='Magento\Framework\View\Element\Template' area='frontend' template='Vendor_Module::email/template.phtml' products=$products}} email/template.phtml <p>HELLO!</p> <?php //print_r(count($this->getProducts())); ?> <?php foreach ($this->getProducts() as $_item): ?> <p><?php echo $_item['name'] ?></p> <?php endforeach; ?> The issue: In […]
First product list A1, A2,A3 Product Family A Second product list B1,B2,B3 Product Family B It shows on PLP such as in this way; Family A Title Family A description A1 A2 A3 Family B Title Family B description B1 B2 B3 How can I change the order of Families? […]
I am using this mixin for the custom validation rules in the below template for the first and last name Template: /vendor/magento/module-customer/view/frontend/templates/widget/name.phtml require js : var config = { config: { mixins: { 'mage/validation': { 'Magento_Customer/js/name-validation': true } } } } Js file : require( [ ‘Magento_Ui/js/lib/validation/validator’, ‘jquery’, ‘mage/translate’ ], […]
I’m working on a Magento Cloud project after a other developers left it and I’m having a hard time figuring out the development cycle. I can change files on a branch and commit the changes, causing a build/deploy on the cloud environment, but every branch is on production mode with […]
I got this messagein console: Uncaught TypeError: Unable to process binding “if: function(){return cookieMessages && cookieMessages.length > 0 }” Message: Unable to process binding “foreach: function(){return { data:cookieMessages,as:’message’} }” Message: Unable to process binding “html: function(){return $parent.prepareMessageForHtml(message.text) }” Message: $parent.prepareMessageForHtml is not a function at html (eval at createBindingsStringEvaluator (knockout.js:3221:28), […]