Shopping Cart: Title, Header and Footer

ShopSite has merchant-definable fields specifically for the title of the Shopping Cart Page and the header and footer.

  • The [-- STORE.SC_YourShoppingCart --] tag returns a text string that the merchant can modify, but the default value is "Your Shopping Cart." It works well for the page title.
  • The [-- ShoppingCartHeader --] tag returns the contents of the "Text at the top of the Shopping Cart screen" field. This field can contain any combination of plain text and HTML and JavaScript, or anything the merchant wants to put in that field (or nothing). The [-- ShoppingCartFooter --] tag is the same for the "Text at the bottom of the Shopping Cart screen."
  • The [-- SC_ShowBasket --] tag displays the "Show me my shopping cart every time I order something" text and checkbox. If the merchant chooses not to display that option, the tag produces nothing.
    [-- DEFINE ShoppingCart --]
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>[-- STORE.SC_YourShoppingCart --]</title>
    <script type="text/javascript" language="JavaScript">
    <!--
    [-- SC_JAVASCRIPT extras --]
    // -->
    </script>
    <style type="text/css">
    body { color: #[-- STORE.SC_TextColor --]; background-color: #[-- STORE.SC_BackgroundColor --]; [-- IF STORE.SC_BackgroundImage --] background-image: url("[--STORE.SC_BackgroundImage--]"); [-- END_IF --]
    }
    </style>
    </head>
    <body>
    [-- ShopSiteMessages --]
    [-- ShoppingCartHeader --]

    [-- SC_Form --]
    <!------------------------------------>
    <!--THE BODY OF THE CART GOES HERE -->
    <!------------------------------------>
    <center>[-- SC_ShowBasket --]</center>
    </form>
    [-- ShoppingCartFooter --]
    </body>
    </html>
    [-- END_DEFINE ShoppingCart --]
Next: SC Product Listing