Developer manual

cartsummary

Embeds the SimpleCart cart summary panel

Updated: Type: springtag

Method

<cartsummary/>

Current

Request Attributes

  Attribute Type Description Default Required?
current heading string The heading at the top of the cart summary panel Your Cart No
current button-text string The button text Checkout No
current button-url string The url the button redirects to. /view/shop/checkout No

Examples

#1

Request

<cartsummary/>

Response

<div class="cartsummary">
    <h3>Your Cart</h3>
    <p class="summary">
        <span class="simpleCart_quantity">0</span>
        <span> items - </span>
        <span class="simpleCart_total">0</span>
    </p>
    <p class="button">
        <a href="/view/shop/checkout">Checkout</a>
    </p>
</div>