cart.tpl
Description
The cart template handles steps 1 to 4 of the checkout process.
When looking at the template structure below, steps 3 and 4 appear only in step 3 and 4.
Template file location
/skins/YOUR_SKIN/styleTemplates/content/cart.tpl
Control file location
/includes/content/cart.inc.php
Classic skin template output screenshot
Step 1

Step 2

Step 3 with different delivery address feature enabled.

Step 4.

Step 4 with a different delivery address feature enabled.

Basic template structure
<!-- BEGIN: view_cart -->
<!-- BEGIN: cart_false -->
If there are no products in the cart, this is displayed.
<!-- END: cart_false -->
<!-- BEGIN: cart_true -->
If there are contents in the cart, this is displayed.
<!-- BEGIN: step_3 -->
Address details.
<!-- BEGIN: country_opts -->
Country dropdown menu options.
<!-- END: country_opts -->
<!-- END: step_3 -->
<!-- BEGIN: step_4 -->
Address details.
<!-- BEGIN: edit_btn -->
Edit delivery address button, returns to step 3.
<!-- END: edit_btn -->
<!-- END: step_4 -->
Cart contents table header.
<!-- BEGIN: repeat_cart_contents -->
Products in the cart, repeats for each product.
<!-- BEGIN: options -->
Product options for each product.
<!-- END: options -->
<!-- BEGIN: stock_warn -->
Stock warning if applicable for each product.
<!-- END: stock_warn -->
<!-- END: repeat_cart_contents -->
<!-- END: cart_true -->
<!-- END: view_cart -->
|