What is a Template Tag
A template tag is code that instructs WP e-Commerce to “do” or “get” something. For further information visit WordPress Codex to read about Template Tags and how to use them.
Template tags are used within your WP e-Commerce theme to display information dynamically or otherwise customize your store, providing the tools to make it as individual and interesting as you are. Below is a list of template tags available in WP e-Commerce, sorted by the template files in which they can be used.
Generic
- wpsc_breadcrumb_url
- wpsc_breadcrumb_name
- wpsc_product_count
- gotoexternallink
- wpsc_page_number
Single Product (single_product.php)
- wpsc_the_product_id
- wpsc_the_product_title
- wpsc_the_product_permalink
- wpsc_page_url
- wpsc_this_page_url
- wpsc_currency_sign
- wpsc_the_product_price
- wpsc_product_normal_price
- wpsc_display_product_multicurrency
- wpsc_product_postage_and_packaging
- wpsc_vargrp_form_id
- wpsc_the_vargrp_name
- wpsc_product_comments
- wpsc_product_comment_link
- wpsc_vargrp_id
- wpsc_the_variation_id
- wpsc_the_variation_out_of_stock
- wpsc_product_remaining_stock
- wpsc_the_variation_name
- wpsc_the_product_image
- wpsc_the_product_thumbnail
- wpsc_the_cart_item_key
- wpsc_product_external_link
- wpsc_product_rater
- wpsc_product_sku
- wpsc_the_product_description
- wpsc_the_product_additional_description
- wpsc_addl_desc_show
- gold_shpcrt_display_gallery
- wpsc_custom_meta_name
- wpsc_custom_meta_value
- wpsc_buy_now_button
- wpsc_also_bought
- wpsc_edit_the_product_link
- fancy_notifications
Products (products_page.php)
- wpsc_print_category_url
- wpsc_print_category_name
- wpsc_print_category_image
- wpsc_print_subcategory
- wpsc_print_category_description
- wpsc_category_image
- wpsc_category_name
- wpsc_category_description
- wpsc_category_class
Checkout (shopping_cart_page.php)
- wpsc_cart_item_count
- wpsc_cart_item_url
- wpsc_cart_item_name
- wpsc_cart_item_quantity
- wpsc_the_cart_item_key
- wpsc_cart_item_price
- wpsc_coupon_amount
- wpsc_cart_tax
- wpsc_cart_total
- wpsc_shipping_country_list
- wpsc_shipping_method_name
- wpsc_shipping_quote_html_id
- wpsc_shipping_quote_name
- wpsc_shipping_quote_value
- wpsc_shipping_quote_selected_state
- wpsc_shipping_method_internal_name
- wpsc_cart_shipping
- wpsc_checkout_form_name
- wpsc_checkout_form_element_id
- wpsc_checkout_form_field
- wpsc_the_checkout_item_error
- wpsc_gateway_internal_name
- wpsc_gateway_is_checked
- wpsc_gateway_name
- wpsc_gateway_form_field_style
- wpsc_gateway_form_fields
Shopping Basket widget (cart_widget.php)
[…]
Product Groups widget (category_widget.php)
[…]