Engine Pay
Cart and checkout
How the Engine Pay cart, checkout and account pages work, and how to set shipping, pickup, tax, discount codes and terms of sale.
When a buyer presses Add to cart, Engine Pay keeps the item in their cart. From there they go to the checkout, pay, and land on a receipt page. Buyers can also sign in to an account page to see their orders and downloads.
You do not build these pages yourself. They appear under your shop page's menu item, for example /shop/cart, /shop/checkout and /shop/account. See Products for the shop page.
The cart
The cart page (Your cart) shows each product with its option, price and quantity. Buyers can:
- change quantities and press Update cart, or Remove a line,
- enter a Discount code and press Apply,
- go back with Continue shopping, or press Checkout.
The Summary shows the subtotal, the discount, shipping, tax and the total. When you offer free shipping from a certain amount, the cart tells buyers how much more they need to add.
A product cannot be added beyond its stock. The cart says "Only 3 left in stock" or "Sorry, this is sold out".
The checkout
The checkout page asks for:
- Contact: Full name, Email and Phone.
- Delivery: Ship to me with the shipping price, or Pick up · free when you offer pickup. With shipping, the address: Address, Apartment, suite (optional), City, State / region, Postcode and Country.
- Order notes (optional).
- Payment: the ways to pay that are set up.
- A tick box for your terms of sale, if you set a terms page.
The buyer presses Place order with the total on the button. Card and PayPal payments finish on the provider's secure page.
Buyers who are not signed in see a link to sign in "to see your orders later", or can continue as a guest.
If no way to pay is set up, the checkout says "Online payment is not set up yet. Please contact us to order."
Before the order is created, Engine Pay checks the name, email, address (when shipping), the terms tick and the stock again.
Shop settings
Go to Components > Engine Builder > Options > Shop.
| Setting | What it does |
|---|---|
| Shipping price | One flat price per order. 0 means free shipping. |
| Free shipping from | Order total (after discounts) from which shipping is free. 0 means never. |
| Ship to | Two-letter country codes with a comma between, for example US, CA, GB. |
| Offer pickup | Adds Pick up · free at checkout. |
| Pickup note | For example "Ready in 2 hours at our shop". |
| Tax rate (%) | One rate for the whole shop, 0 for none. |
| Prices include tax | Yes: your prices already contain the tax, and the summary shows the tax line marked "(included)". No: the tax is added on top. |
| Tax name | The word buyers see, for example VAT, GST or Sales tax. |
| Discount codes | One per line: CODE=10% for a percentage, CODE=5 for an amount off. |
| Terms of sale page | Optional address (or index.php?Itemid=...). When set, buyers must tick that they agree. |
Shipping is only charged when at least one product in the cart has Needs shipping switched on. Tax is worked out on the products after the discount plus shipping.
Example discount codes:
WELCOME10=10%
FIVEOFF=5The receipt page
After paying, the buyer lands on the receipt page:
- Payment received with the order, the items, the delivery address and the total.
- Download your file buttons for digital products.
- We are confirming your payment with a Refresh this page link, if the payment is still being confirmed.
- For offline payments: Thank you! Here is how to pay with your instructions.
The receipt page address is private to the buyer. The buyer also gets it by email.
The account page
The account page (My account) lets buyers:
- Sign in with their Joomla account, or Create an account.
- See their orders, each order's details and their downloads.
- Use Change name, email or password.
Guest buyers can use Find an order: they enter the Order number and the Email they used and press Show my order. When a buyer later makes an account with the same email, their earlier guest orders join the account.
Put an Account link element in your header so buyers can find this page.