Questions tagged [checkout]

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

Filter by
Sorted by
Tagged with
14
votes
4answers
23k 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 ...
6
votes
6answers
23k views

How to create order programmatically in Magento 2?

I have special order form and now I need to create orders without payment. So the payment needs to be skipped. I am not sure what would be the best way to accomplish this part. Should I send my form ...
9
votes
3answers
13k 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
10
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 ...
24
votes
4answers
17k 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 ...
49
votes
2answers
23k 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 ...
23
votes
4answers
44k 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.
3
votes
3answers
5k views

Magento 2: How to set Max Length for Street Address?

I would like to set Max Length for Customer's Street Address 1 to 50 Characters & Street Address 2 to 100 Characters. Changes will be applied on Frontend only, where we can find Street Address. ...
27
votes
8answers
29k 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 ...
47
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 ...
13
votes
4answers
6k views

How to show a custom attribute in the admin Shipping Address box?

I have added the drop-down custom field on the checkout page with custom values. It's working fine also save attribute values in the database but not display in the order shipping address. Any idea ...
16
votes
7answers
18k 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/...
17
votes
2answers
5k 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 ...
114
votes
8answers
45k 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?
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 ...
12
votes
3answers
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 ...
7
votes
2answers
11k views

Magento 2 - How to affect street address in checkout forms with layout xml/ui arguments

I'm trying to set a placeholder on street address fields on shipping address form in checkout. Followed this example: http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_form.html I've ...
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....
2
votes
2answers
9k views

How to add custom checkout fields and save them in db?

I need to add some fields to the shipping address form from checkout page, and then save them in database. Please tell me how to do this thing?
6
votes
2answers
6k views

Magento 2 How to remove shipping method in checkout page

I want to remove shipping method from the cart page and checkout page. I am trying to remove the shipping method from checkout page but seems it's loading from the Knockout.js file. How can i remove ...
7
votes
4answers
13k views

displaying certain payment methods for customer groups

I am very new to the magento checkout process so forgive my lack of knowledge. Is there a way of displaying certain payment options for certain customer groups. For example i have changed the "...
6
votes
3answers
13k views

Magento display tiered pricing for each product on cart page

I am having an issue getting the tierPriceHtml to display for each item on the cart page. This is what I have inside checkout/cart/item/default.phtml: $custom = Mage::getModel('catalog/product')->...
15
votes
2answers
11k 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"...
7
votes
3answers
10k views

Onepage checkout: Already registered customer login redirects to create an account or login page

I have recently upgraded to 1.8.1 and am fairly new to magento. All other aspects of my site seems to be working just fine, however when a customer with an existing account adds item to the cart and ...
7
votes
3answers
2k views

How to remove Guam, Palau, and other US Territories from address State dropdown - Magento 2 [duplicate]

How can I remove Guam, Puerto Rico, Palau, and all other US Territories from the "State" (or "Region") dropdown list on both the cart page and checkout pages? I only want to ship to the 48 contiguous ...
1
vote
2answers
3k views

How do you edit checkout field labels in Magento 2?

The site I am working on is only selling to UK customers, and therefore we would like to change the labels from the Zip/Postal to Postcode and from State/Province to County. I have spent a long time ...
0
votes
2answers
5k views

Adding JS to the checkout

How to add custom JS to just the checkout page? I found this tutorial, but as far as I can tell it will add JS to the entire site.
8
votes
1answer
8k views

Split order into seperate orders and calculate shipping seperately with ups and fedex and different origin addresses

When a customer comes to our store and goes to check out on multiple items, I need to write a module to calculate shipping based on several factors. I have determined from my research that the ...
9
votes
2answers
12k 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 ...
8
votes
3answers
1k views

Correct way to obtain a session object?

I'm writing a payment module for Magento 2 right now and I'm checking it against the "Magento Extension Quality Program Coding Standard" CodeSniffer(https://github.com/magento/marketplace-eqp). For ...
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?
6
votes
1answer
2k views

Magento2 - How can I display a product attribute value in Order Summary block?

I am trying to display a product attribute value instead of the product name. I have found the tempplate where it is displayed: vendor/magento/module-checkout/view/frontend/web/template/summary/item/...
3
votes
1answer
1k views

Call to a member function getAccountNo() on null Magento 2

I'm extending shipping method section in checkout page, and it's showing well. But it's throwing error while clicking next button after filling shipping address and shipping method information in ...
11
votes
4answers
4k 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....
6
votes
2answers
4k views

When does Magento decrement quantity

I'm looking for the exact point in the codebase where Magento decreases the quantity of a product after payment. I have noticed that it happens after payment authorize and not capture, if I am correct....
1
vote
2answers
2k views

How can i send a sms upon successfull check out in magento?

How can i send a sms upon successful check out in magento , as i have a third party sms api integrated already with another project , how can i give all the module as a library or any other ...
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 ...
5
votes
2answers
5k views

Magento 2 add custom extesion html file in shipping method block

I have created custom shipping method. I want to add additional comment after shipping method name. Following xml file Vendor_Namespace\etc\adminhtml\system.xml <group id="flatrate2" translate="...
6
votes
2answers
8k views

Magento 2: Change Text On Checkout Page

I'm using Magento 2 CE Version 2.1.2 I would like to change Shipping Address to Shipping/Billing Address. I have already below, but it's not working for me. Magento 2: Sorry, no quotes are ...
10
votes
1answer
7k 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\...
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 ...
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 ...
4
votes
1answer
3k views

Magento 2 Payment method : Add custom Select field that I can use in checkout process

I am working on a Payment Gateway integration in Magento 2. The payment method is working fine and its listed on checkout page. I need to add a Custom Select Field on the Checkout process. MODULE/...
4
votes
2answers
377 views

Carding attack on website

I'm getting hit with carding attacks on my website. I've enabled AVS options like so in Paypal. This doesn't seem to be doing enough to stop the attacks. Paypal threatens to shut off my account, ...
5
votes
1answer
6k views

How to add new steps or tab to checkout page in Magento2

How to add new tab or step in checkout page of magento2, that i need one more step in checkout page how to do it
3
votes
1answer
2k views

What's the reason for running a price reindex after placing an order? [duplicate]

After placing an order Magento triggers a price reindex (which sometimes takes too long) and fails placing the order (because reindex is part of the transaction): > SQLSTATE[HY000]: General error: ...
2
votes
2answers
150 views

Magento 2.2.3 - Add custom required validation for company

I want to add validation only for billing address on the checkout page. By default in the backend, the company name is optional. But if when I go to the checkout page and click on the Place Order ...
3
votes
2answers
2k views

M2: Sending data by clicking Next on checkout

I had some customization on Shipping page of checkout on Magento2, now I want to send out some data back to my module by the user hitting "Next" button and add to the current cart, so in which way ...
3
votes
2answers
3k views

How to override html file in magento 2.1

I need to customize Magento_Checkout module. I have tried to copied that html files into my theme path but the override is not working Override path mentioned in below /app/design/frontend/Vendor/...
2
votes
1answer
2k views

Add placeholder and remove all labels in Magento 2 Checkout

Searched a lot but didn't found anything removing the Lables like "First Name, Last Name, City, Address, Email, Phone etc" Add Placeholders in all "shipping fields" and "sign In" places. After ...