CubeCartForums.org Documentation Area

CubeCartForums.org for CubeCart third-party documentation, modifications, skins and services
Permanent Link   Print This Page
Introduction CubeCart v3 CubeCart v4 Appendix Search

CubeCart Version 4 Documentation - cart.tpl

Google Translate:

cart.tpl

Description

The cart template handles the cart and step 2 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

Cart Contents


Step 2


Step 2 with a different delivery address feature enabled.

Basic template structure

<!-- BEGIN: view_cart -->

<!-- BEGIN: cart_false -->
          Nothing in the cart.
<!-- END: cart_false -->

<!-- BEGIN: cart_true -->
          Cart contents exist.
     <!-- BEGIN: edit_delivery -->
              Delivery details.
         <!-- BEGIN: county_opts -->
                  County/state options.
         <!-- END: county_opts -->

         <!-- BEGIN: country_opts -->
                  Country options.
         <!-- END: country_opts -->
     <!-- END: edit_delivery -->

     <!-- BEGIN: fixed_delivery -->
              Fixed delivery.
         <!-- BEGIN: edit_btn -->
                  Edit button.
         <!-- END: edit_btn -->
     <!-- END: fixed_delivery -->

     <!-- BEGIN: repeat_cart_contents -->
              Cart content rows repeated.
         <!-- BEGIN: quanEnabled -->
                  Quantity box enabled.
         <!-- END: quanEnabled -->

         <!-- BEGIN: quanDisabled -->
                  Quantity box disabled.
         <!-- END: quanDisabled -->

         <!-- BEGIN: options -->
                  Product options.
         <!-- END: options -->

         <!-- BEGIN: stock_warn -->
                  Stock warning.
         <!-- END: stock_warn -->
     <!-- END: repeat_cart_contents -->

     <!-- BEGIN: repeat_more_taxes -->
              Tax information.
     <!-- END: repeat_more_taxes -->

     <!-- BEGIN: coupon_code_result -->
              Coupon information.
         <!-- BEGIN: remove -->
                  Remove coupon.
         <!-- END: remove -->
     <!-- END: coupon_code_result -->

     <!-- BEGIN: enter_coupon_code -->
              enter coupon code.
     <!-- END: enter_coupon_code -->

     <!-- BEGIN: alt_checkout -->
              Alternative checkout.
         <!-- BEGIN: custom_warn -->
                  Checkout warning.
         <!-- END: custom_warn -->

         <!-- BEGIN: loop_button -->
                  Checkout list.
         <!-- END: loop_button -->
     <!-- END: alt_checkout -->
<!-- END: cart_true -->

<!-- END: view_cart -->




Comments, Feedback, Suggestions and Documentation Submissions please post in the Documentation Chat Forum.