I’ve started to contribute on Magento Open Source project on Github. I did my first commit and opened a pull request. I added/replaced some lines of code in a JS file, trying to follow all the guide lines from Magento. 5 of 15 automated tests fail and watching into details […]
Magento2
I´m new to Magento and I´m trying to install Magento locally in my work desktop to test my code development before pushing it back to the Integration Branch. I already tried with the “Local Development Setup” and “Docker Cloud Development” Instruction. In both setups my machine becomes unresponsive. With the […]
I would like to reorder the checkout form fields in following order First Name Last Name Email Phone number Custom field – opt-in and then the rest of the fields. I can reorder other fields in checkout_index_index.xml however, email is not the customer address form field. How can I achieve […]
Guys I need to run a code as soon as a user logs in through checkout. But I’m not getting it, precisely because it sends a request to “/customer/account/loginPost/” and the return is a refresh to the checkout page. public function loginPostAction() { if (!$this->_validateFormKey()) { $this->_redirect('*/*/'); return; } if […]
I got this error when I try to generate Quote ID using Order Processing API. “message”: “The quote can’t be created.”, How to fix this ?
I am creating owl carsouel for compare products <div class="main-padding"> <div class="message-container"> </div> <div class="compare-inner-block "> <div class="car-item-block owl-carousel owl-theme" id="avatar-carousel"> </div> <div class="compare-btn"> <div class="align-btn"> <div class="button primary" id="compare-btn"> <a href="<?php echo $this->getUrl("catalog/product_compare"); ?>" translate="yes" ><?php echo $helper->getBlockConfig("comparebuttontext"); ?> <span class="count" translate="yes"></span></a></div> <div class="button secondary" id="btn-secondry" translate="yes"><a class="clearbtn" translate="yes"><?php […]
I have written a custom module that is located in the /app/code folder. My less file is located in /app/code/<Vendor>/<Module>/view/frontend/web/css/source/_module.less. How do I include the theme’s _variables.less file so I can pre-style my content to match the theme’s colours? I’m only after the header and button colours (example code below): […]
Hi guys I want to override klavio php file. My main purpose is make it checkbox default as checked. Now is default False. Current File: vendor>klavio>magento2-extention>Plugin>CheckoutLayoutPlugin.php How can I Override This file on magento 2.3.3 namespace KlaviyoReclaimPlugin; use KlaviyoReclaimHelperScopeSetting; class CheckoutLayoutPlugin { public function __construct( ScopeSetting $klaviyoScopeSetting ) { $this->_klaviyoScopeSetting […]
There are many threads that I didn’t want to resurrect but none solve the problem, they work for the simple product image but not for the configurable one. Of the many, this one is the most valuable: Add product image in new order email Any advice to solve?