Questions tagged [checkout]
This tag should be used for questions related to the Magento checkout process.
3,579
questions
0
votes
1
answer
3
views
How to Autofilll custom attributes field in checkout address for logged customer in Magento 2
I created custom attribute fields like DOB, and gender on the checkout page. If you see in the screenshot birthday is a custom address attribute.
I tried to fill the attribute field(custdob) in two ...
0
votes
0
answers
11
views
Delivery Methods in checkout page
I am able to configure the shipping methods rates in the Magento UI logged in admin user. The same shipping details appear in the customer checkout page when creating the new order.
The below links ...
0
votes
0
answers
11
views
How to show system admin configration message on checkout?
I have created system.xml file and passed value from config.xml file want to show that value message on checkout page.like this
0
votes
0
answers
9
views
Cart update qty performs two requests to controller magento2 why
Using Magento 2.4.1
While updating quantities from cart page, 2 request were made
updateItemQty and 2. updatePost
But why? what is the use of sending request to updateItemQty first before updatePost....
0
votes
0
answers
15
views
One Page Checkout won't go to the second step in Magento 1.9.x
I moved my client's old magento website from one server to another but now the one-page checkout won't work.
I'm getting the following error when I press "continue" in the "Billing ...
0
votes
1
answer
78
views
Change Checkout Billing Address dropdown to list view
I want to change billing address drop down in checkout page similar to shipping address view list template.
I have tried the following code in
app\design\frontend....\Magento_Checkout\web\template\...
0
votes
2
answers
30
views
Magento2 how to show header and footer in Luma basic checkout?
I'm using Magento2, Hyva-Themes, and I've enabled the checkout from admin with this path frontend/Magento/luma.
Now here, I can show header and footer from admin, but they are the default header and ...
0
votes
0
answers
9
views
Checkout forgets delivery method (custom carrier)
Like the title stated.
We've created a custom shipping module, it's quite basic and works like it should.
However, when I continue to the checkout it seems to forget it and select another shipping ...
0
votes
1
answer
16
views
Adding Card details input in Custom Payment Method showing Error. Magento 2
I'm creating a simple Custom Payment Method for that I've created an Extension which is working fine but I need input boxes for card details This but now I'm facing an issue
on checkout it need to ...
0
votes
1
answer
57
views
How to add Custom attribute on minicart?
I need to display custom product attribute in mini cart for each product in the cart. How to get attribute value. please see below screenshot.
https://prnt.sc/-99NK5eeFgAZ
Thanks,
Kiran
0
votes
1
answer
21
views
carts/mine/estimate-shipping-methods-by-address-id returns me 404
In my local environment, when I go to checkout, it throws me an error, and reviewing the console, I detected it is caused because the call to this endpoint returns me a 404:
carts/mine/estimate-...
0
votes
0
answers
16
views
validate textarea in step two, depending on the delivery method chosen in step one
Add a shipping method for checkout. I did this part well, I added the shipping method in step one, the problem comes later. when in the #payment there is a textarea in step two and I want to validate ...
1
vote
1
answer
60
views
How to add simple text to payment step Onepage checkout page
Which file should i edit to add text underneath all the payment methods.
Magento ver. 2.4.2-p1
http://mydev.test/checkout/#payment
this Answer not work for me: Answer
0
votes
0
answers
22
views
Magento Region is not shown after address save in the checkout
I faced with the situation, I can't see the region when I saved in Checkout Addresses step.
I can't see region value being saved in the estimate-shipping-methods request:
Basically, the problem ...
0
votes
2
answers
30
views
How to show region code instead of names
How to show state codes instead of names in the state dropdown on the checkout page.
0
votes
0
answers
9
views
Upsell and Cross sell with page builder
I need to add upsell and cross sell products to checkout page using adobe sensei , I thought I can do this using page builder option. But I couldn't use this option Is this option available for upsell ...
0
votes
1
answer
19
views
How can i show shipping address and shipping method on virtual product too?
How can i show shipping address and shipping methods on virtual products ?
If i am doing hide check of isVirtual in Magento/Catalog/Model/Product it will then treat like simple product.
I want to use ...
0
votes
1
answer
31
views
Convert City field from text to Drop Down in billing address at checkout
i want to convert city field from text to select or drop down. i have tried many ways but unable to implement it. I want to convert city text field to select and want to show custom city option how ...
0
votes
0
answers
12
views
Magento2 checkout page gets broken if logged in?
I'm in Magento2, and I've build up a new theme for the checkout.
I've added a new step:
In app/code/Checkout/NewStep/etc/module.xml
<?xml version="1.0"?>
<config xmlns:xsi="...
0
votes
1
answer
20
views
Unable to retrieve the qty updated product value in the cart using Observer
I am trying to get the cart item value once the qty updated in the Cart page for the specific Item. Have used the below code to get the value, But the event triggered still its showing the old value.
...
0
votes
0
answers
11
views
Save shipping address after setting it by jquery
After setting shipping address by jQuery:
$('input[name=city]').val('test city');
But after setting it and going to payment, city is not saved.
Tried triggering keyup on this field but it is not ...
0
votes
1
answer
16
views
Magento checkout payment page add custom field
I need to add custom fields in the payment step of the checkout page in Magento 2 and also data should be saved in needed tables.
I want to add a payment comment note before-place-order.
how to do it ...
0
votes
0
answers
24
views
Customer Session Reload in Checkout
I want do reload customer session to get updated shipping address from table 'customer_address_entity' ,
Tried =>
customerData.reload(['customer'], true); => getting non updated values entities
...
0
votes
1
answer
31
views
change jsLayout html template
How can i change the jslayout html template to be phtml so i can call other blocks in it?
first i have requirejs-config.js below code
var config = {
"map": {
"*": {
...
0
votes
1
answer
14
views
Include shipping on quote item not quote
What I'm trying to achieve
During the checkout, if the customer has a Bike item in their basket, we want the shipping cost to be added as a product option to the cart item as opposed to being added to ...
0
votes
0
answers
18
views
How to override custom checkout less variables?
In Magento2 I've created a new theme for the checkout, with Magento/blank as parent.
I want to start editing the style for that page, so I've created a _theme.less file in app/design/frontend/<...
0
votes
0
answers
40
views
Magento 2 checkout returns "Shipping address is missing. please try and again"
In magento 2 checkout,"Shipping address is missing. please try and again" error getting thrown in "set-payment-information" call
this happens only when the page is loaded first ...
0
votes
1
answer
25
views
Magento 2: How to make PO number optional using custom module?
I have to make the PO number as non required field using custom module and not in the theme level as we are running our website as a hybrid model. When I refer for solution, I am getting to make the ...
0
votes
0
answers
15
views
magento2 billing address form street filed validation not working
// Street address
$jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children']
['shippingAddress']['children']['shipping-address-fieldset']
...
0
votes
1
answer
29
views
How to Add Cart Price Rule Condition in Coupon Code Programmatically in Magento 2.4.0?
I want to add Add condition in Coupon Code : If Email is subscriber@gmail.com
Please check attached screenshot:
How to i'll do this programmatically. Please check my code everything is working fine ...
0
votes
0
answers
23
views
Add custom checkout button in specific places
I want to add a custom checkout button in minicart but not in product page.
I followed Paypal in vendor/magento/module-paypal/Observer/AddPaypalShortcutsObserver.php
$shortcut->...
1
vote
0
answers
68
views
Magento 2 : The shipping method is missing. Select the shipping method and try again
There is an issue with the checkout page. On the checkout page, when i fill the shipping address then select the shipping method and click on the next button it redirect to the payment page. But when ...
0
votes
1
answer
30
views
Reset billing address to default address
I'm trying to (re)set the billing address to the customers default billing address after receiving an order (this is for B2B clients which are not allowed to change their billing address). To do this, ...
0
votes
2
answers
78
views
Send Custom Data to quote table
I am new to magento 2. I have created a custom checkout step where user can select delivery day and time via dropdown. Dropdown options are coming from system.xml via customConfigProvider after seller ...
0
votes
0
answers
23
views
Should Magento clear "selectedShippingRate" when products are removed from cart?
After adding a "Click & Collect" product to the shopping cart, the variable for "selectedShippingRate" is stored in "Local Storage > mage-cache-storage > checkout-...
1
vote
1
answer
121
views
How to get Data from system.xml file
I created system.xml file where seller can select multiple options (e.g Days of the week). Now i need to use that data in checkout page as . Where customer can select one option (e.g any day from ...
0
votes
0
answers
11
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
17
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
25
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
10
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
14
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
86
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
28
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
20
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
269
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
38
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
41
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
33
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
33
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
3
answers
25
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 ...