Skip to main content

How to disable dynamic checkout buttons with Magical Fees

Magical Fees

Kyle Godon avatar
Written by Kyle Godon
Updated this week

To disable dynamic checkout buttons for products with fees:

Product template:

  1. In your Shopify admin, go to Online Store > Themes.

  2. Find your theme and click Customize.

  3. Open the drop-down menu at the top of the page and select Product.

  4. Choose the product template used by products with fees.

  5. Select the Buy buttons block.

  6. Make sure Show dynamic checkout buttons is unchecked.

  7. Click Save.

Cart template:

  1. Navigate to Online Store -> Themes

  2. Click ... -> Edit code

  3. Navigate to Sections -> main-cart-footer.liquid

  4. Find and remove the following block of code:

    {%- if additional_checkout_buttons -%}
    <div class="cart__dynamic-checkout-buttons additional-checkout-buttons">
    {{ content_for_additional_checkout_buttons }}
    </div>
    {%- endif -%}

  5. Click Save.

This will prevent customers from bypassing fees at checkout.

Did this answer your question?