Template Pages

Change the design of your View Cart Page

Purpose: This template is used for view_cart.asp which displays the items a customer has on their cart before they proceed to the final checkout pages.

Code Blocks within Template: This template will also contain certain blocks which will only come into play during specific situations. For example, the shipping preview blocks will only apply if the function is enabled on the store. Furthermore, the international shipping preview blocks will only apply if that individual setting is also enabled.

Note: It is important to preserve the commented tags to ensure the software performs correctly.

For example:

    <!--START: CATEGORY_HEADER-->
      [CONTENT]
    <!--END: CATEGORY_HEADER-->
        [shipping_zip]
        [viewcart_continue-shopping]
        [continue_url]
        [viewcart_checkout-button]
    <!--START: SHOPPING_CART_SHIPMENT_INFO-->
        [name]
        [address]
      <!--START: EDITADDRESS-->
         [shipmentid]
      <!--END: EDITADDRESS-->
    <!--END: SHOPPING_CART_SHIPMENT_INFO-->
        [shoppingcart_items]
        [shoppingcart_quantity]
        [shoppingcart_price]
        [shoppingcart_total]
    <!--START: SHOPPING_CART_ITEM-->
      <!--START: itemthumbnail-->
        [ITEM_CATALOGID]
        [THUMBNAIL]
      <!--END: itemthumbnail-->
        [ITEM_CATALOGID]
        [ITEM_NAME]
      <!--START: itemoptions-->
        [ITEM_ID]
        [ITEM_ID]
        [ITEM_ID]
        [OPTIONS]
      <!--END: itemoptions-->
      <!--START: recurring_frequency-->
        [recurring_frequency]
      <!--END: recurring_frequency-->
        [ITEM_QUANTITY]
        [ITEM_ID]
        [ITEM_PRICE]
        [ITEM_SUBTOTAL]
    <!--END: SHOPPING_CART_ITEM-->
        [shoppingcart_subtotal]
        [CARTSUBTOTAL]
    <!--START: BUYSAFE_CONTROL-->
      <!--START: BUYSAFE_LEARNMORE-->
        [buysafe_cartdetailsurl]
        [buysafe_cartdetailsdisplaytext]
      <!--END: BUYSAFE_LEARNMORE-->
        [buysafe_bondingsignal]
      <!--START: BUYSAFE_BONDCOST-->
        [buysafe_bondcostdisplaytext]
      <!--END: BUYSAFE_BONDCOST-->
    <!--END: BUYSAFE_CONTROL-->
    <!--START: DISCOUNTS-->
        [checkout1_discounts]
        [DISCOUNTS]
    <!--END: DISCOUNTS-->
        [shoppingcart_total]
        [CARTTOTAL]
        [viewcart_total-note]
    <!--START: apply_coupon-->
        [viewcart_coupon-header]
        [viewcart_coupon-message]
    <!--END: apply_coupon-->
    <!--START: ShipQuote-->
        [viewcart_shipping-header]
        [shipping_zip]
        [viewcart_shipping-message]
      <!--START: viewcart_ship-->
        [shipping_city]
        [shipping_state]
        [shipping_zip]
      <!--START: Shippers-->
        [OPTION-SHIPPER]
        [OPTION-DESCRIPTION]
        [OPTION-PRICE]
      <!--END: Shippers-->
      <!--END: viewcart_ship-->
    <!--END: ShipQuote-->
    <!--START: ShipQuoteInternational-->
        [viewcart_shipping-header]
        [shipping_zip]
        [viewcart_shipping-message]
      <!--START: viewcart_ship-->
        [shipping_city]
        [shipping_state]
        [shipping_zip]
      <!--START: Shippers-->
        [OPTION-SHIPPER]
        [OPTION-DESCRIPTION]
        [OPTION-PRICE]
      <!--END: Shippers-->
      <!--END: viewcart_ship-->
    <!--END: ShipQuoteInternational-->
    <!--START: savecart-->
        [viewcart_save-cart]
    <!--END: savecart-->
        [viewcart_continue-shopping]
        [continue_url]
        [shoppingcart_updatecart]
        [viewcart_checkout-button]
    <!--START: INTERNATIONAL_CHECKOUT-->
    <!--END: INTERNATIONAL_CHECKOUT-->
    <!--START: BONGO_INTERNATIONAL-->
    <!--END: BONGO_INTERNATIONAL-->
    <!--START: GOOGLECHECKOUT-->
        [gc_merchantid]
    <!--END: GOOGLECHECKOUT-->
    <!--START: paypalexpress-->
    <!--END: paypalexpress-->
    <!--START: checkoutByAmazon-->
        [amazon_cba_form]
    <!--END: checkoutByAmazon-->
    <!--START: shopatron-->
    <!--END: shopatron-->
    <!--START: apply_coupon_validation-->
    <!--END: apply_coupon_validation-->
    <!--START: PROMOTIONS-->
        [viewcart_discounts-header]
    <!--START: DISPLAY_PROMOS-->
        [id]
        [promotion_name]
        [promotion_description]
        [promotion_start]
        [promotion_end]
    <!--START: REMOVE_PROMO-->
    <!--END: REMOVE_PROMO-->
    <!--END: DISPLAY_PROMOS-->
    <!--END: PROMOTIONS-->
    <!--START: GIFTCERTIFICATES-->
        [viewcart_giftcertificates-header]
      <!--START: DISPLAY_GIFTCERTIFICATES-->
        [id]
        [certificate_name]
        [discount_amount]
      <!--END: DISPLAY_GIFTCERTIFICATES-->
    <!--END: GIFTCERTIFICATES-->
    <!--START: FEATURE_MENU-->
        [viewcart_feature-header]
      <!--START: CATEGORY_ITEMS-->
      <!--START: ITEM_TEMPLATE_0-->
        [catalogid]
        [THUMBNAIL]
        [name]
        [catalogid]
        [name]
        [ITEMPRICE]
      <!--END: ITEM_TEMPLATE_0-->
      <!--END: CATEGORY_ITEMS-->
    <!--END: FEATURE_MENU-->
    <!--START: CATEGORY_FOOTER-->
        [CONTENT]
    <!--END: CATEGORY_FOOTER-->
    <!--START: ShipQuoteInternationalScript-->
        [shipping_country]
        [shipping_state]
    <!--END: ShipQuoteInternationalScript-->

Note: Code blocks and their respective variables will only work with specific template pages.

Note: Some of these variables are used in multiple places on the page, with their dynamic content controlled by the code block used in each instance. Also, many of the variables are dynamically inserted from your cart's Settings ->Design ->Store Language section.

  • [viewcart_continue-shopping] - Displays the Title of the "Continue Shopping" link/button. (See Settings ->Design ->Store Language)
  • [continue_url] - Used by the Software to insert the applicable "Continue Shopping" action destination. (See Settings ->General ->Store Settings)
  • [viewcart_checkout-button] - Displays the Title of the "Proceed to Checkout" link/button. (See Settings ->Design ->Store Language)
  • [name] - When multiship to is enabled and applicable, this variable will insert the shipping destination's name into the view cart page. (Items will be listed with their respective destinations.)
  • [address] - When multiship to is enabled and applicable, this variable will insert the shipping destination's address into the view cart page. (Items will be listed with their respective destinations.)
  • [shipmentid] - When multiship to is enabled and applicable, this variable will insert the shipping destination's shipment number into the view cart page. (Items will be listed with their respective destinations.)
  • [shoppingcart_items] - Displays the Title of the "Items" header column. (See Settings ->Design ->Store Language)
  • [shoppingcart_quantity] - Displays the Title of the "Qty" header column. (See Settings ->Design ->Store Language)
  • [shoppingcart_price] - Displays the Title of the "Price" header column. (See Settings ->Design ->Store Language)
  • [shoppingcart_total] - Displays the Title of the "Total" header column. (See Settings ->Design ->Store Language)
  • [ITEM_CATALOGID] - Used by the Software to reference the item database ID information.
  • [THUMBNAIL] - Inserts the thumbnail image of the product(s).
  • [ITEM_NAME] - Inserts the Item Name information.
  • [ITEM_ID] - Used by the Software to reference the the item SKU information.
  • [OPTIONS] - Used by the Software to insert selected product options. (A link will be provided to show or hide selected options)
  • [recurring_frequency] - If 3dcart's Autoship Add-on is used on the store, this variable displays the frequency selected for order recurrence frequency.
  • [ITEM_QUANTITY] - Inserts the total number of item units added to cart.
  • [ITEM_PRICE] - Inserts the individual item unit price.
  • [ITEM_SUBTOTAL] - Inserts the added item subtotal.
  • [shoppingcart_subtotal] - Displays the Title of the shopping cart's "Subtotal" section. (See Settings ->Design ->Store Language)
  • [CARTSUBTOTAL] - Inserts the entire cart's subtotal.
  • [checkout1_discounts] - Displays the Title of the shopping cart's "Discount" section. (See Settings ->Design ->Store Language)
  • [DISCOUNTS] - Inserts any applicable discount amount.
  • [shoppingcart_total] - Displays the Title of the shoppping cart's "Total" section. (See Settings ->Design ->Store Language)
  • [CARTTOTAL] - Inserts the cart's applicable Total.
  • [viewcart_total-note] - Displays the Text of the shopping cart's "Note: Total does not inclide tax, shipping, etc" section. (See Settings ->Design ->Store Language)
  • [viewcart_coupon-header] - Displays the Title of the shopping cart's "Apply Coupon" section. (See Settings ->Design ->Store Language)
  • [viewcart_coupon-message] - Displays the Text of the shopping cart's "If you have a promotion code enter it here" message. (See Settings ->Design ->Store Language)
  • [viewcart_shipping-header] - Displays the Title of the "Calculate Shipping" section. (See Settings ->Design ->Store Language)
  • [shipping_zip] - Used by the Software to provide the previews shipping quote.
  • [viewcart_shipping-message] - Displays the Text of the "Enter zip code to calculate shipping" message. (See Settings ->Design ->Store Language)
  • [shipping_city] - When the shipping preview is used, this variable inserts the preview's applicable City information.
  • [shipping_state] - When the shipping preview is used, this variable inserts the preview's applicable State information.
  • [shipping_zip] - When the shipping preview is used, this variable inserts the preview's applicable Zip/Postal Code information.
  • [OPTION-SHIPPER] - When the shipping preview is used, this variable inserts the Shipping Carrier's name.
  • [OPTION-DESCRIPTION] - When the shipping preview is used, this variable inserts the shipping method's caption label.
  • [OPTION-PRICE] - When the shipping preview is used this variable inserts the selected/available method's price.
  • [viewcart_save-cart] - If the "Saved Carts" function is enabled, this variable will display the text of the "Save for Later" link/button. (See Settings ->Design ->Store Language)
  • [shoppingcart_updatecart] - Displays the Title of the "Update Cart" link/button. (See Settings ->Design ->Store Language)
  • [gc_merchantid] - If the Google Wallet payment method is enabled and applicable, this variable will be used by the software to transmit the merchant's Google Wallet ID.
  • [amazon_cba_form] - If Checkout by Amazon is enabled and applicable, this variable will be used to insert the Checkout by Amazon button and link information.
  • [viewcart_discounts-header] - Displays the Title of the "Valid Promotions" section. (See Settings ->Design ->Store Language)
  • [id] - Used by the Software to reference the applicable coupon's information.
  • [promotion_name] - Inserts the applicable Promotion's name information. (See Marketing ->Promotion Manager)
  • [promotion_description] - Inserts the applicable Promotion's description information. (See Marketing ->Promotion Manager)
  • [promotion_start] - Inserts the applicable Promotion's "Valid From" Start Date. (See Marketing ->Promotion Manager)
  • [promotion_end] - Inserts the applicable Promotion's "Valid From" End Date. (See Marketing ->Promotion Manager)
  • [viewcart_giftcertificates-header] - Displays the Title of the "Gift Certificates" section.
  • [id] - Used by the Software to reference any applicable Gift Certificate database ID information.
  • [certificate_name] - Inserts the Gift Certificate's name/code information.
  • [discount_amount] - Inserts the applicable Gift Certificate's amount information.
  • [viewcart_feature-header] - Displays the Title of the View Cart page's "You May Also Like" section. (See Settings ->Design ->Store Language)
  • [shipping_country] - Used by the Software to provide a selectable country to calculate international shipping previews. (See Settings ->Shipping ->Shipping Settings)
  • [shipping_state] - Used by the Software to provide a selectable state to calculate international shipping previews. (See Settings ->Shipping ->Shipping Settings)

Download this Template     (Save as a backup or edit to customize)

Screenshot of the view_cart.html Template