Skip to content
  1. Docs
  2. Purchase
  3. Quick order + Buy in 1 click

Quick order + Buy in 1 click

How to set up ordering without registration in the Trust template for OpenCart 3: the “Quick order” popup, a phone-only “Buy in 1 click” field, form fields, rules, where to show them, anti-spam.

3 min read

Two ways to place an order without a cart and registration — for customers who don’t want to spend time on a form:

  • Quick order — a button opens a window with the product where the customer leaves contacts and orders right away;
  • Buy in 1 click — the customer only needs to enter a phone number. The order is created at once, and you call back to confirm the details.

Quick order buttons on the product page

Open Octemplates → Modules → Quick order.

Guest checkout is required. Both methods create an order without an account, so turn on “Guest Checkout” in System → Settings, the “Option” tab. If it is off, the buttons are not shown on the site.

Quick order

The customer clicks the button on a product, sees a window with the photo, price and a form, and places the order as a guest.

Quick order window

Settings are on the “Quick order” tab.

Quick order settings

General

  • Quick order — shows the button and the order window on product pages.
  • New order status — the status the order gets right after it is placed.
  • Order email — used as the customer’s email if the Email field is off or the customer left it empty.

Form fields

For the “Name”, “Phone” and “Email” fields choose a mode: “Show and require”, “Show (optional)” or “Hide”. The “Comment” field is simply switched on or off.

FieldNotes
NameIf the name is hidden or empty, the order uses the module name instead of the customer’s name.
EmailIf the field is hidden or empty, the “Order email” is used for the order.
PhoneValidated against the country mask from the template settings.
CommentA multi-line field for the customer’s wishes. It goes into the order comment.

Tip. Keep only the phone required, make the name optional and hide the email. The shorter the form, the more customers will complete it.

Order rules

SettingWhat it does
Quantity selectorThe customer can change the quantity in the window. Off — always the product’s minimum quantity.
Check stockDoesn’t allow ordering more than is in stock. Off — the order is accepted even without stock.
Minimum order amountIn the default currency. A smaller amount — the order isn’t placed and the customer sees a message. 0 — no limit.

Photo and options

  • Show photo — the product photo and gallery in the window. Set the width and height; empty — the size comes from the template settings.
  • Allowed options — only the selected product options (size, color) are shown in the window. If none are selected, there are no options, even required ones — so for products with options be sure to select the ones you need.

Buy in 1 click

A compact phone number field under the buy button. The order is created right after the click, without extra fields.

“Buy in 1 click” settings

  • Buy in 1 click — enables the field.
  • Order email — the customer enters only a phone, so the order is placed on this email.

Where to show the field

PlaceWhere exactly
Product pageUnder the buy button on the product page.
Quick viewIn the product quick view window.
Pop-up cartIn the cart window that opens after adding a product.
Cart pageOn the cart page — an order for all products in it.

Anti-spam

Forms are protected by a token, a hidden trap field and rate limits by phone and IP. If needed, a captcha is connected in the store settings for the oct_popup_purchase page.