Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Bug when rendering content_for_additional_checkout_buttons #612

Open
ghost opened this issue Feb 15, 2017 · 0 comments
Open

Bug when rendering content_for_additional_checkout_buttons #612

ghost opened this issue Feb 15, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 15, 2017

Hi guys,

The liquid variable content_for_additional_checkout_buttons (rendered here: https://github.com/Shopify/Timber/blob/master/snippets/ajax-cart-template.liquid#L102) seems to be empty when the store has an empty cart.

Once the cart is populated with at least one item, then content_for_additional_checkout_buttons renders properly.

Test store: https://colors-theme-sections-demo-store.myshopify.com/

When the store is rendered with an empty cart, source code line 1699:
<div class="additional_checkout_buttons"></div>

When the store is rendered with a non empty cart, source code line 1699:
<div class="additional_checkout_buttons"><button name="goto_pp" type="submit" id="paypal-express-button" class="additional-checkout-button additional-checkout-button--paypal-express" value="paypal_express">Checkout with <img alt="PayPal" src="//cdn.shopify.com/s/assets/checkout/easy-checkout-btn-paypal-cadb680457a51ea1df32214b16adad91083c80679c7f5017e35c731832e59b90.png" /></button></div>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants