Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

Search
Pointers, buttons & menus

Quantity stepper and subtotal

Adjust quantity and see the subtotal and stock limit as you go.

Preparing preview

quantity-and-total.html
<section class="fx quantity-demo" lang="en" aria-label="Cart quantity demo">
  <div class="cols">
    <img class="product-photo" src="__WW_VISUAL_1__" alt="Rose graphic T-shirt">
    <div>
      <h2>Adjust quantity</h2>
      <p class="intro">Rose tee · sample price $26 each</p>
      <div class="panel">
        <div class="row quantity-stepper" role="group" aria-label="Quantity">
          <button type="button" data-step="-1" aria-label="Decrease quantity" aria-disabled="true">−</button>
          <output data-qty>1</output>
          <button type="button" data-step="1" aria-label="Increase quantity" aria-disabled="false">+</button>
        </div>
        <p class="qty-total">Subtotal <strong data-total>$26.00</strong></p>
        <p class="status" role="status" data-cap>1 of 3 available</p>
      </div>
    </div>
  </div>
</section>