Page templates can be changed under 'Settings' > 'Page Templates' when you log into your account.
Not all templates must be used. A site can just use the homepage, product, and cart template pages.
To show list of items, use
variables that ends with '_start' and '_end'. Some list can have a limit set. You may also use the variable counter. Example:
{set limit = 4}
{best_seller_list_start}
<a href='{best_seller_url}'> <img src={best_seller_image_tn} border=0 alt="thumbnail" /> </a> <br />
<a href='{best_seller_url}'> {best_seller_name} </a>
{best_seller_list_end}
{if counter = 0}
No Product Available
{end}
Some list has varialbes ending in '_list_container_start' and '_list_container_end'. If you wrap your html list block with these variables, then if the counter is 0, the block will not display.
Variables that begins with 'setting_' can be set. Also the variable limit can be set. Examples:
{set setting_price_list = 0-24.99, 25-49.99, 50-99.99, 100-149.99, 150 }
{set limit = 4}
Some variables that do not end with '_start' or '_end' maybe checked for certain values. Use the if statement. You may use the operators =, == (same as =), != (not equals) , >, >=, <, and <=. To represent an empty string of text, use two single quote marks ''. All if statments must be followed by {end}. Examples:
{if logged == 1} <!-- html here only shows when customer is logged in --> {end}
{if checkout_shipping_name_1 != ''} <!-- html here --> {end}
{if product_exist != ''} <script>location.href=('./');</script> {end}
{if enable_google_checkout == 1} <!-- html here --> {end}
Most variable values will be printed by entered it. Examples:
{store_name}
{site_url}
{global_header}
Header, footer, left, and right template pages can be included in other pages. Examples:
{include_header}
{include_left}
setting_do_not_show_admin_footer
enable_product_part_number
category_list_container_start
category_list_container_end
related_list_container_start
related_list_container_end
recent_category_list_container_start
recent_category_list_container_end
recent_category_list_start
recent_search_list_container_start
recent_search_list_container_end
recent_viewed_list_container_start
recent_viewed_list_container_end
recent_viewed_image_xsmall
best_seller_list_container_start
best_seller_list_container_end
time_limited_best_seller_list_container_start
time_limited_best_seller_list_container_end
time_limited_best_seller_list_start
time_limited_best_seller_list_end
time_limited_best_seller_id
time_limited_best_seller_url
time_limited_best_seller_name
time_limited_best_seller_summary
time_limited_best_seller_price
time_limited_best_seller_list_price
time_limited_best_seller_was_price
time_limited_best_seller_image_tn
time_limited_best_seller_image_xsmall
time_limited_best_seller_image_med
time_limited_best_seller_image_full
new_product_list_container_start
new_product_list_container_end
also_bought_list_container_start
also_bought_list_container_end
page_list_container_start
enable_money_order_checkout
enable_credit_card_checkout
enable_credit_card_discover
enable_credit_card_mastercard
cart_list_product_multiple
cart_list_product_summary
cart_list_product_subtotal
cart_list_product_list_price
cart_list_product_was_price
cart_list_product_limit_per_order
cart_list_product_image_xsmall
cart_list_product_image_tn
cart_list_product_image_med
cart_list_product_image_full
cart_list_inventory_color
cart_list_inventory_quantity
cart_list_inventory_price
field1_list_container_start
field1_list_container_end
setting_use_homepage_list
product_list_image_xsmall
product_list_rebate_expire
product_list_price_after_rebate
product_list_allow_notify
product_list_image_xsmall
product_list_rebate_expire
product_list_price_after_rebate
product_list_allow_notify
category_html_description
field_list_html_description
product_image_list_caption
product_image_list_xsmall
product_price_after_rebate
review_list_container_start
review_list_container_end
product_tag_list_container_start
product_tag_list_container_end
related_list_container_start
related_list_container_end
product_image_list_xsmall
checkout_shipping_price_1
checkout_shipping_price_2
checkout_shipping_price_3
checkout_shipping_price_4
checkout_shipping_price_5
checkout_shipping_price_6
saved_list_item_product_id
saved_list_product_multiple
saved_list_product_summary
saved_list_product_list_price
saved_list_product_was_price
saved_list_product_limit_per_order
saved_list_product_image_xsmall
saved_list_product_image_tn
saved_list_product_image_med
saved_list_product_image_full
saved_list_inventory_size
saved_list_inventory_color
saved_list_inventory_quantity
saved_list_inventory_price
checkout_completed_order_id
address_list_option_value
address_list_option_display
recent_orders_list_status
recent_orders_list_contents
recent_orders_list_subtotal
recent_orders_list_discount
recent_orders_list_shipping
recent_orders_list_s_name
recent_orders_list_s_address1
recent_orders_list_s_address2
recent_orders_list_s_city
recent_orders_list_s_state
recent_orders_list_s_country
recent_orders_list_s_phone
recent_orders_list_s_email
recent_orders_list_s_date
recent_orders_list_s_tracking
recent_orders_list_s_method
recent_orders_list_s_instruction
recent_orders_list_b_name
recent_orders_list_b_address1
recent_orders_list_b_address2
recent_orders_list_b_city
recent_orders_list_b_state
recent_orders_list_b_country
recent_orders_list_b_phone
recent_orders_list_b_email
recent_orders_list_b_date
recent_orders_list_b_method
all_orders_list_s_address1
all_orders_list_s_address2
all_orders_list_s_country
all_orders_list_s_tracking
all_orders_list_s_instruction
all_orders_list_b_address1
all_orders_list_b_address2
all_orders_list_b_country
field_list_label_field_name
field_list_field_list_container_start
field_list_field_list_container_end
field_list_field_list_start
field_list_field_list_end
field_list_field_list_url
field_list_field_list_name
field_list_field_list_count