Questions tagged [checkout]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

How to Add a custom template for a form field street[0] on Checkout page?

I want to add a custom template for 3 fields on Checkout page(city, postcode and street[2]). I do how here - https://devdocs.magento.com/guides/v2.4/howdoi/checkout/checkout_edit_form.html For ...
0
votes
0answers
10 views

Set optionsCaption as preselected option with knockout js in dropdown list at checkout

I am trying to set the OptionsCaption as the preselected option in a dropdown list during checkout That's what it gives me so far. It selects the first item on the list instead. This is my code in js ...
0
votes
0answers
9 views

Cart page issues with js code

Uncaught TypeError: Cannot read property 'quoteData' of undefined at quote.js:33 at Object.execCb (0296d0f644f38fe0e0e3da5fa2b801de.js:1650) at Object.context.execCb (resolver.js:156) ...
0
votes
2answers
37 views

How to redirect to custom cms in magento2

When quote table or customer session destroy page is rediecting to cart empty page. I want to redirect to my custom cms page. how to do that? I used below code but not working: $this->...
0
votes
1answer
12 views

Collect quote totals at init checkout page and cart page?

i'm using magento v2.4.1. I tried to add the product to the cart programmatically using salesrule_validator_process observer, this is to add a product if a cart rule being applied to the cart: $quote =...
0
votes
1answer
18 views

Magento 2.3.5. Checkout - Custom attribute failed to save for logged in user

I have an issue with a custom attribute in the shipping address failing to save for Logged In customers when he clicks on "Add new address" in checkout. If he uses an already saved address ...
0
votes
0answers
8 views

Magento 2: Trigger reminder/followup email by customer's choice

I want to add an option(buttons) in the end of the checkout through which the client can choose: No reminder email (default selected) Receive 1 reminder email (in his language) after | 15 days| 1 ...
0
votes
1answer
20 views

Magento 2.4.2: In the checkout, the shipping cost doesn't change on user switching the country and entering the zipcode

I got a custom shipping module which I am trying to use to compute shipping costs for both US and Canada. In the module, I am calling FedEx Carrier class method to get shipping rates to Canada. The ...
0
votes
0answers
16 views

Error on checkout page

Recently, I have upgrade underscore.js library from 1.8 to 1.12. After this upgrade checkout page doesn't load shipping address and shows below error: I found this error line in JS template file: ...
0
votes
0answers
12 views

How to re-validate the coupons in magento2 before place an order

at the time of place order re-validate the coupon-code used in the checkout. If code has already been used, the customer should not be able to place an order. Error message should say "Valid ...
0
votes
0answers
34 views
+50

Why aren't CC numbers asterik'ed out?

Perhaps I've never noticed this or is it just my system? What's an easy way to apply the asteriks?
0
votes
0answers
12 views

I want to add additional Options to addtocart product when reorder in magento 2?

public function aroundAddOrderItem(CheckoutCart $subject, \Closure $proceed, $item, $qtyFlag = null, $data = [] ) { // Get Order Item $orderItem = $proceed($item, $data); ...
0
votes
0answers
4 views

Magento 2 checkout page Error on checkbox My billing and shipping address are the same function () { return Math.max.apply(null, this); } error

On checkout page while checkbox is checked I am getting error function () {return Math.max.apply(null, this);} this error is coming after the Street Address value and displayed after street address. ...
0
votes
0answers
26 views

Klarna payment not showing in Magento 2.4 frontend checkout page?

I am adding Klarna API username and Klarna API password and enable it. Then on going to checkout page it doesn't show on frontend. I am using Magento 2.4. Is there any issue with klarna with magento 2....
0
votes
0answers
11 views

Add checkout message based on Customer Group

I'm looking for a way to add a message on checkout page, based on customer group, by code. I would also like to add an extra step on checkout page for another customer group, I was able to add the ...
3
votes
0answers
78 views
+100

Magento2 checkout: add required checkbox, required validation not working

I am trying to add a required checkbox to the checkout summary of magento2, above the submit order button. I have managed to place the checkbox, but the order can still be submitted even if the ...
0
votes
1answer
26 views

Shopping Cart Not Working On All Pages

Please help. My online store's shopping cart is not working on all pages. I cannot go to the checkout page after I added an item to the cart, the store's cart is always empty. When I check the ...
0
votes
0answers
10 views

Make mandatory authorization on the guest checkout if the account exists

At the moment, if guest checkout is enabled, then the user can make an order without logging into an account if he has one. Because of this, orders are not linked to existing accounts if the user paid ...
0
votes
3answers
26 views

How to override stripe module?

I'm trying to override this template: vendor/stripe/module-payments/view/frontend/web/template/payment/form.html with app/design/frontend/Vendor/Theme/Magento_Checkout/web/template/payment/form.html ...
0
votes
0answers
10 views

Magento 2 - Braintree Googlepay button missing in checkout

I am trying to add braintree google pay payment method. But getting error in checkout page and google pay button is not showing any content. When I first enabled, it worked for few minutes then it ...
0
votes
0answers
3 views

Is there is a way to add Name of the product in place of Image in Cart and checkout page in Magento 2.4?

I want to add name of the product in place of image in checkout and cart page in Magento 2.4? Like to remove there is way or another but how to add name with some class on that place is the part which ...
0
votes
0answers
15 views

Php information on custom module for checkout page

I have created a working custom module that shows a message on checkout page following this solution https://stackoverflow.com/questions/56974955/need-to-write-a-custom-message-on-checkout-page-in-...
0
votes
0answers
30 views

Magento 2: from php plugin to js knockout in checkout

I have created a plugin on Magento\Shipping\Model\Rate\Result that should check on some conditions in the cart's contents. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
0
votes
0answers
57 views

Magento 2.4.2: how to add some charge(such as handling charge) to the FedEx shipping cost in the checkout page?

I would need to add some additional charge to the shipping cost shown by FedEx in the checkout page. In order to do this with custom code, I would like to know if there is an Magento event that gets ...
0
votes
0answers
10 views

Magento 2.4.2 checkout not page loading it sometime only show order summary

In magento 2.4.2 checkout page is not loading. Only order summary is loading. I have used swissup custom theme and there checkout plugin checkout screen-shot : https://www.screencast.com/t/WJLSy9a6e ...
0
votes
0answers
6 views

Checkout Page:Can numeric or alphanumeric values be put in region and city attributes and do these attributes have to be actual region and city names?

On the checkout page, can numeric or alphanumeric values be put in region and city attributes and do these attributes have to be actual region and city names or can they be any words we choose e.g. &...
0
votes
0answers
14 views

Order split based on product attribute reducing qty twice

I have integrated Magento 2 order split based on product attributes with help of this extension. https://github.com/magestat/magento2-split-order My plugin file is below. public function ...
0
votes
0answers
22 views

Modify name in checkout summary?

Magento 2.3.3 I want to add something to the name in the checkout summary. I have a custom checkout extension and it already comes with the DefaultConfigProvider class. In the afterGetConfig function ...
0
votes
1answer
13 views

Magento 2 - Removed Required From Last name on Checkout Page?

How to remove last name required validation from checkout page ?
0
votes
1answer
17 views

Without select shipping address , click on place order validation not showing Magento 2 checkout page

I have issue on place order without select shipping address or save shipping address ,click on place order validation not showing in page , showing error like below , how to handle this in Magento 2? ...
0
votes
0answers
16 views

Magento2 - Show delivery calendar by specific dates and timing on checkout page

I would like to show calendar with only specific dates and available timings. I have API data which includes specific dates with hours. I would like to show those dates in calendar and once select any ...
0
votes
1answer
13 views

Failed address validation With Automatic Customer Group Assigment enabled

So again i am badly hit by Magento today. I have enabled the "Automatic Assignment To Customer Group" for my VAT validation process to assign special customer group to those who has ...
0
votes
2answers
52 views

Magento2 : How to show custom notice message in checkout page on page load?

I want to display Custom Notice message in Popup on page load in Checkout page.
0
votes
0answers
63 views

Magento 2 default checkout page too slow

3 with default checkout but it loading too slow in that too rest/default/V1/guest-carts/W4tUoafhV2AvU8CeJcnlzuALWRqSzfE1/shipping-information and payment-information these api call taking time i ...
0
votes
0answers
21 views

JS error “Cannot read property 'timestamp'” at checkout after upgrade from 2.3.3 to 2.4.2-p1

I upgraded Magento 2.3.3 to 2.4.2-p1 and at the checkout it presents this error and just keeps loading the checkout. Uncaught TypeError: Cannot read property 'timestamp' of undefined at UiClass....
0
votes
1answer
17 views

Checkout cart suddenly is not working anymore

In the middle of the day after 2 months without deploying anything, my Magento 2 cart is not working, everyone that tries to go to the cart account sees an error 500, my server said it's probably a ...
0
votes
0answers
23 views

Checkout billing address same as shipping address

I have a question for when a client is logged in. If in checkout, I don't want my billing address to be the same as shipping, I have a select input to choose another one. But I want the design to be ...
1
vote
4answers
71 views

How to resolve the Unable save the extension attributes

I followed this link for creating the custom address field. I'm getting this error PHP Fatal error: Uncaught Error: Call to undefined method Magento\Sales\Api\Data\OrderExtension::setCustomerAddrId() ...
0
votes
1answer
17 views

checkout cart page stock status check in magento 2.3

How to check checkout cart page stock status in magento 2.3 my custom code add this file but not working <?php if ($product->isAvailable()): ?> <div class=&...
1
vote
2answers
75 views

Magento 2: display registration/sign in screen before checkout ONLY if specific SKU exists in basket

We have a project where in most cases we want checkout to be guest only However, if there is a particular SKU in the cart we want the registration/sign in box to be presented when they click through ...
0
votes
1answer
18 views

When I select the payment method and return back to the site, cart is cleared

When I select the payment method and return back to the site, cart is cleared. I am testing this on Mollie payments but it works fine for all payments. If I go to the payment page, select a payment ...
0
votes
0answers
15 views

Vertex Tax Calculation is really Slow on 2.4.2

Magento 2.4.2 - vertex module calculation is extremely slow which makes the entire website slow wherever there is a calculation related code like add to cart , Checking totals on Checkout process etc. ...
0
votes
1answer
19 views

Country and State not show in the checkout page

Country and State not show in the checkout page for magento 2.4.2 http://prntscr.com/12kf489 http://prntscr.com/12kf7cc Someone help me solve this issue? Thanks!
0
votes
1answer
30 views

How to call a function from a custom module on checkout page in magento 2

Guys I'm learning how to create modules in magento 2, and I have a doubt, how do I call a function that is in my controller in magento 2 ?. In the controller I defined a function that does one thing, ...
0
votes
0answers
15 views

Expected Shipping Date - Is it possible to get from magento 2 ? If yes then which table?

Is it possible to get the expected shipping date to get it from some magento table. I need to show this information in my invoice. Which table shows this information. Shipped by: FedEx Expected by: 2-...
0
votes
2answers
19 views

Loading icon for literally MINUTES after pressing Place Order - Magento 2.3.5

Magento 2.3.5 site that loads pretty quickly generally, checkout maybe a few seconds to load but that seems par for the course for Magento 2 However, the issue is that after pressing 'Place Order' the ...
0
votes
0answers
15 views

Billing address checkbox replace add button in magento 2

Checkbox hide and button click checkbox check and unchecked in billing address in magento 2.4 app/design/frontend/Vendorname/Themename/Magento_Checkout/web/template/billing-address.html <!-- /** *...
0
votes
0answers
21 views

Magento 2 Checkout page shipping address and billing address make to radio button

In onestepcheckout page i want to create one one address form select if shipping address and billing address. So i want make to radio button. Please help me. Thanks.
0
votes
1answer
16 views

Set value of knockout datepicker from another script file got Error

I'm using Magento 2.4.1 and i successfully add datepicker in checkout page like this: js file define([ 'jquery', 'ko', 'Magento_Ui/js/form/element/abstract', ], function ($, ko, Component)...
0
votes
0answers
9 views

How can I insert my custom checkout step form data when place order in quote table and in sales_order table in magento 2?

I create custom checkout step with my custom form in that I need to submit three extra field in quote table and sales order table. So, how can I submit this form data in that table when order place. ...

1
2 3 4 5
71