I would like to move the afterMethods xml item which contains the Discount Code and Gift Card code under the billing-step in the module-checkout/view/frontend/web/checkout_index_index.xml so that it is displayed below the shipping-information item in the sidebar

Snippet of the afterMethods:

<!-- merge your payment methods here -->
<item name="afterMethods" xsi:type="array">
    <item name="component" xsi:type="string">uiComponent</item>
    <item name="displayArea" xsi:type="string">afterMethods</item>
    <item name="children" xsi:type="array">
        <!-- merge additional data after payment methods here -->

Here is a screenshot of my current checkout/payment page: enter image description here

Since it is not a block or a container I am not quiet sure the proper steps to move the item.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.