The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [checkout]

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

Filter by
Sorted by
Tagged with
9
votes
2answers
2k views

Magento 2 additional data to shipping method

I'm making new shipping method and I need to add new column to checkout shipping rates. Data would come from custom shipping method settings, for example method description. Or some input field where ...
8
votes
6answers
11k views

How can i hide Discount Code form checkout payment page in Magento 2?

I tried to hide the Discount Code field from checkout payment page, but i can't find anything in xml files. For cart page, i found this field in checkout_cart_index.xml, and i was able to hide like ...
8
votes
2answers
6k views

Disable entire cart functionlity & checkout in magento2

From admin side i can disable one step checkout,but still users can add products to cart.I want to display only products without checkout. Is there any extension there? I mean disable mini cart,add to ...
8
votes
6answers
3k views

magento 2 Syntax error or access violation: 1103 Incorrect table name '', query was: INSERT INTO `` () VALUES ()

Magento 2 when place order from newly created store, after click on place order button below error is dispaly, Syntax error or access violation: 1103 Incorrect table name '', query was: INSERT INTO ...
8
votes
1answer
5k views

Insert image at the side of payment label on checkout

How could I insert an image at the side of the payment method on checkout. In example, at the side of credit cards payment method I want to display the Visa and Master Cards logo.
8
votes
2answers
1k views

Moving Gift message form block from Cart to Checkout step 1

I'm trying to move the Gift Options block(gift message form) from the current Shopping cart page to the first step of the Checkout (Shipping). I need to place it right under Shipping Methods. I tried ...
8
votes
3answers
1k views

Correct way to obtain a session object?

I'm writing a payment module for Magento 2 right now and I'm checking it against the "Magento Extension Quality Program Coding Standard" CodeSniffer(https://github.com/magento/marketplace-eqp). For ...
8
votes
3answers
2k views

pages loading slow

I'm currently facing a slow page load with the checkout being the slowest of all with: 28 requests 18.5 KB transferred (rest cached from disk or memory) Finish: 15.24s (loader disappears and the user ...
8
votes
1answer
6k views

Magento 2: How shipping rest api function called On Checkout?

When u click on "Ship here" on Checkout Page it calls magento/rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id Then it goes to below JS files magento\vendor\magento\module-...
8
votes
1answer
2k views

Why does magento re-index pricing on each checkout?

If you look within Mage_CatalogInventory_Model_Observer::reindexQuoteInventory() it calls the following line: Mage::getResourceSingleton('catalog/product_indexer_price')->reindexProductIds($...
8
votes
1answer
8k views

Split order into seperate orders and calculate shipping seperately with ups and fedex and different origin addresses

When a customer comes to our store and goes to check out on multiple items, I need to write a module to calculate shipping based on several factors. I have determined from my research that the ...
8
votes
2answers
2k views

Validation of the terms and conditions (custom module)

I've made a custom module which enables me to have the T&C checkbox moved beneath the payment methods and the place order button inside the summary div, like so: Now, whenever I select a payment ...
8
votes
1answer
2k views

Magento register for account at checkout

Does anyone know whether it is possible to move the customer registration step to the checkout like in the original Magento 1 checkout? Looking for an extension that will do this for me or advice on ...
8
votes
1answer
3k views

Return from PayPal Express to One Page checkout

Having tried out all the Magento PayPal options, Pro (non-hosted) seems to be the cleanest. While it will incur full-on PCI compliance, it's the neatest approach for CC/DC payments. It all progresses ...
8
votes
0answers
583 views

Magento 2.2.1: Add Custom Upload file attribute in Checkout

I tried to add an Upload file attribute to the Checkout form, I am now able to add custom field, but still, I am unable to save values to database - I used add Plugin - added Below code Amit\...
7
votes
3answers
4k views

Move billing address form to shipping address page in magento 2.1

I am using Magento-2.1.7. I am trying to move where the billing address is set by default it is set on the payment page and I would like to move this to the shipping methods section. Here is my ...
7
votes
5answers
4k views

Magento2 How to show sku in order summary?

I want to display sku in order summmary after product name. I've created pluging which will called afterGetConfig to modified totalsData you can see below code for it. class ConfigProviderPlugin ...
7
votes
2answers
11k views

Magento 2 - How to affect street address in checkout forms with layout xml/ui arguments

I'm trying to set a placeholder on street address fields on shipping address form in checkout. Followed this example: http://devdocs.magento.com/guides/v2.0/howdoi/checkout/checkout_form.html I've ...
7
votes
4answers
13k views

displaying certain payment methods for customer groups

I am very new to the magento checkout process so forgive my lack of knowledge. Is there a way of displaying certain payment options for certain customer groups. For example i have changed the "...
7
votes
3answers
10k views

Onepage checkout: Already registered customer login redirects to create an account or login page

I have recently upgraded to 1.8.1 and am fairly new to magento. All other aspects of my site seems to be working just fine, however when a customer with an existing account adds item to the cart and ...
7
votes
5answers
13k views

Success page get customer name and order id

I want to echo the customer name and order id on the checkout success page. I currently use this line to display the customer name: <?php $order = Mage::getModel('sales/order')->...
7
votes
3answers
11k views

Paypal Express Order Review Page

I've recently turned on Paypal Express Checkout on my Magento site, during testing I noticed that once the transaction is completed in Paypal the customer is redirected back to a final order ...
7
votes
1answer
1k views

Include the cc payment template in other template

I'm working on a credit card (CC) payment module. I see that Magento 2 already offers a template for CC payments but it contains only the form needed for the payment. It does not have the radio button ...
7
votes
1answer
1k views

How to add wrapper in checkout page in magento 2?

I want to add container div and add Shipping address and Order summary in it as below design. How can i do that? Thanks.
7
votes
2answers
7k views

Validation for zip code field on checkout page in magento 2

I try to apply validation for postal code on checkout like 4 numbers and 2 characters(A-Z) ex: "9999AA". Now, by default, if I press an invalid postal code on checkout page, I receive a message likes ...
7
votes
2answers
884 views

Allow single county gives empty drop down options in front-end checkout Country field in Magento 2

We have configured Allow Countries to Canada in admin. On fronted, by default the checkout page country field is loading with Canada, but if we click on country drop down, empty drop-down fields are ...
7
votes
2answers
2k views

Checkout register if password field got value otherwise guest checkout

I want to display the password field always in the billing step of the checkout. We removed the fist step in the checkout. In this billing step we want that if a customer enters a password, it will ...
7
votes
1answer
2k views

How to Disable previous checkout step when goes to next step in magento2

We have successfully added a new step in checkout page for magento2. Please find a code for custom JS for that step: Location of File: app/code/Vendor/CheckoutStep/view/frontend/web/js/view/...
7
votes
1answer
82 views

Default block not called if the extension is disabled from advanced

I have overridden onepage block in my extension. However When I disable the extension from advanced system configuration My entire checkout page is not being displayed. So please provide me solution ...
7
votes
2answers
5k views

Programatically created order not adding bundle products correctly

I have an order flow outside of Magento that uses both Magento's direct methods and API SOAP methods to create an order. (The API was used completely at first until we found out it wouldn't pass the ...
7
votes
1answer
2k views

Magento-2 : Display gender field as radio instead of dropdown

Magento-2 customer address Gender Prefix - Mr.;Mrs. field display by default as drop-down ,but I want to display it as radio button in customer address form like checkout shipping, billing address, ...
7
votes
1answer
1k views

how to override tax amount with total collect when i click on one check box in magento 2?

I am trying to override tax in order review in magento 2 when click on one checkbox. How to do that? I have one form with checkbox in magento 2 onepage checkout page. My requirement is when I ...
7
votes
1answer
1k views

Order totals showing wrong way around

How can I change the position of the order totals (incl. tax / excl. tax) in the tax calculation? As it should show the total including tax below the total excluding tax but at the moment it does not.
7
votes
1answer
2k views

Data lost in Progress bar on moving to new tab in magento checkout

My requirement is to customize the Onepage checkout process and adding a new step between the “Payment Information” and “Review” Steps. So I followed the following instruction. http://www.fontis.com....
7
votes
1answer
1k views

Change position of Billing address in Magento 2

I want to change default billing address position which is coming under the payment information, I need it before shipping address(same as magento 1). Anyone have any idea to achieve it, Please help?...
7
votes
1answer
1k views

Cart sidebar on checkout load dynamic

I use a cart in the sidebar of the one page checkout. This display the products and the total price of the cart. But I also use some additional cost for payment, so it needs to load dynamically, so ...
7
votes
0answers
208 views

Magento2 : Apple Pay Integration With Payfort Payment

I have to integrate the apple pay payment method to my website so anyone have any reference URL or Extension. so I can use that link. I follow below link https://applepaydemo.apple.com/ https://...
7
votes
3answers
3k views

Magento 2.2.5: How to validate shipping address

I'm doing Custom Checkout, and here is what i've done til now. The adea is to use validate so when i click on "Next" button, it gonna check if the checkbox in "Terms of Use", if its checked, then it ...
7
votes
5answers
2k views

Update price in checkout page without refresh Magento 2

I have a controller where I apply some discount on the checkout page. Now, I can see the price change just after I refresh the page. I search for a solution, to refresh the price using a Js file. ...
6
votes
5answers
27k views

Magento checkout - getting custom attribute value

I am working in the OnepageController.php What I needed was in the checkout process was to get values of some customer created attributes for the products in the current order. I have been able to ...
6
votes
6answers
23k views

How to create order programmatically in Magento 2?

I have special order form and now I need to create orders without payment. So the payment needs to be skipped. I am not sure what would be the best way to accomplish this part. Should I send my form ...
6
votes
3answers
10k views

Magento 2: phone number validation (only accepts numbers)

In Magento 2, I want to make phone fields number validation, (eg in the checkout page) only accepts numbers (and not characters)?
6
votes
2answers
2k views

Cart Summary expanded

On our checkout page we have the product list and the shipping options within a collapsible menu. I can not seem to get it expanded. I found the relevant passage in the _cart.less. Is anyone able to ...
6
votes
3answers
13k views

Magento display tiered pricing for each product on cart page

I am having an issue getting the tierPriceHtml to display for each item on the cart page. This is what I have inside checkout/cart/item/default.phtml: $custom = Mage::getModel('catalog/product')->...
6
votes
1answer
5k views

Magento 2 add custom data to checkout

I am trying to add some additonal data under checkout items summary (right sidebar). I am not figuring out how to get dynamic data from maybe Block (or other way). Here it is what I have already ...
6
votes
4answers
7k views

Magento: How to remove certain States from state/region list at Checkout or registration?

The list of regions for USA contains: Alaska, Hawaii, American Samoa, Guam, Marshall Islands, Micronesia and Armed American and so on. This is the list that is available both during registration and ...
6
votes
2answers
20k views

Activated but still “The requested Payment Method is not available.” as registered user only

I activated several Payment Method and those are getting displayed on the checkout page. But regardless which option I select Magento always returns: The requested Payment Method is not available. ...
6
votes
1answer
3k views

Magento 2: How to make the phone number optional?

What is the right way to make the phone number not required during the checkout in Magento 2? I have read different opinions where people suggest editing the database, which as far as I know is not a ...
6
votes
3answers
6k views

Hide shipping method name and title from frontend

In front end on checkout page in shipment section shipping methods and name appears in bracket along with shipping and handling. Now it looks like Shipping & Handling (title - method name): 5$ I ...
6
votes
2answers
7k views

Magento 2: Change Text On Checkout Page

I'm using Magento 2 CE Version 2.1.2 I would like to change Shipping Address to Shipping/Billing Address. I have already below, but it's not working for me. Magento 2: Sorry, no quotes are ...