Questions tagged [checkout]

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

Filter by
Sorted by
Tagged with
5
votes
2answers
5k views

How to make the second address field required on checkout page on Magento 2

Magento 2 has a option to extend the address field up to 4 fields. This configuration can be found at: Store->Configuration->Customer->Customer Configuration->Name and Address Option and there ...
5
votes
2answers
7k views

Order Comment Just before Place order Magento 2

Is Default Magento 2 provide an order comment option just before placing the order? If not someone suggests me a good plugin or any custom method to do.
5
votes
1answer
169 views

Do I need to add shipping address every time whenever I place a new order in Magento 2 REST API?

STEP 1 - Using REST API I created a customer,And in address data I passed default shipping and billing true "defaultShipping": true, "defaultBilling": true, STEP 2 - In GET customer detail API ...
5
votes
3answers
4k views

How do I stop Billing Address being set as shipping by default?

I just want the My billing and shipping address are the same checkbox to be unchecked by default and let the customer see the form to enter a new billing address. I think the answer lies within this ...
5
votes
2answers
97 views

Fatal error on cart REST API calls: Cannot instantiate interface Magento\Framework\MessageQueue\ConfigInterface

I'm having issues on the cart page and checkout of my Magento 2.3.1 CE store. Most of the site is working totally fine but on the cart and checkout pages the shipping estimate and payment methods ...
5
votes
2answers
505 views

Error place an order with credit card payment method

In checkout section i try to place an order using a credit card payment method, my cc data is valid, but when i click place order button the page stuck at loading circle gif, and when i inspect ...
5
votes
2answers
3k views

How does the knockout-js part work

I still haven't figured how Magento 2 structures the knockout js part. For example how does the process work (step by step) of fetching the cart summary number. You can find this in app/code/Magento/...
5
votes
2answers
2k views

Custom Payment Method form block - can't display on checkout page - Call to a member function setMethod() Error

I get fatal error while setting up custom payment method block for checkout page `Fatal error: Call to a member function setMethod() on a non-object in app/code/core/Mage/Payment/Helper/Data.php on ...
5
votes
2answers
603 views

Is there a recommended way to temporarily suspend ordering?

I would like to prevent orders from being placed while an inventory update script runs. We utilize a 3rd party warehouse management system (WMS) that has the final say in whether or not a part is in ...
5
votes
2answers
2k views

Don't charge tax to certain countries but still charge full price

My client has a bit of a situation with his tax... Problem He charges tax at 20% to all EU countries and this tax is included in his catalogue prices. He doesn't charge tax to all other countries, ...
5
votes
1answer
1k views

One Page Checkout - Manually setAddress()

In One Page Checkout, the Billing class offers a setAddress(val) function that looks useful for setting the address that gets chosen when a user that has saved addresses selects one from the first-...
5
votes
2answers
3k views

Magento2 : How I can add Date of Birth field to customer address

As per Magento default "Date of birthday" is display in customer registration form. I want to show it on customer address form in checkout step. Any way to display it on customer address form. I don'...
5
votes
2answers
2k views

Checkout loader stuck

In checkout page loader stuck and spinning forever. There are no js errors in console. HTML of spinner looks like this <div id="checkout-loader" data-role="checkout-loader" class="loading-mask" ...
5
votes
2answers
2k views

Magento 2: Checkout page sidebar summary – display item size

In Magento_2_Installation/vendor/magento/module-checkout/view/frontend/web/template/summary/item/details.html, data-bindings (via the knockout js files) places the name and qty of the item to be ...
5
votes
3answers
2k views

Disable shipping method based on category

Currently I'm working on a new shipping method. I want this shipping method (pick-up at store) to be enabled for all categories, except for the category 'sale'. By category I mean the categories you ...
5
votes
1answer
3k views

Make discount rules for bundled products

What I am trying to do is applying discount ONLY to bundled product according to the quantity of the selections it has.My Bundled products have one option, checkbox with multiple simple products and ...
5
votes
1answer
103 views

Magento 2.2.5 checkout page summary discount row shows as expanded

In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded ...
5
votes
1answer
88 views

taxamo checkout throws currency_code validation error

**taxamo api checkout form integration into magento 2.x** : I am using taxamo api checkout form in magento 2.x. below is code. but throws error : "Validation failed {:transaction {:...
5
votes
2answers
3k views

Magento 2 checkout page where is coming from a order summary section's data in payment step?

Checkout page it displays order summary section.It has Product data displaying .Product infromation coming from Magento\Checkout\Model\DefaultConfigProvider.php and from getTotalsData() function if it ...
5
votes
1answer
461 views

How to override Checkout sidebar and set custom customer attribute in it with address()?

I have created Custom attribute for Customer and override sidebar and Add Static Label but how to add my custom attribute value in its address() ? I have not added that attribute as customer_address ...
5
votes
1answer
1k views

Add fields to shipping (and customer) address in checkout process

I know that I can add "Address lines" in Stores > Configuration > Customer Configuration > Name and Address Options > Number of Lines in a Street Address but the address is stored as a ...
5
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 ...
5
votes
1answer
983 views

Keep getting Integrity Constraint Violation on checkout/place order/complete order

Here's the problem. I have a constantly running script that adds/changes products' quantities and prices, based on an API from a foreign 3rd party CRM. (Required by the client). The synchronization ...
5
votes
1answer
5k views

Magento 2 - Custom UI Component on checkout page

I'm creating an extension that modifies the checkout page. What I want to do is create a custom textarea with some additional classes and a wrapper class. I used the default textarea UI Component as a ...
5
votes
1answer
711 views

Is there any known way to create a cart item that doesn't exist as a product?

I'm going to be receiving product data from multiple 3rd-party sources in a common format. Generally, I've seen this issue handled by either creating a product for each incoming item in the user's ...
5
votes
0answers
51 views

Magento2.3: Display Custom text on Shipping Address

I would like to add custom text whenever shipping country is Sweden, Ive created Magento_Checkout module in my custom theme and added a phtml file <div class="free-shipping-info" data-bind="...
5
votes
0answers
170 views

Magento 2.2 - add multiple new shipping address from checkout page

I want to add multiple new shipping addresses from checkout page currently Magento allows only one new shipping address from the checkout page
5
votes
0answers
296 views

No such entity with cartId = 0 on checkout page

Magento2 - Customer lost session occasionally on checkout page. After login when I go to checkout page it's shows me below error but after refresh 4 to 5 times customer session restore again but ...
5
votes
2answers
1k views

Sorry, no quotes are available for this order at this time | Magento 2

Sometimes i get this error on checkout shipping page with login users (random times): "Sorry, no quotes are available for this order at this time" the problem is that rest/default/V1/carts/mine/...
5
votes
1answer
1k views

Magento 2.2.1 Checkout page broken and Js fail to load error

I have installed Magento 2.2.1 and set up my custom theme but checkout page looks broken and consoles showing errors: Not sure how to resolve this issue. Need help how can this be resolved. How ...
5
votes
1answer
682 views

Pass data to child template in cart-items of checkout page

My site is a market place site where vendors(sellers can sell their product). Now i want to customize the to group items in cart by each vendor like this: http://prntscr.com/hmsam6 ...
5
votes
0answers
207 views

How to get custom table values into front-end checkout address section in Magento 2

For custom requirement, we are saving few values in our custom table with customer id and address id. We are trying to display those values in the checkout page address section based customer,address ...
5
votes
1answer
3k views

How to show error message in Magento 2 checkout page

I'm developing Magento 2 extension. I've added controller_action_predispatch_checkout event observer and trying to add a error message via ManagerInterface. events.xml: <event name="...
5
votes
1answer
558 views

How to pass value to Input KnockoutJS attr via xml

We are trying to pass placeholder value to input element via xml files. So far, the only solution we've found was modifying input.html from: <input data-bind="(...) attr: { (...) ...
5
votes
0answers
243 views

How to setup two PayPal Express Checkout in a store?

If the product is below a specific price, then use Paypal merchant account A, use PayPal merchant account B otherwise. Is it possible to configure like these in Magento 2.x? Or How could I achieve ...
5
votes
1answer
1k views

Magento 2: shipping methods not updated on changing of checkout fields

In the past when I fill one of the checkout fields then shipping method section under the checkout page refreshed and then updated like this: But now shipping method not updated by calling ajax (or ...
5
votes
0answers
2k views

Magento 2 Separate billing address

If a customer wants to change their billing address they have to untick the option My billing and shipping address are the same, a form then appears for them to fill in. How can I make this unticked ...
5
votes
0answers
884 views

CE 1.9.2 - Date of Birth validation at checkout not working [closed]

I cannot for the life of me understand what is happening with the Date of Birth field in Checkout or Registration. I've set it as Required under Customer Configuration, and have the date fields order ...
5
votes
0answers
2k views

Payment processes, but order doesn't show up in backend? [closed]

When somebody checks out on our store (options are Paypal or Credit Card) they get a receipt from the gateway and a more detailed invoice from Magento. We're copied on both. About a month ago, in the ...
5
votes
0answers
608 views

Strange front end calculation bug [closed]

Every once in a while this strange bug occurs. After all the desired products are added to the cart, on the checkout page the calculations don't make sense at all (see attached screenshot). The tax ...
5
votes
1answer
74 views

Magento 2, I Want to add or hide custom steps on checkout page

I have created 1 custom tab on the checkout page and it's working fine I follow below link to add the tab on cart page. Magento 2 - Add step on checkout Then after I have added a Create an account ...
4
votes
2answers
9k views

How to Remove “What is PayPal?” from PayPal option on checkout

I have set-up PayPal as an option on my store. And by default on the payment option selection page next to the PayPal logo there is text stating "What is PayPal?" that links to the PayPal website. I ...
4
votes
4answers
6k views

Magento 2 : Place Billing Address Above Payments Methods in Checkout

When using standard checkout in magento 2, I want to place checkbox with address above my payment methods: I think I have to meddle with knockout JS which I have no experience in. Anyone knows where ...
4
votes
2answers
5k views

set default value of city and state in checkout page - Magento 2.0.1

I need to limit area in checkout page. I need to set only one default option for the form field in checkout page. country: India state: Tamilnadu City: Chennai I can only achieve country from ...
4
votes
2answers
6k views

Remove postal code required

In Magento 2, at the Checkout, some fields are required. But for some reason the Postal code (postcode) field always has a red border and the 'required' notification below it. How do I remove this? ...
4
votes
2answers
10k views

Magento 2 How to add extra validation to check out address form?

I want to add a validation to the address form in checkout step to ensure the address input is alphanumeric and ensure the input phone number is numeric. How to add the validation? Thanks
4
votes
2answers
2k views

How to display company name on checkout page in Magento 2.1?

I want to display the company name from customer address on checkout page in Magento2.1 It should be visible in shipping address section as well as side bar. How can I do it?
4
votes
4answers
5k views

Magento 2 - How to change the SortOrder of the street address fields on the Shipping Checkout page

I am trying to reorganize the form fields on the Checkout Shipping step and having difficulty moving the Street Address field. I am not sure if I am referencing the street fields correctly in the ...
4
votes
4answers
5k views

restrict user to place order if ZIP (PIN/Postcode) code is not from pre define ZIP (PIN/Postcode) code list

One of our client's shipper allow shipping to only specific ZIP codes. So we do have list of allowed ZIP codes. We want to restrict user to place order on checkout page or cart page if shipping ...
4
votes
1answer
5k views

Magento 2 Discount Label and Amount are not showing on checkout cart summary?

I have created 10%off cart rule and then applied it. It's applying correctly but Discount Label and Amount are not showing in checkout cart. ** UPDATE ** When I'm changing my theme to default luma ...