Help

Frequently asked questions and other useful tidbits.

Cart

Updated on September 29th, 2009

cart.item_count

Returns the number of items in the cart.

You have {{ cart.item_count | pluralize: 'item', 'items' }} in your cart

cart.price

Returns the combined price for all items in your cart.

Your total price is {{ cart.price | money_with_sign }}

cart.total

Returns the combined price, shipping, and tax for all items in your cart.

Your total is {{ cart.total | money_with_sign }}

cart.items

Returns all of the items in your cart.

{% for item in cart.items %}
  <p>{{ item.name }}</p>
{% endfor %}

cart.country

Returns the country the items are to be shipped. Only applicable if you have country based shipping.

Shipping to {{ cart.country.name }}

cart.shipping.enabled

Returns true of false based on whether the items in your cart are using Big Cartel’s shipping features.

{% if cart.shipping.enabled %}
  Shipping: {{ cart.shipping.amount | money_with_sign }}
{% end %}

cart.shipping.strict

Returns true of false based on whether the items in your cart have specific shipping rates for different countries.

{% if cart.shipping.strict %}
  Shipping is strict, ask for country
{% else %}
  Shipping is global, let them checkout
{% end %}

cart.shipping.pending

Returns true of false based on whether your cart has strict shipping and customer user has selected their country.

{% if cart.shipping.pending %}
  Please select your country
{% else %}
  Click here to checkout
{% end %}

cart.shipping.amount

Returns the combined shipping amounts for all items in your cart.

Your shipping total is {{ cart.shipping.amount | money_with_sign }}

cart.tax.enabled *

Returns true of false based on whether the items in your cart are using Big Cartel’s tax features.
* DEPRECATED: now always returns false

{% if cart.tax.enabled %}
  Tax: {{ cart.tax.amount | money_with_sign }}
{% end %}

cart.tax.amount *

Returns the combined tax amounts for all items in your cart.
* DEPRECATED: now always returns 0.00

Your tax total is {{ cart.tax.amount | money_with_sign }}

cart.discount.enabled

Returns true of false based on whether your store has discount codes.

{% if cart.discount.enabled %}
  Please enter your discount code
{% end %}

cart.discount.pending

Returns true of false based on whether your user has entered a discount code or not.

{% if cart.discount.pending %}
  You have entered code {{ cart.discount.code }}
{% else %}
  Please enter your discount code
{% end %}

cart.discount.amount

Returns the amount your customer is saving by using the discount code.

You're saving {{ cart.discount.amount | money_with_sign }}

cart.discount.percent

Returns the discount percentage your customer is saving by using the discount code.

You're getting {{ cart.discount.percent }}% off

cart.discount.code

Returns the discount code your customer is using.

You entered discount code {{ cart.discount.code }}

Contact

Can’t find an answer to your question? No worries, we’re here to help.