Help

Frequently asked questions and other useful tidbits.

Search results for “tax deprecated”

Theme

theme.image

Returns the image of your theme. Set on the Design > Theme page of the admin.

<img src="{{ theme.image.url }}" />

theme.show_search

Returns true of false based on whether the theme should show a product search field. Set on the Design > Theme page of the admin.

{% if theme.show_search %}
  <input name="search" type="text" />
{% end %}

theme.show_newest

Returns true of false based on whether the theme should show the newest products. Set on the Design > Theme page of the admin.

{% if theme.show_newest %}
  {% for product in products.newest %}
    <p>{{ product.name }}</p>
  {% endfor %}
{% end %}

theme.show_top_selling

Returns true of false based on whether the theme should show the top selling products. Set on the Design > Theme page of the admin.

{% if theme.show_top_selling %}
  {% for product in products.top_selling %}
    <p>{{ product.name }}</p>
  {% endfor %}
{% end %}

theme.show_products_feed

Returns true of false based on whether the theme should show the top selling products. Set on the Design > Theme page of the admin.

{% if theme.show_products_feed %}
  <a href="/products.rss">Subscribe to our feed</a>
{% end %}

theme.show_shipping_and_tax *

Returns true of false based on whether the theme should show shipping and tax amounts on the cart page. Set on the Design > Theme page of the admin.
* DEPRECATED: now always returns true

{% if theme.show_shipping_and_tax %}
  Shipping: {{ cart.shipping.amount | money_with_sign }}
  Tax: {{ cart.tax.amount | money_with_sign }}
{% end %}

theme.show_inventory_bars

Returns true of false based on whether the theme should show inventory bars on the product page. Set on the Design > Theme page of the admin.

{% if theme.show_inventory_bars %}
<ul>
  {% for option in product.options %}
  <li style="width:{{ option.inventory }}%">{{ option.name }}</li>
  {% endfor %}
</ul>
{% endif %}

Product

product.id

Returns the id of a product.

product.name

Returns the name of a product.

product.permalink

Returns the permalink of a product.

product.url

Returns the URL of a product.

View <a href="{{ product.url }}">my product</a>

product.edit_url

Returns the URL to edit a product in the admin.

{% if store.logged_in %}<a href="{{ product.edit_url }}">Edit</a>{% endif %}

product.position

Returns the position of a product in your product list.

product.description

Returns the description of a product.

product.status

Returns the status of a product. “active”, “sold-out”, or “coming-soon”

product.categories

Returns all of the categories of a product.

<ul>
  {% for category in product.categories %}
  <li>{{ category | link_to }}</li>
  {% endfor %}
</ul>

product.artists

Returns all of the artists of a product. * record labels only

<ul>
  {% for artist in product.artists %}
  <li>{{ artist | link_to }}</li>
  {% endfor %}
</ul>

product.css_class

Returns the css_class of a product. “product”, “product sold”, “product soon”, or “product sale”

product.price

Returns the price of a product.

{{ product.price | money_with_sign }}

product.on_sale

Returns true of false based on whether the product is marked as on sale.

{% if product.on_sale %}
  On sale!
{% else %}
  Regular price.
{% end %}

product.tax *

Returns the tax of a product.
* DEPRECATED: now always returns 0.00

{{ product.tax | money_with_sign }}

product.has_default_option

Returns true of false based on whether the product has a default option.

{% unless product.has_default_option %}
  Please select your option
{% end %}

product.option

Returns the default option of a product.

product.options

Returns all of the options of a product whether they are sold out or not.

{% for option in product.options %}
  <p>{{ option.name }}</p>
{% endfor %}

product.options_in_stock

Returns all of the options of a product that are in stock. If you’re not using Big Cartel’s inventory tracking, then this is the same as calling product.options.

{% for option in product.options_in_stock %}
  <p>{{ option.name }}</p>
{% endfor %}

product.shipping

Returns all of the shipping areas of a product.

{% for area in product.shipping %}
  <p>{{ area | shipping_name }}</p>
{% endfor %}

product.image

Returns the default image of a product.

product.images

Returns all of the images of a product.

{% for image in product.images %}
  <img src="{{ image | product_image_url size:"thumb" }}" />
{% endfor %}

product.image_count

Returns the number of images a product has.

product.previous_product

Return the previous product in your list.

{{ product.previous_product | link_to: "< Back" }}

product.next_product

Return the next product in your list.

{{ product.next_product | link_to: "Next >" }}

products.all

Returns all of the products in your store.

{% for product in products.all %}
  <p>{{ product.name }}</p>
{% endfor %}

products.current

Returns all of the products for the current Products page.

{% for product in products.current %}
  <p>{{ product.name }}</p>
{% endfor %}

products.on_sale

Returns all of the products in your store that are marked “on sale”.

{% for product in products.on_sale %}
  <p>{{ product.name }}</p>
{% endfor %}

products.top_selling

Returns the top 5 selling products in your store

{% for product in products.top_selling %}
  <p>{{ product.name }}</p>
{% endfor %}

products.newest

Returns the 5 newest products in your store

{% for product in products.newest %}
  <p>{{ product.name }}</p>
{% endfor %}

products.permalink

Returns a specific product based on it’s permalink.

<a href="{{ products.new-cd.url }}">View our new cd</a>

Cart Item

item.id

Returns the id of an item.

item.name

Returns the name of an item. This is done by combining the name of the product and name of the option, unless it’s a default option.

item.price

Returns the price of an item multiplied by it’s quantity.

{{ item.name }} x {{ item.quantity }} = {{ item.price | money_with_sign }}

item.unit_price

Returns the price of for one of an item.

Each costs {{ item.unit_price | money_with_sign }}

item.shipping

Returns the shipping amount of an item, if you’re using Big Cartel’s shipping features.

Shipping: {{ item.shipping | money_with_sign }}

item.tax *

Returns the tax amount of an item, if you’re using Big Cartel’s tax features.
* DEPRECATED: now always returns 0.00

Tax: {{ item.tax | money_with_sign }}

item.total

Returns the total price and shipping amount of an item.

Total: {{ item.total | money_with_sign }}

item.quantity

Returns the quantity in the cart for an item.

You are ordering {{ item.quantity }} of these

item.product

Returns the product of an item.

You are ordering {{ item.product.name }}

item.option

Returns the option of an item.

You selected this color {{ item.option.name }}

Cart

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.