Selling: cart and checkout
When the shop sells, every product ends in Add to cart, visitors fill a cart, and a one-page checkout takes their address, a delivery choice and their payment. The money goes through the shared Payments system, so every provider you set up there (card, PayPal, bank transfer, GCash and the other regional providers) works in the shop with nothing more to set up.
Start selling
- Go to Shop → Settings and click Start selling online.
- The shop makes two pages, Cart and Checkout, and switches Payments on.
- Set up at least one way to pay in Payments → Settings (bank transfer needs no account anywhere).
- Optional: set your delivery prices in Shop → Delivery. Until you do, delivery is free everywhere.
The panel then says what is ready and what is not. Go back to catalog mode stops the cart and the checkout; your orders, pages and products are kept, and you can start selling again at any time.
A product marked Price on request keeps its enquiry button even while the shop sells, so you can sell most things online and quote for the rest. Catalog mode →
What the buyer sees
Add to cart
- The buyer picks the options and a quantity. A combination that is out of stock disables the button.
- Adding asks for more than is left? The shop says how many are left and adds nothing.
- The page does not reload. To show the number of items anywhere (a header, a menu), use the shortcode
[shop_cart_link]; it prints Cart with the count and links to the cart.
The cart
- Changing a quantity or removing a line updates the sums at once.
- Discount code: the codes from Payments → Coupons, the same list Membership and Forms use. A code made for something else ("membership only") is refused with the reason.
- Prices are always today's. The cart keeps only what was chosen and how many, never a price, so a price you change reaches carts already filled. If a product sells out or is unpublished while it sits in a cart, the cart corrects itself and tells the buyer.
- A guest's cart is kept by a cookie; once they log in it becomes their account's cart, on any device.
The checkout
One page, top to bottom:
| Part | What is asked |
|---|---|
| Your details | Email (the receipt goes there), full name, phone (optional) |
| Delivery address | Country, address, town, postcode, state. For an order with nothing to ship (downloads, services) only the country is asked, for tax. |
| Delivery | The ways to deliver to that address, with their prices. Appears once the country is chosen. |
| Payment | The ways to pay that are on in Payments and that suit the currency, the country and the amount |
| Anything else? | A note for you, "make me an account", and "I agree to the terms" when you set a terms page |
The summary on the right follows every choice: the delivery price, the discount and the tax are worked out by the server each time, never in the browser. Place order checks everything again on the server before anything is charged, so a changed price, a code that has run out or the last item going to someone else is caught and explained, not charged.
- Card, PayPal and other hosted pages: the buyer goes to the provider's page and comes back to their order. If they come back without paying, nothing is charged and their cart is as they left it.
- Bank transfer and payment at a counter: the order is placed at once and waits for the money. The buyer sees how to pay (your instructions, with the amount and the order number filled in) on the screen and in an email.
- A free order (a free download, or a code that covers everything) needs no payment step.
The order page
After ordering the buyer lands on their order. It says where the order stands (waiting for payment, paid, on its way…), how to pay when that is still to do, the tracking number once it is sent, the download links once it is paid, and the invoice when invoices are on. The link carries a secret key, so only the buyer can open it; it is also in every email.
Settings for selling
| Setting | What it does |
|---|---|
| Cart page / Checkout page | The pages that hold the Cart and Checkout elements. Made for you; pick others if you build your own. |
| Who can buy | Anyone (an account is offered, not required), or only people who are logged in |
| Terms page | When filled in, the buyer must tick "I agree to the terms" |
| Tell me about new orders at | Who gets the new-order email. Empty: the site's admin email. |
| Order numbers start with | S- gives S-1001, S-1002… |
| Keep items for a buyer who is paying | While someone is on a payment page nobody else can buy their items; after this many minutes they are offered again |
The currency, the ways to pay, coupons, tax and invoices are set in Payments, once for the whole site. Payments →
Elements
Both pages are page-builder pages, so you can add anything around the two elements (a heading, trust badges, a FAQ).
| Element | Shortcode | What it shows |
|---|---|---|
| Cart | [shop_cart] | The cart, the discount code box and the Checkout button |
| Checkout | [shop_checkout] | The checkout, and afterwards the buyer's order |
Neither has settings of its own: what they show comes from the shop's settings. Each has the usual Animations and Advanced tabs. Use each once, on the page chosen in the settings.
Emails
The shop sends these through WordPress's mail, so the Mailer extension (or any SMTP plugin) delivers them:
| To | When | |
|---|---|---|
| How to pay | the buyer | An order waits for a bank transfer or a payment at a counter |
| Receipt | the buyer | The order is paid (with the download links) |
| On its way | the buyer | You mark it as sent (with the tracking number) |
| Cancelled | the buyer | An order they had been told about is cancelled |
| Refund | the buyer | Money is returned, in full or in part |
| New order | you | Once per order, when it is paid or waiting for its payment |
Each email lists what was bought and the sums, and links to the buyer's order page. Every email sent is noted in the order's history.
Limits of this version
- One currency per site, the one set in Payments.
- No customer account page with past orders yet; the buyer reaches each order from its email. It comes with the member area on the roadmap.
- No abandoned-cart emails, gift cards or subscriptions of physical products yet (roadmap Phase 6).
- Delivery prices are your own table. Live carrier rates can be added by a developer through a filter.