Why isn't my checkout button functioning correctly?

astrofinityligh
Excursionist
53 2 2

Help- checkout not working. Here is my checkout-button.liquid code: 

 

<button type="submit" name="checkout" class="btn btn--primary btn--checkout full {% if type == "page" %}cart__checkout{% endif %}" {% if disabled %}disabled{% endif %}>
<span class="btn__text">
{% unless settings.checkout_icon == blank %}
<span class="{{ settings.icon }} icon-width" aria-hidden="true">{{ settings.checkout_icon }}</span>
{% endunless %}

{{ 'cart.general.checkout' | t }}

{%- if settings.cart_count_checkout -%}
{%- if type == "drawer" -%}
({{ cart.item_count }})
{%- else -%}
(<span class="cart-count">{{ cart.item_count }}</span>)
{%- endif -%}
{%- endif -%}

{%- if settings.cart_cost_checkout -%}
– <span class="cart-cost" data-cart-total-value><span class="money">{{ cart.total_price | money }}</span></span>
{%- endif -%}
</span>
</button>

 

 

Is there any error? 

Replies 2 (2)

Moira
Shopify Staff
2053 224 326

Hey @astrofinityligh,

 

Without being able to access and test your checkout, it's difficult for me to establish what is happening. Would you mind sharing your store URL so I can take a closer look?

 

Look forward to hearing from you!

Moira | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog

astrofinityligh
Excursionist
53 2 2