Questions tagged [checkout]
This tag should be used for questions related to the Magento checkout process.
3,566
questions
0
votes
0
answers
8
views
standard magento one page checkout, not in 1 column magento 1.9
I'm trying to leave the checkout in just 1 column, but whenever I use the xml, the side column of progress still appears. He is still using 2columns-right.phtml. Why can't I leave the default checkout ...
0
votes
0
answers
8
views
How to create a registration form in standard checkout magento 1.9
I need to create a user registration form in magento 1.9, but on the magento checkout page, and register the user at the end of the purchase. But I don't know the correct way to do this working in ...
0
votes
0
answers
18
views
Reorder checkout shipping address form fields
I would like to reorder the checkout form fields in following order
First Name
Last Name
Email
Phone number
Custom field - opt-in
and then the rest of the fields.
I can reorder other fields in ...
0
votes
0
answers
5
views
How to run a JS code as soon as a user logs in through checkout. Magento 1.9
Guys I need to run a code as soon as a user logs in through checkout. But I'm not getting it, precisely because it sends a request to "/customer/account/loginPost/" and the return is a ...
0
votes
0
answers
6
views
Magento 2: LastRealOrderId is missing in checkoutSession
I am facing this weird issue on the checkout page. We are using 3rd party payment module, which redirects customer to the payment page after placing order in Magento. In the controller, it tries to ...
0
votes
1
answer
57
views
Error message "Some of the products are disabled" on checkout
I am facing a very strange error message on checkout level on our Magento 2.4.4 instance with products with quantity below 1 and this only for customer group "Not logged in"
When checking ...
0
votes
0
answers
21
views
Magento 2 how to show newsletter box on checkout success page
We are using Magento 2.4.0 version.
We are able to show the Newsletter box on the checkout success page but after submitting the email it is redirected to an empty shopping cart.
That code we are ...
0
votes
0
answers
10
views
How to add add to cart with ajax to custom phtml
I have to add add to cart button on homepage. I have custom phtml in my own module. I would like this button to work with ajax. Could someone please suggest something?
0
votes
1
answer
25
views
In Magento2, Region/State is not showing on address in checkout page
I'm barely new to Magento2 and Magento in general.
The version I'm using is ----> 2.4.3-p1
I'm facing this issue: when I add a new Address in checkout page, it doesn't show the Region/State field, ...
0
votes
0
answers
10
views
Set region id null on checkout
I'm trying to save region id as a null value after clicking next from shipping tab to the payment tab on the checkout page.
I have used the below file to setRegionId() which is working fine if I add ...
0
votes
0
answers
30
views
Skip billing and shipping form on checkout page. Or allow view only address
I am developing a B2B shopping cart website. The billing and shipping address is managed by another system and Magento will receive an approved address. Thus I do not want to allow customers to fill ...
0
votes
0
answers
24
views
Magento 2 Upgrade 2.2.8 to 2.3.5 region name and city name is empty on checkout payment page for guest users
After upgrade Magento 2 (2.2.8 to 2.3.5) i am getting some errors and bugs, one of those is on checkout payment page, the region name and city name is empty for guest users, for example:
URL /checkout/...
0
votes
1
answer
25
views
magento 2 add span tag in price
I am facing an issue with Magento 2 checkout success page.
I have added API for SMS to receive final SMS about the order and when SMS is received its showing the "span" stage around the ...
0
votes
2
answers
19
views
Magento 2 Checkout that would better fit the order flow for a flower shop?
Magento 2.4.2-p1
Smartwave Porto theme
extensions from Amasty including their One-step Checkout
I have a flower shop/gift shop and the default Magento checkout does not really fit our needs. We ...
0
votes
0
answers
6
views
Migrated store, paymet loop
I am kind of stuck, i have migrated my website from Magento 1.9.4 to Magento 2.3.5-p2
Now i am having the following issue, a new customer or guest can order just fine.
However when a existing customer ...
0
votes
0
answers
28
views
Magento 2: How to get custom shipping address fields value from collectRates function in custom shipping method?
I'm working on a custom shipping method and I need to get the value of 2 custom fields(latitude & longitude) from the shipping address, in collectRates function of the shipping method. I used this ...
0
votes
0
answers
8
views
hi how estimated-shipping-methods configure?
when I change the country in the frontend example from country A to Country B the country_Id of estimate-shipping-methods still country A how can I configure it based on country selected in frontend ...
0
votes
0
answers
26
views
magento 2.4 hide custom address attribute from billing address only
I've created a custom address attribute via \Setup\Patch\Data and it's showing correctly on address forms, both on customers and checkout. However, I'd like this attribute to be shown in shipping ...
0
votes
0
answers
30
views
How to override with mixin my multisafepay credit-card-component js
I'm trying to override one method from the Multisafepay Payment Module.
// vendor/multisafepay/magento2-frontend/view/base/requirejs-config.js
let config = {
map: {
'*': {
...
0
votes
0
answers
8
views
magento 2 checkout page isn't working
I am facing an issue with Magento 2 website. The checkout page isn't working the spinner is loading continuously. And on the backend, the side menu isn't opening.
https://www.refurbishedlaptops.co.uk/...
0
votes
0
answers
43
views
Magento2 - How to move Cart Items below the Order Summary on checkout page?
I want to show cart items outside the order summary section on the checkout page.. (e.g - at the bottom of every section in sidebar like - order summary, shipping-information)
See my code but it's ...
0
votes
1
answer
24
views
Check out without payment
I am not a developer. We have a client who wishes customers to order via a Magento 2 website we have implemented but wishes to bill them for payment offline. How is this best achieved in terms of the ...
0
votes
3
answers
64
views
Magento 2.3.5-p2 with Stripe Plugin 3.0.0: New order emails being sent twice
Checking out with Stripe plugin for magento (ver 3.0.0) on Magento 2.3.5-p2 sends out 2 "New order confirmation" emails with the same order number, no invoice email gets sent.
Tried checking ...
0
votes
2
answers
30
views
How to extends checkout-loader.js
I am using magento 2.3.5-p2
I want to add an event without modifying the core codes of checkout-loader.js which are located here
vendor/magento/module-checkout/view/frontend/web/js/checkout-loader.js
...
0
votes
1
answer
24
views
Update quote totals based on the VAT rate
In the checkout in the country_id dropdown, I have 2 countries: FR and BE.
For FR I have a VAT percentage of 20% and for BE I have 21%.
My goal is to update the tax amount in the checkout.
When I ...
0
votes
0
answers
19
views
Issue on hiding payment method in magento 2?
I have a customer requirement to hide CASH ON DELIVERY.
I followed the below steps.
events.xml
<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
0
answers
21
views
Wrong order of checkout steps after updating to 2.4.3-p1?
After I did an update to 2.4.3-p1 from 2.2.8 the checkout steps are in the wrong order. Normally you have shipment and the next step is payment.
In my store, its the opposite, first comes payment and ...
0
votes
0
answers
17
views
Split Database with Foreign key from another Database
I am using Split Database, where I have created 3 parts:
Default
Quote
Sales.
I have created one Table using db_schema.xml file from that I am creating an custom table, but I want to add a Foreign ...
0
votes
3
answers
65
views
CSP Refused to load internal resources on cart and checkout - Magento 2.4
We get a lot of [Report Only] Refused to load because it does not appear in the script-src directive of the Content Security Policy. errors in the browser console in the cart and in the checkout.
We ...
0
votes
0
answers
7
views
Adding an input to all payment methods in checkout: accessor error
I'm adding a custom input to the checkout place order.
The input appears in the payment so this seems to be fine but it's not.
When trying to place the order i was having this error :
Message: ...
0
votes
0
answers
9
views
Magento 2 Checkout now showing steps in wrong order
Magento started randomly showing the steps for checkout in the wrong order, preventing the user from proceeding as it requires them to "place order" as the first step with submitting ...
0
votes
0
answers
9
views
Change the cart summary title
This is from the core, location file:
vendor/magento/module-checkout/view/frontend/layout/checkout_cart_index.xml:155
and the content:
<item name="shipping" xsi:type="array">
...
0
votes
1
answer
48
views
Gift Card Quote Item Prices are NULL in cart related events
I want to do some customization when a gift card is added to cart so I have created a module observer with event checkout_cart_product_add_after, I am getting the product id, product type on the quote ...
0
votes
0
answers
21
views
Problem moving gift message to checkout (Unable to advance to second step of checkout)
I am working on Magento 2.3.5-p1. I need to move the gift message block to the checkout just after the shipping address and before the shipping methods, for this I have followed the steps in this ...
0
votes
0
answers
17
views
Add name to input field in the checkout
Hi I use this module EaDesgin/Magento2-City-Dropdown and I observe that the "name" for the input is missing. the value name="" is blank. How I can add the name for the city or a ...
0
votes
0
answers
10
views
skip user to go to checkout page in magento 2 for a downloadable product
one of my site i have the only Downloadable Product in which has price "zero " so billing & payment step is not needed that's why i completely want to skip the checkout step
as i have ...
0
votes
1
answer
15
views
How to change address field labels on the payment / billing page?
I needed to change the street field label on Magento checkout shipping page. According to Magento documentation, the best practice is to use LayoutProcessor Plugin.
I successfully changed the labels ...
0
votes
0
answers
32
views
Keep new step of checkout fields value after refresh the page in magento 2.4.x
I have a question on how to keep the filled value of the new step checkout fields in Magento.
I create a new step as the instruction:https://devdocs.magento.com/guides/v2.4/howdoi/checkout/...
1
vote
1
answer
33
views
Magento 2 : Disabled product is removed from the cart
I want to set a message when a disabled product is removed from the cart. Does anyone have any idea about it?
0
votes
0
answers
13
views
Show minicart in both header and footer magento 2
I'm trying to show minicart in both header and footer. I have added a new phtml in footer layout and added below code.
<?php echo $this->getLayout()
->createBlock('Magento\Checkout\...
0
votes
0
answers
34
views
Can't place order after migrating orders from magento 2.2.1 to magento 2.4.3-p1
I recently migrated the orders from magento 2.2.1 to magento 2.4.3-p1. after migration I tried to place some orders but I get the following error.
#0 /var/www/html/generated/code/Magento/Quote/Model/...
0
votes
1
answer
47
views
Checkout next button not going to custom step
I'm using Magento 2.4.3-p1. I have created a custom checkout step according to Magento's tutorial here: https://devdocs.magento.com/guides/v2.4/howdoi/checkout/checkout_new_step.html
My step is in ...
0
votes
0
answers
27
views
Multi currency site show a 0 price only in the magento2 checkout page
I installed a fresh version of magento2 with the simple data, test the payment in USD using the cash on delivery, and the payment was fine.
I added more currencies KWD, EGP, and EUR. Then configure ...
0
votes
0
answers
4
views
How to show 0 VAT for customer which have a VAT number on checkout in Magento 2
Is it possible to show 0 vat for a client when he add his vat in vat field on checkout in magento 2.If he does not provide vat in vat field, he will be charged vat in checkout total as vat like 21%.
0
votes
1
answer
17
views
Custom Knockout template not picked in checkout - Magento 2
I wanted to show a message on checkout page (above the 'complete checkout' button) only if customer is on certain store views (id_id or id_en). Here what I have done so far. Please help me to find ...
0
votes
0
answers
11
views
Shipping method is missing
In order to understand why an activated shipping method in my admin is not displayed in checkout front page.
I would like to investigate the magento method that returns all the shipping methods in ...
0
votes
0
answers
22
views
Magento 2 how to add VAT id in selected shipping adddress
I'm trying to show the vat id field in Magento 2 selected shipping address section. The Field is added in the form and also added in the quote_address table.
I have checked the below file
/var/www/...
0
votes
1
answer
28
views
Remove Tax from checkout based on VAT ID
Once the VAT ID input is filled with a value, an ajax is triggered validating the VAT.
In that moment I would like to remove the tax from the checkout and update the totals.
I've been trying to do ...
0
votes
0
answers
10
views
Magento 2 exclude a product from UPS shipping but not from flatrate
For Magento 2 we have created an attribute to exclude that product from shipping methods and that product that is excluded will have an individual shipping price on it.
For example, we have 2 products ...
0
votes
2
answers
157
views
magento 2.4 change input field based on selcted country in shipping address form
I need to show/hide a magento input field (so NOT a custom field) based on the selected country in the shipping address form. Shipping address form is in two places: the customer account address book ...