Questions tagged [checkout]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

Add form fields to Checkout -> Payment&Review step

is there any tutorial, documentation or hints how to add a custom form to the Payment&Review step for my custom offline payment module in Magento2 checkout process and how to connect it to the ...
0
votes
0answers
19 views

Repeats the custom attribute

when I use this method to get custom attributes $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $_product = $objectManager->get('Magento\Catalog\Model\Product')->load($...
1
vote
1answer
286 views

Unable to create extension attribute for billing address in Magento 2

I have added custom field in magento checkout billing form, to get the value for field, I have added extension attribute <extension_attributes for="Magento\Quote\Api\Data\AddressInterface"> ...
0
votes
0answers
21 views

Magento 2 How to show total discounts on cart summary (including special price and catalog rules discounts)

Would it be possible to get a total discounted amount from a quote and add it as a total to the totals component in the cart and checkout summary?
0
votes
1answer
20 views

Magento2: How to hide the quantity box for a specific product on the checkout cart page?

I want to hide the quantity box for a specific products on the checkout cart page. I have referred this link Magento 2: How to hide quantity box for certain products which has only quantity? But it ...
0
votes
0answers
19 views

Magento 2.3.5 - Billing Address Under Shipping Address Checkout - Loading address book

We use the Tigren method to load the Billing Address Under the Shipping Address in the Checkout (https://www.tigren.com/billing-under-shipping-address-m2/) This almost work perfect, except the ...
0
votes
0answers
25 views

magento 2 checkout slow loading after all optimization done

The checkout page on our Magento 2 store is loading insanely slow. Does anyone know what causes this or how to fix this? I provided a screenshot of the chrome waterfall. As you can see, some files ...
0
votes
1answer
278 views

Magento 2.3.4 - at checkout: Something went wrong with your request. Please try again later

For some wired reason my Magento stopped working at checkout. As soon as I go to checkout I get that error. Shipping is not calculated anymore in the frontend, but it works in the admin when taking ...
4
votes
3answers
1k views

Weird behavior after login

I'm using Magento 2.0.2, I have this series of errors: In the Sign in page when I type in a wrong password I get redirected to the same page BUT I didn't see the expected "Invalid login" error ...
0
votes
1answer
32 views

I've uninstalled one page checkout now my site is down magento 2.3.4

When I visit the site I get a 500 error and this in the error log. [03-May-2020 16:00:57 UTC] PHP Warning: require(/home/magentos/public_html/vendor/composer/../iwd/opc/registration.php): failed to ...
3
votes
1answer
979 views

How to show all cart items in phtml file Magento 2?

What is the best way to show all the items/products that are in checkout/cart in a PHTML page? I have added a custom phtml page that shows some products, and also have a phtml page that want to ...
4
votes
2answers
3k views

How to remove required and non-required fields in checkout for Magento 2?

I need to remove some fields in Magento 2 in the checkout, for example fax and other. At the same time, i need to remove also some required fields, for example e-mail. In my place some old people do ...
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.
0
votes
1answer
290 views

Show my payment method as checked in checkout page in magento2?

I have PayPal express checkout payment, I configured it's working fine. But I want that payment checked as default after choosing the shipping method. Please tell me how can I achieve this...As per ...
0
votes
2answers
31 views

Why my checkout form accepts Russian characters?

I had an order with the details in Russian characters, so I'd like to block the forms to Alphabetic characters only, I thought that it would be native in Magento 2. How could I an user-friendly ...
0
votes
2answers
3k views

Edit View Cart Page

I'm trying to edit the View Cart Page, my theme has ab image block on the page that I'm trying to edit but I can't figure out which file I need to edit. more information when something is added to ...
3
votes
1answer
2k views

Magento 2 - Stuck Checkout loader and Javascript error

I recently upgraded from Magento 2.0.7 to Magento 2.1.2 After the upgrade, I keep running into this issue with a stuck checkout loader and the following javascript error message when I begin the ...
0
votes
0answers
11 views

PayPal Express - Error Display issue after redirection

I configured Paypal express in Magento commerce 2.3.4 After adding the wrong address from checkout when I click to "Continue to PayPal" It redirects me to the cart page showing "A match of the ...
2
votes
1answer
149 views

Magento2.3- Remove vat if vat number is present on checkout

I want to remove vat from checkout on run-time, If vat number field has some value. I am able to validate vat number on run-time on checkout (via this link Programmatically check VAT number is valid ...
1
vote
1answer
2k views

Magento, programmatical checkout not including shipping rates

I'm trying to write this script to checkout using the cart. The problem is that the shipping rates aren't being factored into the totals and when the order goes through the order details say there is ...
0
votes
0answers
43 views

Implementing Google reCaptcha v.2 with Gene_Braintree module

Magento version EE 2.3.3-p1. I was wondering if anyone out there has implemented core Msp_Recaptcha at checkout when using the BrainTree or Gene_BrainTree modules. We've been hit HARD by carding ...
0
votes
1answer
20 views

Set input length for checkout form magento 1.9

How do I go about setting the character length for input forms, preferably checkout, on magento 1.9. I'm aware that Magento has a MaxLength variable but am Unsure on how to implement it.
0
votes
1answer
19 views

Constr is not a constructor on layout.js line 137 error

This error is shown in my console after when the customer is logged in and by this checkout page is not working without customer logged in checkout page working fine.
-1
votes
2answers
89 views

magento2: How to get address' region while checkout selecting address

use Magento\Quote\Model\Quote\Address\RateRequest; $destCountryId = $request->getDestCountryId(); $destState = $request->getDestRegionCode(); $destCity = $request->getDestCity(); ...
0
votes
1answer
27 views

How to add external js script in block via requireJs?

What is the simplest way to add external js script like: https://sandbox-geowidget.easypack24.net/js/sdk-for-javascript.js on my page? I've created block which i render on my product page. But i get ...
2
votes
1answer
706 views

Magento 2.1 : How can I save a shipping address using the REST V1 API

I'm trying to save just the shipping address using the REST V1 API of Magento 2. I know there is an endpoint to save the billing-address, but there seems to be lack of a way to save the shipping ...
1
vote
3answers
3k views

Magento 2 checkout: How to trigger shipping methods block update programmatically?

I've seen the What Programmatically Triggers Magento 2's Shipping Rates to Update question, and also read related @AlanStorm's post on his website, but I still don't understand, what I need to add ...
0
votes
0answers
21 views

How to update the QTY on the default checkout of magento2?

I have customized the maegnto2 default checkout, and I want to update the qty on it, and the price, subtotal and shipping etc should auto update when we update the qty . qty update should work like it ...
1
vote
1answer
34 views

Magento 2: Disable checkout

I'm slowly setting up my shop. All products are available to view and shop is enabled for external visitors, for SEO purposes. However I don't want to sell anything right now. What is the easiest ...
6
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="...
1
vote
1answer
1k views

How to refresh shipping and billing address after checkout page load just like shipping Rates refresh using Knockout Js magento 2

Hi guys, i want to refresh shipping and billing address after checkout page load using Knockout Js magento 2. If you guys have any idea please guide me. Please check the code i tried below ...
0
votes
0answers
19 views

New order admin notification magento 2

Place order email notification for admin. By default order option is used for order confirmation. ie Stores > Settings > Configuration > Sales > Sales Emails > order used for order confirmation. In my ...
0
votes
1answer
27 views

Magento2.3 Hide new address form button on checkout page based on customer groups

I want to hide this new address button based on customer group. I want to use conditions for hiding that button. If anyone knows please let me know. Check this still loadind and console.
0
votes
0answers
20 views

Magento 2 error : Uncaught TypeError: Cannot read property 'quoteData' of undefined

In my magento 2 Onestep Checkout page in not displayed because of error. I am not recognizing the cause. file path is pub/static/frontend/Vendor/mobile/en_US/Magento_Checkout/js/model/quote.js Can I ...
0
votes
0answers
9 views

How can I change the way Magento shows custom address attributes in the payment section?

I created a new custom address attribute with input type "dropdown" and filled it with options. When I create a new address and choose one of the dropdown options and go to the payment section my ...
1
vote
0answers
13 views

How to set shipping address same as billing address on change shipping address from options magento 2?

i want to set billing address dynamically as per the change of shipping address magento 2. In checkout page "same as shipping" checkbox is there & its also checked still changing the shipping ...
2
votes
1answer
50 views

How to get shipping address from quote object in custom js file magento 2

I want to apply a functionality that enables , dynamic billing address to be changed as per changing shipping address in checkout page magento 2. How to get shipping address from quote object in ...
1
vote
1answer
333 views

Magento 2.X credit card Authorize.net using as set sandbox after place order but checkout page getting error

I am using Magento2.3.1 and I have to use payment method credit card authorize.net and right now I set payment method as sandbox mode after place order all fillup information correctly but getting the ...
0
votes
0answers
24 views

Magento 2.3 How to hide field on checkout page based on customer group

I want to hide company field on checkout page based on the customer group.
0
votes
0answers
21 views

how to set quote shipping address to quote billing address on change shipping address in checkout page ? magento 2

I have a requirement to set the billing address as per shipping address on change the shipping address , Any idea how to achieve it ?
1
vote
0answers
1k views

How to move “Place Order” button from “Review & Payments” to custom step in Magento 2 checkout?

I have created an extra step in Magento 2 checkout page and put custom steps after the "Review & Payments" step. Now as you can see there is the "Next" button on my custom step. I want here the "...
0
votes
0answers
23 views

I am getting 0 prodcut price whwn I add in my Cart fro admin panel

Whenever i am trying to add product in cart from admin panel its getting 0. I don't know why because it was working fine earlier.
0
votes
0answers
21 views

Transfer values from product view to checkout

I have customized the Product View page with different settings. For example, the customer can choose whether he wants a special delivery type or how long he needs the device. The selection also ...
0
votes
1answer
35 views

Magento 2 Check out as legal entity

I am a beginner in Magento, and generally at using any CMS, so maybe some of these may seem obvious to you, but are not obvious at all to me. What I need to do for my shop is create a system where, ...
1
vote
0answers
12 views
0
votes
1answer
752 views

Removing Country and RegionID from Estimates and Tax

I am working on the checkout a lot currently, but I cannot figure out how to exclude Country and Postal code from the Estimate Shipping and Tax. There are a lot of other suggestions and solutions ...
0
votes
1answer
57 views

How to fix “default.js:70 Uncaught TypeError: Cannot read property 'method_code' of null” Magento 2 checkout page error

On checkout page , this error comes up "default.js:70 Uncaught TypeError: Cannot read property 'method_code' of null" how to fix it? or get the value of 'method_code'?
0
votes
2answers
2k views

Magento 2 checkout session

Is there any way to store checkout custom field data to checkout session? If possible how can I retrieve data? Created an event <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
0
votes
1answer
56 views

How to hide payment method based on billing address country ? Magento 2

Plugin to hide payment method based on billing address country ? Magento 2
0
votes
1answer
1k views

How to add extra checkout step in Magento 2

I am trying to add extra step in Magento checkout but it is not working at all. I don't know what the wrong I am doing. Here is what I have done so far. app/code/Vendor/ModuleName/etc/module.xml &...

1
3 4
5
6 7
68