33 votes
Accepted

Remove Shipping steps in Onepage Checkout

Here is what I've done. I removed the shipping step and used a default shipping method that I know is always going to be available. Not sure if this is what you need but you can at least use it as a ...
user avatar
  • 195k
21 votes

Magento2 No Payment methods showing in Frontend

Have you override the file checkout_index_index.xml ? If, yes, make sure you have created your custom checkout_index_index.xml in the right folder like : design/frontend/NameSpace/your_theme/...
user avatar
  • 1,115
19 votes

Magento 2 How to remove tax from checkout?

If you want to leave taxes enabled and with a value but just remove them from display remove the item with the name tax at the appropriate place. For example to remove tax from the checkout cart ...
user avatar
  • 1,582
17 votes
Accepted

How to add label on all lines of street fields in checkout and turn then required?

I solved rewriting street on di.xml: ... <type name="Magento\Checkout\Block\Checkout\LayoutProcessor"> <plugin name="rewrite-street" type="Vendor\ModuelName\Model\Checkout\...
user avatar
  • 875
15 votes
Accepted

add Newsletter checkbox in billing form

hi you can add this by add below code at billing.phtml <input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" checked="...
user avatar
  • 75.7k
15 votes
Accepted

Onepage checkout stuck on billing section

This issue ended up being related to the security update supee-9767. Although, the issue it was causing for me was different than what has been reported in other posts, well the ones I came across in ...
user avatar
15 votes

Magento 2 - Get Request Params / Api Request Params From Plugin

Looks like you are using wrong class in your construct for $request. Change your construct to following and it should work: public function __construct( \Magento\Framework\Webapi\Rest\Request $...
user avatar
  • 1,857
11 votes
Accepted

Magento 2: Split order for every Item

I've been checking this on my own Magento 2.2 Enterprise local implementation, and I got it working using this: public function placeOrder($cartId, PaymentInterface $paymentMethod = null) { $...
user avatar
10 votes
Accepted

displaying certain payment methods for customer groups

you can do this using magento event observer,create an event on payment_method_is_active and depednds on customer group disable and enable payment method: check this link: Implementing payment method ...
user avatar
  • 75.7k
10 votes

How to show subtotals in first checkout step?

All of these solutions imply that you need to copy the abstract-total.js to your own theme, but this is not necessary. Even more so: it might introduce new problems as soon as a Magento update decides ...
user avatar
  • 11.6k
10 votes
Accepted

Magento 2 How can i remove coupon code from checkout

Simply adding following tag <item name="config" xsi:type="array"> <item name="componentDisabled" xsi:type="boolean">true</item> </item> So Vendor/Module/view/frontend/layout/...
user avatar
  • 34.3k
10 votes
Accepted

Remove country form payment block

Not 100% sure about this one, but I think the address in the dropdown is formatted via an admin settings. You can go to Stores->Configuration->Customer->Customer Configuration->Address ...
user avatar
  • 195k
10 votes
Accepted

How to show checkout price summary in shipping step Magento 2?

Below step need to follow: Step 1: create require config js files under the Vendor/ModuleName/view/frontend/requirejs-config.js var config = { config: { mixins: { 'Magento_Checkout/js/...
user avatar
9 votes

How to change the order of the billing address fields on checkout page in Magento 2?

Here is an example (using Plugin) for changing field order, disabling field or adding missing field to address. File: etc/di.xml <type name="Magento\Checkout\Block\Checkout\LayoutProcessor"> ...
user avatar
  • 91
8 votes
Accepted

Debugging: Sorry, no quotes are available for this order at this time

Unfortunately there's not much in the UI for debugging these types of issues. You could try enabling the Debug setting. That will log the API requests and responses to your var/logs/ directory, ...
user avatar
  • 1,215
8 votes

Success page get customer name and order id

To get the order details on the checkout success page, use this $order = Mage::getModel('sales/order')->load(Mage::getSingleton('checkout/session')->getLastOrderId()); and then retrieve the ...
user avatar
8 votes
Accepted

Why the input element id's for one-page-checkout are in "type:elementname" format?

you can still reference in css or use dom selectors for elements with : in their id. Let's say you have this html <div id="some:id_here">Something here</div> you can set the styles ...
user avatar
  • 195k
8 votes

Magento 2: Move place order button from payment to sidebar on checkout page?

I had the similar requirement to change the place order button at the bottom of the summary block. Since there is place order button assigned to each payment method. I have created a custom place ...
user avatar
  • 616
8 votes
Accepted

Dynamically hide component upon selecting a country in checkout

Create a custom component by extending Magento_Ui/js/form/element/abstract. Vendor_Module/view/frontend/web/js/custom-component.js: define([ 'Magento_Ui/js/form/element/abstract' ], function (...
user avatar
  • 8,774
7 votes

Magento checkout - getting custom attribute value

add this to your module's config.xml: <global> <sales> <quote> <item> <product_attributes> <attribute1 /&...
user avatar
  • 169
7 votes
Accepted

OnePage Checkout - Hide Payment method depending on Shipping Method

I got an answer to this same question on StackOverflow by user Elvarasan. His answer provided me with everything I needed to get this working. To hide some payment methods based on shipping method ...
user avatar
  • 619
7 votes

Magento 1.9 checkout stuck on shipping methods

change <fieldset> <?php echo $this->getChildHtml('methods') ?> </fieldset> to <fieldset id="checkout-payment-method-load"> <?php echo $this->getChildHtml('methods') ...
user avatar
  • 111
7 votes

Remove Shipping steps in Onepage Checkout

Make your product as Virtual Product and it will automatically removed.
user avatar
7 votes

Remove Shipping steps in Onepage Checkout

I have a better solution than the one of @marius which doesn't need any rewrites. You still need to create an own module, there are tons of tutorials for that so I won't explain it here. You have to ...
user avatar
7 votes
Accepted

Onepage (checkout) is very slow

Profile, Profile, Profile. xDebug Tideways Blackfire New Relic Obviously you have serious performance problems, which you hide behind : different AJAX and Caching extensions Fix this.
user avatar
7 votes

How I can determine if the page is checkout/cart?

That is how you can check for the cart page // Check for cart page if (Mage::app()->getFrontController()->getAction()->getFullActionName() == 'checkout_cart_index') { // The current page ...
user avatar
  • 3,522
7 votes
Accepted

How to add custom field before place order button and get that value in observer?

checkout_index_index.xml <?xml version="1.0"?> <!-- /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <page xmlns:xsi="http://www.w3....
user avatar
  • 5,051
7 votes
Accepted

how to call the observer after checkout and store the orderid in my custom collection?

Using observer event "sales_order_place_after" you can save data in your custom table. In your module's app/code/local/Namespace/Module/etc/config.xml add code like <events> <...
user avatar
7 votes

How to edit and change checkout field labels in Magento 2?

The best way to implement this is by using translation csv. You can follow below steps: 1) As you are working in UK geography, I am assuming your locale would be set to English(United Kingdom). If ...
user avatar
  • 3,554

Only top scored, non community-wiki answers of a minimum length are eligible