How can I place payment options under the checkout button in the Dawn theme?

How can I place payment options under the checkout button in the Dawn theme?

Advancing
Shopify Partner
3 0 0

Hi guys, 

I have tried to insert payment options in the bottom of the cart drawer of the Dawn theme, but on desktop/computer view the payment options goes beside the checkout options, instead of under.

How do i get it to go under the checkout button?

I have included a image of the code i have used, for the payment options.

 

Skærmbillede 2023-04-05 kl. 12.50.19.png

Skærmbillede 2023-04-05 kl. 12.48.00.png

Shopify Partner
Reply 1 (1)

BlankStudio
Explorer
44 0 15

Here, add this code under </div> were the </button> code is located (or just search for </button>) in main-cart-footer.liquid to have the icons under the checkout button

or under {{ 'sections.cart.checkout' | t }} to have them inside the checkout button.

 

{%- for type in shop.enabled_payment_types -%}
{{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
{%- endfor -%}