Announcement

Collapse
No announcement yet.

Show Cart Items and SubTotal

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Show Cart Items and SubTotal

    Thought I would post this for everyone.

    Your shopping cart (on the homepage) by default just displays the total items in the cart. If you want to show the dollar amount as well, just use the [SUBTOTAL] code block. For example:

    HTML Code:
    <!--START: shopping_cart-->
    <li>
    <span class="cart-icon"><a href="/view_cart.asp"><img src="assets/templates/[template]/images/cart.jpg" alt="Shopping Cart" border="0"></a></span>
    <span class="cart-text">[ITEMSINCART] item(s)</span>
    <span class="cart-text">[SUBTOTAL]</span>
    </li>
    <li><a href="/view_cart.asp" class="link" style="text-decoration: underline;">View Cart</a></li>
    <!--END: shopping_cart-->
    This will make it so the cart will appear as:

    0 Item(s) $0.00 View Cart

    Hope this is helpful to everyone.

  • #2
    Our template has this already, but thanks for sharing.
    http://www.pack-secure.com

    Packaging and Shipping Supply Specialists

    Comment

    Working...
    X