Skip to main content
13 votes
Accepted

Magento 2 How to Call JavaScript Click Function on Checkout?

Use below code <script type="text/javascript"> require([ 'jquery', 'jquery/ui'], function($){ $(document).on("click","#checkoutnext", function() { alert("Test!"); ...
Kishan Patadia's user avatar
9 votes

magento 2 : How to add static block in (.html) file?

To add static block over the Place order button!, you need to declare a PHTML file in checkout index anywhere in theme. STEP 1: Create a new XML file in theme checkout_index_index.xml <page xmlns:...
Chirag Jain's user avatar
8 votes

Magento 2.3.2 Failed to load the "Magento_Checkout/js/view/billing-address/list" component

Check your modules requirejs-config.js. Probably there is mapping like "Magento_Checkout/js/view/billing-address": "Vendor_ModuleName/js/view/billing-address", Then later Requirejs try to load all ...
JanuszJanczy's user avatar
6 votes
Accepted

Magento 2 : how can i add notice below state/province field in shipping address in checkout page

1.Create a di.xml under 'etc' directory of your any custom module <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
Magento Dev's user avatar
  • 1,264
5 votes
Accepted

Magento 2.3.2 Failed to load the "Magento_Checkout/js/view/billing-address/list" component

Magento 2.3.2 has made big changes in the checkout section. below is the link for changes commit in GitHub. https://github.com/magento/magento2/commit/8a9a986f930cb5f8516b3fe5ecb6d1a6d3f9e8af In my ...
Chirag Patel's user avatar
  • 6,136
4 votes
Accepted

How can I unchecked default Save in address book checkbox checkout shipping address popup?

I don't know which onestepcheckout you are using. But you can check in core checkout how it works refer below files /vendor/magento/module-checkout/view/frontend/web/template/shipping-address/form....
Priyank's user avatar
  • 7,702
4 votes
Accepted

Customer stuck in an endless loop

looks like there are a lot more call of the particular methods which changes the trigger_recollect flag. The final solution was to pass the Quote through all methods. The Problem was the result of two ...
Pawel's user avatar
  • 1,096
4 votes

Adding products to cart via url

Please try with this. <a href="http://example.com/index.php/checkout/cart/add/product/1/form_key/<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>/">My cart</a>
Jaydip Kansagra's user avatar
3 votes
Accepted

Set Currency Depend on Country IP

Credits : Raphael at Digital Pianism you can use Geo IP MAGENTO STORE SWITCHER BASED ON CUSTOMER LOCATION. Follow this tutorial , you can find complete code here I am posting code, just if link ...
Baby in Magento's user avatar
3 votes

magento 1.9.3 based ecommerce site product selection to checkout in single page

Yes, it is possible. The Grokking Magento website is an angular frontend running on top of Magento.
benmarks's user avatar
  • 16.7k
3 votes
Accepted

How to add checkbox in checkout page above subtotal in magento 2

Change <item name="component" xsi:type="string">Magestore_OneStepCheckout/js/view/customtemplate</item> To <item name="component" xsi:type="string">Magestore_OneStepCheckout/js/...
Suresh Chikani's user avatar
3 votes

Customer logged out when clicking 'Go to checkout' from basket

Turns out this is a known Magento 2 bug with many stores suffering from the same problem. I initially reported that the problem happens when you click 'Go to checkout' before the basket page had ...
Zaq Mughal's user avatar
3 votes

Customer logged out after checkout & redirected to empty shopping cart - Magento 1.9

Resolved the issue by upgrading OSC and SagePay and removing all of the crap overrides from previous merges - works now!
user1704524's user avatar
  • 2,483
2 votes

Magento cant make an order

You have the problem, that the transaction somewhere started is neither commited nor rolledback, this means, somewhere an error is thrown which stops the code to process the rollback() or commit() a ...
Toan Nguyen's user avatar
  • 3,059
2 votes

Magento Payment Methods Not Showing - Shows a CC Form Instead

This sounds like your site has been hacked. I'm sure this credit card form is displayed via JavaScript and sends entered credit card data to some unknown server far away, stealing your customers ...
Fabian Schmengler's user avatar
2 votes

Magento 2: User get Redirected to Empty Cart Page?

Here is a temporary fix, it is not as per magento 2 standard. But as there is some existing issue with session in magento 2 and I have seen many of people facing same issue. I am sharing this ...
Pankaj Sharma's user avatar
2 votes
Accepted

Bypass shipment steps in checkout when customer already have a default shipment address?

normally, when you click the "next" button in the shipping step, an ajax call is triggered which sets the shipping address and shipping method in the quote. If you want to skip this step you would ...
David Verholen's user avatar
2 votes
Accepted

Magento2 : Move billing address after payment method

This has default settings. Go to: Stores -> Configuration -> Sales -> Checkout -> Checkout Options -> Display Billing Address On Select Payment Page and save configuration. Clear cache.
Sohel Rana's user avatar
  • 35.9k
2 votes

Constr is not a constructor on layout.js line 137 error custom module

I am not sure whether this is the correct answer or not but this fix the issue hope it will help someone so I am posting here . Made changes to requirejs-config.js and the error I was facing is ...
Mac's user avatar
  • 573
2 votes
Accepted

Constr is not a constructor on layout.js line 137 error custom module

You should avoid the copy-paste technique as much as possible. In your requirejs-config.js you are declaring that you would like to apply mixins to Magento_Checkout/js/view/billing-address with ...
Marjan's user avatar
  • 1,139
2 votes

How to change "Street Address: Line 1" label in one step checkout magento 2 shipping address?

hello you can modify any detail by using below solution please look into it. In that solution I answered to modify validation for street address line 1 by using plugin. you can also modify any other ...
Nirav Patel's user avatar
1 vote

Issue On checkout Page after enabling Austrian Dollor Currency

There is a issue with currency rates, whenever you add new currency to store it require import/add currency rates, You can add it by Admin >> Store >> Currency >> Currency Rates
Suresh Chikani's user avatar
1 vote

Magento 2 How to Call JavaScript Click Function on Checkout?

You need to rewrite form.html knockout template of Magento_Checkout in your theme. app\design\frontend\Vendorname\Themename\Magento_Checkout\web\template\billing-address\form.html replace below div ...
Prashant Valanda's user avatar
1 vote
Accepted

Magento2 : Can I call same plugin multiple time?

The right approach would be creating separate module for the second plugin, you can use sortOrder property to fit concrete execution order with your needings http://devdocs.magento.com/guides/v2.2/...
Raul Sanchez's user avatar
  • 3,125
1 vote

Magento 2 update progress bar in check out page

Just tested this with this: app/design/frontend/{vendor}/{theme}/i18n/en_US.csv "Review & Payments", "Reviewssss & Paymentsssss" and got this result: So it looks like it's just a typo.
circlesix's user avatar
  • 4,303
1 vote

How to Add products to cart when clicks on a custom button

You can add button though standard catalog page. "Object manager" will get the functionality. Here is the code for button: use Magento\Framework\App\Action\Action; $_productCollection = $block->...
Jassi BANga's user avatar
1 vote
Accepted

Get order in observer after placing order

This is Response controller after the payment success it will come to this controller load the success page. <?php /** * Copyright © 2015 Pay.nl All rights reserved. */ namespace Jed\...
Jeeva Chezhiyan's user avatar
1 vote
Accepted

Saving comments on request

What you should do is change the code contained in the Observer.php file to save the data from an Array. For this to happen, the fields in the HTML code must be changed as well. Updated HTML field ...
Matheus Portela's user avatar
1 vote
Accepted

Required field not being required in some orders

This is an issue both on IE/Firefox and Safari(Windows Desktop and Iphone/Ipad) have done some testing and found that the issue is with the validate Javascript not being loaded only after being placed ...
Dava Gordon's user avatar
  • 1,600
1 vote

Magento 2 add product to cart with custom price from the custom controller?

Please find the below solution. It will works. public function __construct( \Magento\Framework\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $...
SathishrajRaju's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible