Magento2: How to show billing address at bottom of payment method instead of showing for each payment Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?One Page Checkout - Manually setAddress()Onepage checkout - Load last used billing addressOnepagecheckout -> Programmatically fill out shipping form with billing address (guest)Skip custom shipping method step in checkoutHow to add custom attribute in BILLING address in Magento 2How to clear billing form validation errors when using Magento UI componentsMagento 2 : Implement update functionality of new customer billing address on place order button in checkout pageMagento2 : Move billing address after payment methodMagento2 Billing address issue for paypalM2.2.4 Checkout: Adding New Shipping Address automatically sets address as Billing Address
Error "illegal generic type for instanceof" when using local classes
How to react to hostile behavior from a senior developer?
What is the logic behind the Maharil's explanation of why we don't say שעשה ניסים on Pesach?
What is Wonderstone and are there any references to it pre-1982?
How to tell that you are a giant?
Why am I getting the error "non-boolean type specified in a context where a condition is expected" for this request?
Book where humans were engineered with genes from animal species to survive hostile planets
Should I use a zero-interest credit card for a large one-time purchase?
How to find all the available tools in mac terminal?
How does debian/ubuntu knows a package has a updated version
How to align text above triangle figure
Why did the IBM 650 use bi-quinary?
How to bypass password on Windows XP account?
Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?
First console to have temporary backward compatibility
51k Euros annually for a family of 4 in Berlin: Is it enough?
Is it true that "carbohydrates are of no use for the basal metabolic need"?
How widely used is the term Treppenwitz? Is it something that most Germans know?
Can an alien society believe that their star system is the universe?
ListPlot join points by nearest neighbor rather than order
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
Check which numbers satisfy the condition [A*B*C = A! + B! + C!]
Using audio cues to encourage good posture
Magento2: How to show billing address at bottom of payment method instead of showing for each payment
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?One Page Checkout - Manually setAddress()Onepage checkout - Load last used billing addressOnepagecheckout -> Programmatically fill out shipping form with billing address (guest)Skip custom shipping method step in checkoutHow to add custom attribute in BILLING address in Magento 2How to clear billing form validation errors when using Magento UI componentsMagento 2 : Implement update functionality of new customer billing address on place order button in checkout pageMagento2 : Move billing address after payment methodMagento2 Billing address issue for paypalM2.2.4 Checkout: Adding New Shipping Address automatically sets address as Billing Address
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I want to show billing addresses at last of payment step only 1 time instead of showing for each method. Now the billing addresses are in payment method container. I have checked there is code in form template of each payment method.
<div class="payment-method-billing-address">
<!-- ko foreach: $parent.getRegion(getBillingAddressFormName()) -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
Which is used to show billing address. I have tried to put it on payment.html without $parent but its not work.
magento2 checkout billing-address payment-step
add a comment |
I want to show billing addresses at last of payment step only 1 time instead of showing for each method. Now the billing addresses are in payment method container. I have checked there is code in form template of each payment method.
<div class="payment-method-billing-address">
<!-- ko foreach: $parent.getRegion(getBillingAddressFormName()) -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
Which is used to show billing address. I have tried to put it on payment.html without $parent but its not work.
magento2 checkout billing-address payment-step
add a comment |
I want to show billing addresses at last of payment step only 1 time instead of showing for each method. Now the billing addresses are in payment method container. I have checked there is code in form template of each payment method.
<div class="payment-method-billing-address">
<!-- ko foreach: $parent.getRegion(getBillingAddressFormName()) -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
Which is used to show billing address. I have tried to put it on payment.html without $parent but its not work.
magento2 checkout billing-address payment-step
I want to show billing addresses at last of payment step only 1 time instead of showing for each method. Now the billing addresses are in payment method container. I have checked there is code in form template of each payment method.
<div class="payment-method-billing-address">
<!-- ko foreach: $parent.getRegion(getBillingAddressFormName()) -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
Which is used to show billing address. I have tried to put it on payment.html without $parent but its not work.
magento2 checkout billing-address payment-step
magento2 checkout billing-address payment-step
edited Nov 26 '18 at 4:52
Teja Bhagavan Kollepara
2,99841949
2,99841949
asked Aug 4 '17 at 11:02
KulKul
1,08321138
1,08321138
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
There is a configuration value for this under Stores->Configuration->Sales->Checkout->Checkout Options->Display Billing Address On
Change the setting from Payment Method
to Payment Page
. The result will be:
1
Great Man! I was not aware of this setting and was trying to do same from code. You saved my time.
– Kul
Aug 4 '17 at 13:02
add a comment |
if you want to do it through code.
vendormagentomodule-checkoutviewfrontendwebtemplatepayment.html
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</fieldset>
</form>
</div>
remove this KO code
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
and place it after
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
so, you new code should be like this,
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
</fieldset>
</form>
</div>
deploy static content and
Remove cache
Result: http://prntscr.com/nd1fs6
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187915%2fmagento2-how-to-show-billing-address-at-bottom-of-payment-method-instead-of-sho%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is a configuration value for this under Stores->Configuration->Sales->Checkout->Checkout Options->Display Billing Address On
Change the setting from Payment Method
to Payment Page
. The result will be:
1
Great Man! I was not aware of this setting and was trying to do same from code. You saved my time.
– Kul
Aug 4 '17 at 13:02
add a comment |
There is a configuration value for this under Stores->Configuration->Sales->Checkout->Checkout Options->Display Billing Address On
Change the setting from Payment Method
to Payment Page
. The result will be:
1
Great Man! I was not aware of this setting and was trying to do same from code. You saved my time.
– Kul
Aug 4 '17 at 13:02
add a comment |
There is a configuration value for this under Stores->Configuration->Sales->Checkout->Checkout Options->Display Billing Address On
Change the setting from Payment Method
to Payment Page
. The result will be:
There is a configuration value for this under Stores->Configuration->Sales->Checkout->Checkout Options->Display Billing Address On
Change the setting from Payment Method
to Payment Page
. The result will be:
answered Aug 4 '17 at 11:21
PmclainPmclain
1,460914
1,460914
1
Great Man! I was not aware of this setting and was trying to do same from code. You saved my time.
– Kul
Aug 4 '17 at 13:02
add a comment |
1
Great Man! I was not aware of this setting and was trying to do same from code. You saved my time.
– Kul
Aug 4 '17 at 13:02
1
1
Great Man! I was not aware of this setting and was trying to do same from code. You saved my time.
– Kul
Aug 4 '17 at 13:02
Great Man! I was not aware of this setting and was trying to do same from code. You saved my time.
– Kul
Aug 4 '17 at 13:02
add a comment |
if you want to do it through code.
vendormagentomodule-checkoutviewfrontendwebtemplatepayment.html
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</fieldset>
</form>
</div>
remove this KO code
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
and place it after
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
so, you new code should be like this,
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
</fieldset>
</form>
</div>
deploy static content and
Remove cache
Result: http://prntscr.com/nd1fs6
add a comment |
if you want to do it through code.
vendormagentomodule-checkoutviewfrontendwebtemplatepayment.html
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</fieldset>
</form>
</div>
remove this KO code
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
and place it after
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
so, you new code should be like this,
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
</fieldset>
</form>
</div>
deploy static content and
Remove cache
Result: http://prntscr.com/nd1fs6
add a comment |
if you want to do it through code.
vendormagentomodule-checkoutviewfrontendwebtemplatepayment.html
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</fieldset>
</form>
</div>
remove this KO code
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
and place it after
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
so, you new code should be like this,
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
</fieldset>
</form>
</div>
deploy static content and
Remove cache
Result: http://prntscr.com/nd1fs6
if you want to do it through code.
vendormagentomodule-checkoutviewfrontendwebtemplatepayment.html
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</fieldset>
</form>
</div>
remove this KO code
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
and place it after
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
so, you new code should be like this,
<li id="payment" role="presentation" class="checkout-payment-method col-12 col-sm-12 col-md-7 col-lg-4 offset-lg-3 billing-sec" data-bind="fadeVisible: isVisible">
<div id="checkout-step-payment"
class="step-content"
data-role="content"
role="tabpanel"
aria-hidden="false">
<!-- ko if: (quoteIsVirtual) -->
<!-- ko foreach: getRegion('customer-email') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<!--/ko-->
<form id="co-payment-form" class="form payments" novalidate="novalidate">
<input data-bind='attr: value: getFormKey()' type="hidden" name="form_key"/>
<fieldset class="fieldset">
<legend class="legend">
<span data-bind="i18n: 'Payment Information'"></span>
</legend><br />
<!-- ko foreach: getRegion('beforeMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<!-- ko foreach: getRegion('afterMethods') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
<div id="checkout-payment-method-load" class="opc-payment" data-bind="visible: isPaymentMethodsAvailable">
<!-- ko foreach: getRegion('payment-methods-list') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
</div>
<div class="no-quotes-block" data-bind="visible: isPaymentMethodsAvailable() == false">
<!-- ko i18n: 'No Payment method available.'--><!-- /ko -->
</div>
</fieldset>
</form>
</div>
deploy static content and
Remove cache
Result: http://prntscr.com/nd1fs6
answered 8 mins ago
i_ali55i_ali55
407112
407112
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f187915%2fmagento2-how-to-show-billing-address-at-bottom-of-payment-method-instead-of-sho%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown