Shopping cart: how it works
The cart collects what a visitor wants to buy before checkout and shows the total with discounts, tax and shipping. It works without an account, so anyone can fill it and order.
Lesson 6 of 10 · How it works
How it works
«Add to cart» on a product puts it in the cart. The cart is kept in the visitor's browser for 30 days, so no sign-in is needed.
On «/cart» the visitor changes quantities or removes lines. A quantity is limited to 99 and, for tracked products without backorders, to the stock on hand; products that are no longer published drop out.
The summary shows subtotal, discounts, tax, shipping and total. Shipping is your flat rate, or free once the order reaches the free-shipping amount.
«Coupon code» and «Apply» check the code against every rule of the coupon and say why it does not work. A code whose condition can still be met, such as a minimum order, stays and starts working when the cart qualifies.
Signed-in members get their member or Tier A level in your points program, such as Silver or Gold. A loyalty card belongs to one customer and shows their points and tier. More words in the glossary discount by itself when it is allowed online, and can use Loyalty points Points a customer collects on completed till sales and spends later as a discount. You decide how many points per AED and what one point is worth. More words in the glossary with «Use points». Discounts are taken in this order: member discount, coupon, points.
«Checkout» leads to the checkout page. In the account, «Buy again» on an earlier order puts its items back into the cart at today's prices.
Where to find it
- Website: Cart
/cart - Website → Design studio → Site layouts
/admin/design/layouts
Settings that change it
- Settings → Finance & documents → Shop payments & shipping
/admin/settings/finance?section=shop - Marketing → Coupons
/admin/coupons - Memberships & loyalty → Settings
/admin/memberships/settings
Checklist
Before you move on, check that you can:
- Open Website → Design studio → Site layouts
- Add to cart on a product puts it in the cart.
- On /cart the visitor changes quantities or removes lines.
- The summary shows subtotal, discounts, tax, shipping and total.
- Coupon code and Apply check the code against every rule of the coupon and say why it does not work.
Tips and common mistakes
- The cart lives in the browser, not in the account: on another device or after clearing the browser data it is empty. Staff cannot see carts; an unpaid order gets a reminder instead.
- «Use points» is missing? The customer must be signed in and have points, and «Redeem at online checkout» must be on under «Memberships & loyalty → Settings».
- A coupon that cannot be combined with other discounts is refused while a member discount applies, unless the coupon has «Can be combined with other discounts» ticked.
- Coupon guessing is limited: after about ten tries in ten minutes the visitor has to wait a few minutes.