Liane docs › Sections › Cart
Cart
Part of the cart page. You can change its settings, but not add it elsewhere.
The Cart section is the cart page. Each line shows the product’s picture, title, options, price and line total, with a quantity stepper and a Remove link. Quantities change in place: the totals update without reloading, and if a customer asks for more than you have in stock, the message shows on that line. Beside the lines (under them on small screens), the order summary holds the order note, the subtotal, any discounts by name, the estimated total, Check out and the accelerated checkout buttons. Where it has room, the line rules off the totals like a receipt.
Customers reach this page from the header’s cart icon (unless Theme settings › Cart › Cart type is Drawer), from View cart in the drawer or the “Added to your cart” panel, and straight after each add when Cart type is Page.
An empty cart shows the Empty cart heading, text and button, then the products the visitor looked at last, when there are any. The Continue shopping link label beside the heading shows only while the cart has items, and goes to all products.
Tips
- The order note shows only when Theme settings › Cart › Show cart note is on. The Cart note placeholder suggests what to write in it.
- There is no discount code field: customers enter codes at checkout. Automatic discounts show in the totals.
- The Cart recommendations section below suggests products to go with the cart.
Settings
| Setting | What it does | Default |
|---|---|---|
| Color scheme | Scheme 1 | |
| Line | Pass beside the content: the line runs down the section’s side and draws nothing around its content. Pause here: the line goes behind the section and comes out below it. | Draw around the content |
| Heading | “Your cart” | |
| Continue shopping link label | “Continue shopping” | |
| Cart note placeholder | Shown when Theme settings > Cart > Show cart note is on. | “A gift message, or how to find your door” |
| Show accelerated checkout buttons | Shop Pay and the other wallets set up in Settings > Payments. | On |
| Empty cart | ||
| Heading | “Your cart is empty” | |
| Text | “Nothing here yet. Browse the shop to find something you like.” | |
| Button label | “Continue shopping” | |
| Button link | Without a link, the button goes to all products. | |