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 ...
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/...
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 ...
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\...
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="...
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 ...
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 $...
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)
{
$...
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 ...
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 ...
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/...
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 ...
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/...
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">
...
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, ...
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 ...
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 ...
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 ...
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 (...
7
votes
Magento checkout - getting custom attribute value
add this to your module's config.xml:
<global>
<sales>
<quote>
<item>
<product_attributes>
<attribute1 /&...
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 ...
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') ...
7
votes
Remove Shipping steps in Onepage Checkout
Make your product as Virtual Product and it will automatically removed.
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 ...
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.
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 ...
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....
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>
<...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
onepage-checkout × 1218checkout × 375
magento2 × 324
magento-1.9 × 309
magento-1.7 × 89
payment-methods × 67
shipping-address × 61
shipping-methods × 56
cart × 52
magento-2.1 × 47
onestepcheckout × 46
javascript × 43
billing-address × 43
magento-1.8 × 39
orders × 37
shipping × 36
knockoutjs × 34
magento2.2 × 33
magento2.3 × 32
event-observer × 29
payment × 27
php × 23
error × 22
magento-1 × 22
paypal × 22