Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [checkout]

This tag should be used for questions related to the Magento checkout process.

108
votes
8answers
44k views

How to test or style the order success page?

If I reload the checkout/onepage/success page, I am directed to the cart. So, when debugging or styling the order success page, I always have to make a new order. How can I do this more efficiently?
47
votes
2answers
22k views

Magento 2 - How to add a custom field to checkout and then send it

All tutorials are covering only adding a fields, but saving value of this fileds is skipped #mindblown. I don't know why, it's most important part of adding any field or form. I tried to follow ...
46
votes
7answers
17k views

Price re-index causes DB deadlocks during checkout

I'm experiencing an issue where I believe the Product Price re-indexing process is causing a deadlock exception in the checkout process. I caught this exception in the checkout process: Order ...
27
votes
8answers
28k views

Cart dropping all items / cart session clears

A site I manage suddenly (potentially 2 weeks ago - from GA stats, and only reported now) started dropping the cart items when you view the cart, or go to checkout. The top 'mini-cart' shows the ...
23
votes
4answers
14k views

Magento 2 - Create order using REST API

I need to use the Magento REST API to create an order from a mobile client. In my case, mobile side will implement the payment directly using PayPal SDK. What I need to do is to create an order by ...
23
votes
6answers
4k views

Onepage checkout, or not Onepage checkout

I have noticed a lot of sites replace the default OnePage checkout with 3rd party modules. Two replacements I am familiar with is OneStep, and CheckItOut. My personal opinion, from experience, is ...
21
votes
3answers
37k views

Magento 2 - How to get all items in cart?

At checkout page (chekout/cart) I want to edit the checkout button url destination based on cart items (link.phtml). How can I get all items in cart? I want to do this without using the API. Thanks.
20
votes
2answers
3k views

what does “displayArea” and “provider” of checkout_index_index.xml mean in magento2

what does displayArea and provider of checkout_index_index.xml mean in magento2?
19
votes
5answers
16k views

How do I remove customers middle initial/name from the checkout page?

Since upgrading to the latest version of Magento, I noticed that a new entry has appeared on the checkout page asking for the customers middle name/initial. How do I remove the entry "Middle name/...
18
votes
2answers
26k views

Magento V1.8 one page checkout not loading payment information

Please, can someone assist me? I am having an issue with my one-page checkout on Magento CE v1.8. I am testing the checkout process and noticed that after selecting a shipping method the system fails ...
18
votes
4answers
27k views

How to remove steps from the Magento Onepage checkout?

I'm using CE 1.7 and I am currently trying to remove the shipping, shipping method, and payment steps from Onepage checkout. I already removed the steps from local\mage\checkout\block\onepage\abstract....
18
votes
4answers
20k views

Getting a “Please Specify a Shipping Method” exception during checkout

I've been getting exception logs for this error in production, but I'm unable to reproduce the issue in my local or staging environment, so it's been pretty hard to troubleshoot. The error originates ...
18
votes
3answers
12k views

Adding a Step to the One Page Checkout

Are there any extensions, open-source Magento modules, or tutorials that make adding a step to the one page checkout any easier? I've poked at the core code for this a few times and it seems like ...
17
votes
2answers
4k views

how to reorder (switch) billing address before shipping address

on the onepage checkout I need to reorder the billing address before the shipping address. in fact the logic should be the other way around than it is now. if the shipping address differs from the ...
16
votes
7answers
16k views

Add header and footer in checkout page Magento2

By default Magento 2 don't provide HEADER and FOOTER in CHECK OUT page. So I checked checkout_index_index.xml file on path app/design/frontend/package_name/theme_name/Magento_Checkout/layout/...
16
votes
4answers
4k views

Magento 2 Add dropdown list to shipping method

I develop shipping method for some logistic company. This company has many offices where customer can get his order. I can get offices list by сity in API but i don't now how better represent this ...
16
votes
3answers
2k views

Why Magento re-saves existing customer addresses during checkout?

During the checkout process even if customer selects existing address form the drop-down the customer_address entity is being re-saved. Any idea what for? Update: It starts at ...
16
votes
1answer
2k views

How can I include the checkout progress on the Paypal express review page?

Okay I've broken this down into steps and you can see where I am stuck: Step 1 - change column number The PayPal express review page (our page that PayPal sends the buyer back to in order to review ...
16
votes
1answer
3k views

Magento 2 minicart, welcome message, other do not work with page cache disabled after customer login

With Magento 2.0.4 cache, more specifically page cache enabled, everything works. If I disable it, clear cookies, and login as customer than products in minicart are not there. Welcome message does ...
15
votes
1answer
4k views

How to show custom block on shipping method select in Magento 2

Using reference link how to add custom block at shipping methods below in onepage checkout?, I am able to create additional shipping block on the bottom. But, I would like to show content only, when ...
15
votes
1answer
891 views

Allowing for a negative order, with Grand Total less than 0

One of our clients has asked for the ability for its order entry personnel to submit orders with a negative order total. The application already allows negative line items, which works fine as long as ...
15
votes
3answers
2k views

magento 2 remove mini cart item page reload?

How can I reload the page when I remove mini cart item ? I know it's Magento 2 bug. On the checkout cart page there are many products In mini cart as well as In checkout cart page when I remove In ...
14
votes
2answers
10k views

Remove a UI component child via Layout XML

How do I remove a UI component child via Layout XML? For example, from the below xml directive in checkout_index_index.xml. How do I remove the shipping node ? <item name="sidebar" xsi:type="array"...
14
votes
3answers
3k views

checkout page refresh issue

First of all I want to give some screen shots to understand my issue. Now I want to add related code here. etc/frontend/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www....
14
votes
2answers
298 views

Which one step checkout type extensions honour original layout handle? [closed]

One of my extensions uses the below layout xml instruction to add a common block for three payment methods to the checkout <checkout_onepage_paymentmethod> <reference name="root"> ...
13
votes
4answers
22k views

Remove Shipping steps in Onepage Checkout

I'm using CE 1.9.1.0. I'm trying to remove the Shipping Information and Shipping Method steps from onepage checkout but with no success. Perhaps someone could help me out or point me in the right ...
13
votes
2answers
664 views

How to update Shipping rates using Ajax when cart item is deleted on Checkout-Cart page?

My Shipping rates are calculated based on item present in cart and now on deletion of item on Checkout/Cart page, I need to update the Shipping rates. As of now, Remove Item on Checkout/Cart page ...
12
votes
3answers
15k views

Paypal shipping address errors

I'm trying to test my shop with PayPal Sandbox. I get 2 different errors in 2 different situations. 1. All works fine till finishing order in PayPal. Then get message: We're sorry, PayPal doesn't ...
12
votes
2answers
2k views

Checkout Form - How to wrap multiple elements in a class - Magento 2

How do you wrap two checkout form elements inside a div? For example let's say I wanted to wrap these country and zip/postcode fields in a div with the class of example-class, how would I do this? ...
12
votes
2answers
7k views

How can I remove the Review step in Onepage checkout?

I would like the order to be processed after the Payment method step, omitting the Review step in the Onepage Checkout. Is there anyone who has experience with this or who can point me in the right ...
11
votes
4answers
5k views

Shipping address custom attribute value not display in address box in magento2.2.2

I have added the drop-down custom field on checkout page with custom values. It's working fine also save attribute values in the database but not display in order shipping address.any idea how to show ...
11
votes
3answers
10k views

Which observer to use after success order on Magento 2?

I am working on this Magento 2 extension and part of the features is to push information about the orders to an external application using web services. I need to push this information after an order ...
11
votes
3answers
3k views

Order mail confirmation generates DOMXPath::query() error

on order place the email contains the following error and does not display properly CSS Inline Error: Warning: DOMXPath::query(): Invalid expression in .../vendor/pelago/emogrifier/Classes/Emogrifier....
11
votes
1answer
1k views

Magento 1.9.3 : How to display custom options price (separately) on cart and checkout page?

I want to display custom option price on cart and checkout page. I follow this URL but its display error "Fatal error: Call to a member function getValue() on a non-object " on app/design/frontend/...
10
votes
1answer
5k views

Magento 2 : How to add placeholder text to street fields in checkout?

In back-end I've set the street address to have 3 lines. I'd like to put a different placeholder in each field: Street Building / Apartment Area This way user can enter data in a more structured ...
10
votes
1answer
6k views

Magento 2 checkout index xml is not overriding

I am creating Magento 2 theme using the blank theme as the base. Now the problem is Magento 2 blank theme removing the top header, search bar, mini cart on http://www.yourdomain/checkout page vendor\...
10
votes
1answer
981 views

How to automatically add a comment on order when is placed

I have the following situation: I am on the checkout page, and i have 3 Shipping methods. If i select a specific method form all 3 and i finish the order, i want a comment to be added automatically ...
9
votes
5answers
6k views

up to date guide to remove telephone required field from checkout

Please could some one post a guide on the removal of 'required' telephone field in checkout based on the magento layout Version 1.8.0.0, the majority of current googled resources are out of date and ...
9
votes
4answers
10k views

Magento2 No Payment methods showing in Frontend

I am developing a site on a local server using developer mode (in env.php) I enable the checkout to the payment page, however, despite setting up all payment methods (individually as well to test for ...
9
votes
2answers
8k views

How to save customer name for guest checkout?

Customer name is not being saved in onestepcheckout module. Is there a step I missed in saving order? $shippingInfo = array( 'city'=> (string)$shippingAddress->City, 'country_id'...
9
votes
2answers
4k views

City dropdown at checkout magento 2

I use magento 2.0.7 is it possible to custom the checkout page city field(text) to dropdown list?
9
votes
2answers
12k views

Magento multiple order on one checkout or order splitting

Store products are supplied from different vendors. It is required to create multiple order for every vendor based on its products in the cart during one checkout. Is there any extension to achieve ...
9
votes
2answers
11k views

How to let user choose delivery date?

My website is gifting website so I need to let users select the date of delivery. I want that selection (textbox with calendar popup) on shipping details step. I can google for a free extension but I ...
9
votes
3answers
906 views

Magento 2 : How to Merge Payment and Shipping Method steps in Checkout

Give me useful suggestion, How to merge payment and shipping method steps in checkout.
9
votes
3answers
6k views

Magento 2 checkout - 400 Bad Request

I am facing below error while placing an order on Magento 2 store with payment method Cash On Delivery. POST http://yoursite.com/rest/ae_en/V1/carts/mine/payment-information 400 (Bad Request) Is ...
9
votes
1answer
699 views

Magento2: Minicart is full while Cart is Empty

A lot of our customers are complaining that they add stuff to the cart & then when they proceed to checkout they are redirected to an empty cart. We thought that it might be a result of too short ...
9
votes
0answers
2k views

Magento 2: Carrier with such method not found

When i'm on Checkout Page. Sometime i'm facing below error. Carrier with such method not found: null, null I have selected by Shipping Address, Not selected any Shipping Method & Clicked on "...
8
votes
3answers
7k views

Magento 2: How to add additional block on checkout page?

I would like to override the above file & display my custom block in the li. magento\vendor\magento\module-checkout\view\frontend\web\template\shipping.html <li id="shipping" class="checkout-...
8
votes
5answers
2k views

magento 2 Syntax error or access violation: 1103 Incorrect table name '', query was: INSERT INTO `` () VALUES ()

Magento 2 when place order from newly created store, after click on place order button below error is dispaly, Syntax error or access violation: 1103 Incorrect table name '', query was: INSERT INTO ...
8
votes
2answers
9k views

How to Add Custom fields to Checkout page in Magento2

I need to add two custom fields in each shipping and payment steps of checkout page in Magento 2 and also data should be saved in needed tables how to do it in Magento 2