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
9 views

Checkout Page :- Auto populate city and state is not validate while entered the pincode

I am trying to submit the form when the data autopopulate and set the data in prespective fields, But it gives error at time of validate from knock out js it give city and state field is a required ...
0
votes
0answers
4 views
0
votes
1answer
888 views

How to change product name after add to cart magento 2

How to change the name of the product, when adding a product to the cart using observer in Magento 2 I use the following code: $item->setCustomPrice($specialPrice); $item->...
0
votes
1answer
992 views

Magento how to update billing/shipping order before place order for guest

Magento how to update billing/shipping order before place order for guest. I know what observer event I need to use and familiar with it. What I want to know is how to get billing/shipping or and ...
0
votes
1answer
15 views

Magento 2 - How to write data to window.checkoutConfig from PHP?

I created a new shippping method, I need to generate data and pass it to the window.checkoutConfig javascript object. Normally you do this by implementing the ConfigProviderInterface from vendor/...
0
votes
0answers
20 views

Restore Checkout Session Data in magento 2

We are facing a session issue when returning from payment gateways(CCAvenue). It's treated as a new session on the recent version of Chrome, edge. So, we are trying to create a session after getting ...
0
votes
0answers
5 views

Order invoice in checkout

When we are in checkout I can't find the location where is created the invoice from the order. I've manage to handle my custom invoice when we save the order in the admin. Now I need to do it in the ...
4
votes
2answers
2k views

add custom js to the certain input element on the checkout page

My final goal adds custom js to the certain input element on the checkout page what i tried To get element with uiRegistry and on redner add needed code, but failed, i can work with tjis element ...
6
votes
1answer
2k 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 ...
3
votes
2answers
3k views

Add placeholder and remove all labels in Magento 2 Checkout

Searched a lot but didn't found anything removing the Lables like "First Name, Last Name, City, Address, Email, Phone etc" Add Placeholders in all "shipping fields" and "sign In" places. After ...
0
votes
1answer
18 views

Magento 2 - Pass data to checkout during runtime

I created a new carrier method for express shipping. I need to show a dynamic message which I am generating based on the products in the cart. There are some product categories which are not allowed ...
4
votes
1answer
1k views

Magento 2 : Filter dropdown value by other dropdown value : (Chained Select Boxes) in Checkout page

I try to do dropdown option filter and autofill postcode. for select step are Country > City > State/Province > District > autofill postcode What I have done convert city textbox to dropdown and ...
0
votes
1answer
1k views

Magento 2: Change UI template

For the checkout, I would like to use a different UI template to that which is used on the cart. Currently, they both use the same UI template: <item name="template" xsi:type="string">ui/form/...
2
votes
1answer
800 views

Delete operation is forbidden for current area error when creating account from checkout success page

When creating an account from the checkout success page the following error is shown. "Delete operation is forbidden for current area" Console shows: Failed to load resource: the server responded ...
0
votes
0answers
9 views

How to preselect the default shipping address during checkout in magento 2

To reproduce the issue during checkout The default shipping address is not pre-selected at the checkout page, instead of fetching the shipping address, it fetches the default billing address or some ...
0
votes
0answers
8 views

Magento 2: Add full name field to checkout billing address

I need to add a new fied "Full Name" to checkout billing address form. I have already added this to shipping address by following this: Use new field "Full Name" to replace "...
0
votes
0answers
12 views

Magento 2.3 Customer specific price gets overwritten with original price when entering checkout

I have a problem from which I really can't wrap my finger around what the cause is. I made an extension in which on the frontend the product price gets updated with customer specific prices that are ...
1
vote
1answer
800 views

Magento 2: Shipping method radio button is disabled

In checkout page of Magento 2, all enabled shipping method radio buttons are showing as disabled. Anybody have faced such an issue? I used latest version: 2.1.3
1
vote
1answer
33 views

How to auto populate city and state on checkout page while entered the pincode in magento 2?

Hello Folks, I am new in Magento 2, I am adding some custum code for changes on checkout page to auto populate the city and state while entered the pincode. Can you help me which js file should I ...
0
votes
1answer
618 views

The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly Error

When I try to complete the checkout by paying with Hosted Payment Form (mastercard module) I get an error 400 Bad request. I was reading the exception.log file and I found an error that says the ...
0
votes
2answers
958 views

checkout_cart_update_items_after is not working

I'm stuck in this. The checkout_cart_update_items_after is not firing. I already put a log statement in the function but is not getting executed. Whereas checkout_cart_product_add_after is working ...
0
votes
0answers
4 views

Magento 2.2.4 - checkout/cart get shipping rates via AJAX

Version 2.2.4 seems to have a buggy form post on checkout/cart to update shipping rates. I have other stores using 2.3.* that work fine. I am trying to run defaultProcessor.getRates() on a JavaScript ...
8
votes
2answers
8k views

Disable entire cart functionality & checkout in Magento 2

From the admin side I can disable the one step checkout, but still users can add products to the cart. I want to display only products without checkout. Is there any extension there? I mean disable ...
1
vote
1answer
1k views

Magento2 Payment Methods Not Showing at Checkout

Using latest version 2.1.6 of Magento2. Payment methods are enabled in admin but not showing on our checkout page. They are showing fine when we manually process an order from the sales > orders area ...
0
votes
0answers
9 views

Auto fill the create account fields for guest, after the order has been placed

I am using Magento 2.2.6 and the option where Guest can check out and place the order is enabled, the guest gets an option on the order success page to create an account and while the option is ...
7
votes
1answer
2k views

Magento 2 custom address fields not saving to database from checkout

Through a setup script I created two new customer address fields for Magento 2. These field show up nicely in the backend and checkout. But, the values are not send from checkout to the api. Now the ...
5
votes
3answers
4k 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
16 views

Empty Current Cart Items And Add new cart items programmatically in magento2

I want to generate a sharecart link to customers , here the problem is when i am sharing cart link i am adding one unique key to the sharecart url. Based on this key added products to customers cart ...
2
votes
1answer
938 views

Magento 2: How to add cart summary after Update shopping cart button?

how can i get cart summary button after "update shopping cart" button ?? This is mobile view, don't worry about desktop view.
4
votes
1answer
1k views

Magento 2 : Issue with the custom field on checkout page

Installed Version of Magento is - 2.1.0 I have added a custom field "Bank Account Number" as you can see red square box in the below image. The problem I am facing is that it's not getting displayed ...
0
votes
1answer
1k views

how i set the checkout cart xml file in magento 2?

This is my code in magento1 <checkout_cart_index translate="label"> <label>Shopping Cart</label> <remove name="right"/> <remove name="left"/> &...
0
votes
0answers
15 views

Magento2 Disable Shipping Method Selection Only in Shipping Method page

I want to ask customers to select their own shipping method rather than selecting one shipping method by default. here i tried the following code in app/design/frontend/Mypackahe/mytheme/...
0
votes
0answers
28 views

Magento 2 Session Expire after return from payment gateway

We are facing the session expire issue, while, return from payment gateway. We are integrated CCavenue Magento 2.3.4 Toolkit, we are tried following ways Cache => somebody told maybe problem of ...
4
votes
1answer
1k views

cannot get extension attributes value

The value can post However,I cannot get Extension attributes on my plugin which intercept Checkout success controller code. getExtensionAttributes always return null <?php namespace Genning\...
0
votes
1answer
13 views

How to Move billing address to below shipping address form in onestep checkout (IWD_opc)?

How to Move billing address to below shipping address form in onestep checkout (IWD_opc) ? We can move billing address section in shipping address area in Magento default checkout but not working same ...
0
votes
0answers
7 views

Checkout Custom Input field as required=“required” does not mandate the the value to be entered

I have a custom Magento 2.2.6 module, the custom date picker filed under app/code/Vendor/DeliveryTime/view/frontend/web/template/container does not mandate the value to be entered as I have set the ...
0
votes
1answer
11 views

Moving Coupon Block in Checkout Knockout Error

I moved the Discount block from the billing-step to the Sidebar in the Magento 2 checkout. I disabled the original discount block in the billing-step but I am still getting the following JS error: ...
0
votes
3answers
1k views

How do you make the Place Order button disabled until after the address update button is pushed?

I am in Magento 2.13. If a customer checks out and uses a different billing and shipping address, the place order button is live, even if they have not pushed the update address button. This causes ...
0
votes
3answers
2k views

Enable and disable payment method in magento 2

I have a custom payment method in magento 2. I have added an enabled option in the payment settings page in the admin area, this is done in the same way as the payment methods from the offline ...
0
votes
1answer
1k views

Get last added product in minicart magento2

After product is added to cart, I want to open minicart and mark it with some styles. I found http://magento.stackexchange.com/questions/141507/magento-2-open-minicart-when-item-is-added how to open ...
0
votes
0answers
11 views

Magento 2 add tooltip for the discount section on checkout page?

I would like to display tooltip on checkout page for discount section in the magento2. Can anyone provide me the steps to achieve this? Please refer the screenshot
1
vote
1answer
2k views

Email Template Based on Payment Method Magento 2

I want to use separate email templates for orders depending on the payment method selected. I have looked around but not found anything to achieve this so I started trying to build a module to handle ...
4
votes
1answer
803 views

How to add datepicker field in Checkout?

I want to add a date picker field into the checkout page but I have no idea where to start. I have tried this Add date picker in checkout page but it's not working for me. We are having the below ...
0
votes
0answers
13 views

Magento 2 customer is always redirected back to /checkout/cart/

We have some customers gettign in touch stating that whenever they go to www.domain.com/checkout they are just redirected back to www.domain.com/checkout/cart page. Has anyone else had this issue ...
0
votes
1answer
31 views

Get order Collection in Observer Class

I am working with an observer where i have to disable a payment method if user has no order existed and show it if at least one order existed. I am trying something like this but not able to get the ...
0
votes
2answers
920 views

Get Cross sell items in cart page Programmatically in magento2

I am trying to get cross sell products in cart page programmatically. Below code i have used in layout/checkout_cart_index.xml <referenceContainer name="content"> <block class="...
2
votes
3answers
2k views

Magento 2: Sorry, no quotes are available for this order at this time Change Message

I would like to change message "Sorry, no quotes are available for this order at this time" In which file, i can change? Can it will be manageable by Admin?
0
votes
0answers
10 views

Magento2: Move Email Address Field above Shipping Address Label on magento checkout?

I want to move Email Address field above the shipping address Label on checkout page, because it looks weird in i-pad version. In which file, I can make change code?? which file I have to override?
1
vote
0answers
14 views

Magento2 How To Add Custom Step For Multi shipping Checkout

Does anyone help me to add custom step for multi shipping checkout ?
4
votes
1answer
4k views

Modify checkout step navigation magento 2

I'm customizing the checkout process in magento 2 by adding a custom step between Shipping and Payment steps and by adding a checkbox in Shipping step. The problem When going to checkout page for ...

1
2 3 4 5
70