Questions tagged [checkout]

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

Filter by
Sorted by
Tagged with
6
votes
5answers
3k views

Magento 2: How to implement First Order Discount?

I am planning to give the discount to the customers for their first order purchase. After shipment selection, I want to show the discount in the order summary(discount is only for the first order). ...
6
votes
3answers
6k views

Hide shipping method name and title from frontend

In front end on checkout page in shipment section shipping methods and name appears in bracket along with shipping and handling. Now it looks like Shipping & Handling (title - method name): 5$ I ...
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 ...
6
votes
3answers
27k views

Event before save order or place order in magento 1.9.1.1

Get event before place order or save new order. I have tried the sales_order_save_before event but I didn't get any data. Below is my code, In config.xml: <sales_order_save_before> <...
6
votes
3answers
8k views

Display order ID on checkout success page

Please could someone help me with what I imagine is a fairly straightforward request? I am trying to display the current order ID on the checkout confirmation page using the following code. <?...
6
votes
3answers
9k views

Why is shopping cart not emptied after placing an order?

I have magento 1.9 installed. After placing an order while logged in, the shopping cart is not being emptied. If I place an order as "guest" though, the cart is emptied. Is this an option somewhere, ...
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....
6
votes
5answers
10k views

How to put Shopping cart on the right sidebar in checkout?

I want to put the shopping cart at the right side of of my horizontal checkout. Something like this
6
votes
4answers
24k views

How can I get a quote id after an order is made?

Okay the question is how to get a quote id after an order is made.. and I know what people are going to say - why? Well I have some custom details being inserted into a custom table at checkout (via ...
6
votes
2answers
534 views

Disable COD if subtotal is greater then xxxx amount

How can I disable the Cash on delivery option on checkout page, if the order subtotal is greater then a specific amount ? Thanks !
6
votes
3answers
2k views

PayPal Express FIRSTNAME and LASTNAME instead of SHIPTONAME

In Magento 1.9 PayPal is transferring a SHIPTONAME which is used for the shipping address. Instead of populating firstname and lastname with the correct variables, only firstname is populated with ...
6
votes
1answer
23k views

Add new field in checkout

I am totally new to Magento. Still learning, so I am confused about where to start off when I have to do something new. I have to add just another input field in the checkout that gets saved in the ...
6
votes
2answers
7k 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 ...
6
votes
1answer
2k views

Magento 2 - How to show tax and shipping costs in mini-cart pop up

How to show tax and shipping costs in mini cart popup in Magento 2?
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/...
6
votes
2answers
5k views

How to determine if an item has discount from catalog price rule

Any ideas how to make sure the item in the cart / quote was affected by CATALOG price rule (not shopping cart rule)? There is a similar question without an answer: Do not apply catalog price rules ...
6
votes
3answers
2k views

Stock control race condition between checkout and payment completion

If two users simultaneously attempt to purchase the last item from an online store, we either have an opportunity for a race condition, or an opportunity for a DOS attack on the store. Specifically, ...
6
votes
3answers
8k views

Got error: CRITICAL: Broken reference: No element found with ID 'checkout.header.wrapper'

I got this error in system.log: main.CRITICAL: Broken reference: No element found with ID 'checkout.header.wrapper' and the checkout page is blank.
6
votes
2answers
3k views

Magento 2 + Customer logged out automatically in checkout process

I have a strange issue on one of the site. When I log in or register as a new customer and adding few items in shopping cart. Then go to the checkout page it is automatically logged out the customer ...
6
votes
1answer
4k views

Magento 2 - Checkout loader keeps loading

Issue: Loader won't stop loading after page loading is finished. In this question Irene891 gave this as an answer: "looks like problem caused by missed "checkoutLoader" configuration. Try to to ...
6
votes
1answer
3k views

Magento 2 : problem in the Checkout page : window.checkoutConfig is undefined

I am using Magento 2.0.2 and I have a problem with the Checkout page. Sometimes there is a JS error appears in the file /Magento_Checkout/js/model/quote.min.js: TypeError: window.checkoutConfig is ...
6
votes
1answer
2k views

Role of is_active in sales_flat_quote?

Can anyone shade some light on the real usage of is_active field in sales_flat_quote table? AFAIK, is_active field is used in the following cases: is_active is always 1 for cart/quote created by web ...
6
votes
1answer
1k views

Redirect in OnePage Checkout during checkout in “Shipping Method” to shipping provider's web (onepage)

I'm using OnePage module checkout. I created my shipping method module. If is my method selected, need to redirect to provider's web. Here customer choose closest place to his shipping address and ...
6
votes
2answers
1k views

Magento 2 No such entity with cartid = help!

I'm experiencing this error on my site quite often: Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with cartId = It's not using multiple stores, so the entity_ids ...
6
votes
0answers
496 views

Magento 2 Checkout Error Uncaught TypeError: Cannot read property 'getCacheKey' of null

I have an issue on checkout page and we are getting below error on console. It looks like address object is not loaded correctly on quote object and we are getting different error each time. This ...
6
votes
0answers
484 views

How to apply custom validation in Magento 2 checkout Shipping Address form?

In Magento2 - I want to apply some custom validation on shipping address form of Magento 2 Checkout. Normally I do it with JQuery but don't know how to apply it in Magento 2. The validation I want to ...
6
votes
1answer
2k views

Magento 2 custom address fields not saving to database from checkout

Through a setup script I created two new customer address fields for Magento 2. These field show up nicely in the backend and checkout. But, the values are not send from checkout to the api. Now the ...
6
votes
2answers
3k views

How to change currency on checkout with paypal

I am using AED as my base currency and PayPal is not Supporting AED. i want to convert it in to US Dolor while checkout with PayPal.
6
votes
0answers
3k views

How to add city (not state!) in magento? [duplicate]

How can I add cities in city field in address form of magento in checkout? I want add city not state, want load it auto same as state State load drop-down after select country, now want city drop-...
5
votes
5answers
9k views

Grand Total not updated when discount code is applied

There are 2 types of Discounts (Shopping Cart Rules) Working on the Website right now: Coupon Codes - Working Absolutely Fine BUT - Subtotal does not get Updated. Ex: 10% Off on Rs. 500 and Above - ...
5
votes
3answers
5k views

Manage number of address lines

Where ,i can change the number of address lines on the checkout page? Next code returns the number but where to set it? $this->helper('customer/address')->getStreetLines();
5
votes
2answers
4k views

How to show default payment method as checked at checkout page in Magento 2

When customer go to checkout page default payment method should be shown checked which is Paypal. What is the possible way to do this. Please help guys
5
votes
2answers
14k views

How to get the Grand Total with shipping charge and tax at onepage checkout in Magento 1.9?

In onepage checkout, I am trying to get Grand Total but it is not updated based on shipping charges, taxes applied instead it is only showing product cost. After selecting the shipping method and ...
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="...
5
votes
2answers
30k views

Call to undefined function mcrypt_module_open() in lib/Varien/Crypt/Mcrypt.php on line 63

My checkout suddenly goes to a white page, it never used to do this! The error I am getting is Call to undefined function mcrypt_module_open() in /var/www/vhosts/mywebsite.co.uk/httpdocs/lib/...
5
votes
5answers
3k views

How to show subtotals in first checkout step?

I want to add the subtotals to first checkout step "shipping" into the sidebar. In the checkout_index_index.xml I can see the totals but I have no clue why it is not loading in the first checkout ...
5
votes
1answer
4k views

How to access configuration variables in magento checkout's javascript?

I am developing a magento custom payment method(gateway) and in order to redirect the user to the gateway I want to set on the checkout form to redirect to the custom gateways url with the ...
5
votes
5answers
13k views

Magento 1.9 checkout and cart very slow

Today i implemented Lesti_Fpc which was a huge huge huge speed bump for the entire site. but i still struggle with the Cart and Checkout pages. load times of around 6 to 9 sec. for the cart page. ...
5
votes
2answers
5k views

How to post data to a payment provider when placing an order in Magento 2

The issue I'm trying to integrate an online credit card payment service in Magento 2.2, but it's tough to understand all the docs on this topic at first, so I'm looking for some guidance. What I ...
5
votes
1answer
6k views

How to make the second address field required during checkout?

I have config set to display 2 lines for address during checkout (Configuration → Customer → Customer Configuration → Name and Address Options): Number of lines in a street address: 2 How can I make ...
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
5
votes
1answer
7k views

Magento. Quantity in checkout shopping cart doesn't work properly

I have installed Magento 1.8.0 and on localhost the cart is working correctly. I change the quantity of a product in the cart then I push the "Update cart" button and all works fine. I trasferred the ...
5
votes
1answer
7k views

Customer Comment box during checkout

Does anyone know of any way to add a section on the checkout page where a customer can leave a comment/instructions that can be tied to their order?
5
votes
2answers
896 views

Cancel the orders which are older than 3 days

I'm trying to execute cron job after customer click place order button and redirect to success page. So the purpose of my job, if admin did not respond the order in 3 days, the order status will ...
5
votes
10answers
17k views

Magento 2: An error occurred on the server. Please try to place the order again

When user want to checkout sometimes i got below message. After correction of Billing & Shipping Address Sometimes user able to place order some times not. Due to this customer not able to order....
5
votes
3answers
10k views

Magento 2: how to call checkout session in controller?

Please anyone tell me, how to call checkout session in module's controller? this method doesn't work for me <?php namespace Demo\Demo\Controller\Demo; class Demo extends \Magento\Framework\App\...
5
votes
2answers
1k views

Does Paypal Express not dispatch checkout_submit_all_after event? If so how can I make it do it?

I have several modules that rely on the checkout_submit_all_after event and when users checkout using Paypal express it seems none of their observers run. How would I go about fixing this?
5
votes
3answers
7k views

Edit “Your credit card will be charged for” on onepage checkout to show desired currency

I think the picture is explaining the problem. I did a research and I simply have not enough time to create another 4 stores and set over 200 articles again and again. I would agree on removing the "...
5
votes
1answer
2k views

Magento 2 Add text in checkout page via XML

I'm trying to add custom text in checkout page via XML. I have my custom checkout_index_index.xml file with this inside: <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="...
5
votes
2answers
415 views

How to pull products from a category on an extra check-out step I already have?

I installed a plugin to add an extra check-out step to present more cross-sell products from here: How to add a custom page with cross-sell products And it works great - the page comes up and loads ...