Buy in One Click lets a customer place an order by leaving a name and phone number, and saves it as a normal Shop-Script order.

Some customers do not want to fill in a checkout. They have chosen a product, they have one question about delivery, and they would rather have a manager call them. If the only way to order is the full checkout, some of them close the page.

The plugin adds a button that opens a short form on the product page and, if you want, in the cart. The order is checked on the server, gets its number and goes through your usual order workflow, so managers do not have to retype requests from email. It suits shops where a manager confirms orders by phone or email.

What you get

  • Real orders. Each request becomes a Shop-Script order with items, discounts, taxes and a customer.
  • Product page and cart. One button orders the product, another orders the whole cart.
  • Only the fields you need. Name, phone and email can each be required, optional or hidden.
  • Server checks. Stock, minimum quantity, multiplicity and your minimum order amount are checked before the order is created.
  • Protection without a captcha. A hidden field, signed form time and limits per visitor and IP address hold back spam orders.
  • Ready for analytics. After an order the page receives a JavaScript event, which is also pushed to window.dataLayer.

The button on the product page

The button “Buy in one click” appears next to the theme’s “Add to cart” button. You can change its text and colour in the settings. With automatic placement the quick order button is disabled whenever the theme’s add-to-cart button is disabled.

The setting Button placement has three options:

  • Automatic: the button stands right after the theme’s add-to-cart button.
  • Theme hook: the button stays where the theme prints plugin blocks.
  • Manual: the buttons appear only where you add a snippet to the theme. This also concerns the cart button.

The quick order button under “Buy now” on a product page

The quick order button under “Buy now” on a product page

The quick order form

The form opens over the page. On phones it opens from the bottom of the screen. It takes the SKU, services and quantity the customer has already chosen, and shows the items, the discount and the total before the order is placed. In the screenshot a mug costs $18, the discount is $1.80 and the total is $16.20.

On the product page the customer can change the quantity with the − and + buttons, and the total is recalculated. The buttons follow the product’s quantity step and minimum. A logged-in customer sees the name, phone and email already filled in.

If something is wrong, the form says what exactly, for example that only 3 pieces are in stock or that the product is sold in multiples of 5.

The form with the order summary, quantity and contact fields

The form with the order summary, quantity and contact fields

An order from the product page does not touch the customer’s cart. An order of the whole cart empties it after the order is created.

Settings: button, fields and texts

All settings are on one page. The product button is on by default, the cart button is off. Texts left empty use the defaults, which are translated into the language of the storefront.

  • Name field, Phone field, Email field: Required, Optional or Hidden. Either the phone or the email must be required, otherwise the settings are not saved.
  • Comment field: lets the customer add a comment.
  • Phone mask: for example +7 (###) ###-##-##. The customer then types digits only. Leave it empty for free input.
  • Consent text and Consent link: a checkbox that must be ticked before ordering. It is checked on the server as well.
  • Minimum order amount: in the primary currency, compared with the order total after discounts.

The plugin settings: buttons, texts and colour

The plugin settings: buttons, texts and colour

What the manager receives

The order appears in the order list like any other new order. Shop-Script calculates discounts and taxes. For a cart order the coupon entered at checkout is kept. The order also stores the storefront, IP address, referring page and UTM tags.

The order comment holds the contact details and the customer’s comment. With Order comment prefix you can add your own mark at the start. On the order page the manager sees a note such as “Placed with “Buy in one click” from the product page.” with a reminder to check the shipping cost and address.

You can choose a shipping method and a payment method for quick orders in advance. If the customer is not logged in, the plugin looks for an existing contact with the same email, then with the same phone. If there is none, it creates a new contact.

After the order

By default the form shows “Thank you! Your order … has been placed. We will contact you shortly to confirm it.” with the order number. You can write your own Success message, where %s is replaced with the number, or turn on Open the standard “Thank you” page.

The event apquickorder_success is sent on document and to window.dataLayer with the order id and number, mode, amount, currency and items. You can use it to count quick orders in your analytics.

How to start

  1. Install the plugin and open its settings.
  2. Choose Button placement and check the button on a product page of your storefront.
  3. Turn on Button in the cart if customers should be able to order the whole cart.
  4. Set the fields, the phone mask and, if you need it, the consent text.
  5. Choose the shipping and payment methods for quick orders, or leave “Not set”.
  6. Place a test order: wait at least three seconds after the page loads, then fill in the form.

Good to know

  • Shipping is not calculated. The order has a zero shipping cost, and the manager sets it when confirming.
  • The form does not ask for an address and takes no online payment.
  • Your theme must output the frontend_head hook, because the plugin’s script is printed there.
  • Automatic placement needs a standard add-to-cart form on the product page. Otherwise use the theme hook or the snippets.
  • The cart button works on the cart page and in the in-cart checkout if the theme prints the plugin hooks there. It is hidden when the cart is empty.
  • Your own texts are one set for all storefronts and languages.
  • A visitor can place up to 3 quick orders in 10 minutes, one IP address up to 5. The log for these limits keeps rows for 30 days. No cron job is needed.

Questions and answers

Is it an email request or an order?
It is an order. It is created through the standard Shop-Script mechanism and appears in the order list with its own number.

My theme has no hook next to the button. What should I do?
Try Automatic first, since it also works without the product hook. Or add {shopApquickorderPlugin::button($product)} to the product template. For the cart there is {shopApquickorderPlugin::cartButton()}.

Can I open the form from my own link or banner?
Yes. Any element with the attributes data-apquickorder="product" data-product-id="{$product.id}" opens the form.

Can a customer order more than there is in stock?
The server checks stock and respects your shop’s setting for ignoring stock and the stock of the storefront. Minimum quantity and multiplicity are checked too.

Why does the form say “The form has expired”?
The form is tied to the visitor’s session and is valid for two days after the page loads. Reloading the page is enough.

Does it work with products sold by weight?
Yes, fractional quantities and stock units are supported.

Requirements and support

Shop-Script with a theme that outputs the frontend_head hook. The plugin contacts no outside services. Its log table is removed when the plugin is uninstalled.

Interface languages: English and Russian. Support: allplugin.com/support.

What you get

  • “Buy in one click” button on the product page and in the cart
  • Creates a real Shop-Script order with items, discounts and taxes
  • Name, phone and email: required, optional or hidden
  • Live total with discounts in the form before ordering
  • Stock, minimum quantity and minimum order amount checked on the server
  • Spam protection without a captcha
  • Shipping and payment methods for quick orders chosen in advance
  • Phone mask and consent checkbox
  • JavaScript event and dataLayer push after an order

Specifications

PlatformWebasyst + Shop-Script 10 or newer (tested on 12)
PHP7.4 – 8.5
Interface languagesEnglish, Russian
PackageShop-Script plugin, .tar.gz
Licenceone store

Good to know

How do I get Buy in One Click for Webasyst Shop-Script after paying?

The download and your licence key unlock in your account as soon as the payment is confirmed. There is nothing to wait for.

Is this a subscription?

No. The price is paid once. Fixes and compatibility updates for the version you bought are included.

What does it work with?

Buy in One Click for Webasyst Shop-Script works with Webasyst, Shop-Script 10+, PHP 7.4–8.5. The current version is 1.0.0. If your setup is unusual, ask before you buy and we will tell you plainly whether it fits.

How can I pay?

Checkout is through PayPal, which also takes debit and credit cards. Buying from India? Switch the currency to INR at the foot of the page to pay by UPI.

What if I get stuck installing it?

Installation support is included. Open a ticket from your account and the engineer who wrote it will help you get it running.

Questions before you buy?

Ask about compatibility or licensing. Need it to do something it doesn't? We build custom versions for a fixed quote.

  • Instant downloadFiles and licence key unlock when payment lands
  • One-time priceNo subscription unless the page says so
  • Free updatesFixes and compatibility updates for your version
  • Support from the authorTickets go to the engineer who wrote it
Coming soon UPI QR + Auto-Confirm for Shop-Script
SoftwareWebasystShop-Script 8+

UPI QR + Auto-Confirm for Shop-Script

Dynamic UPI QR at checkout, order number in the payment note, and automatic confirmation with UPI Payment Watch.

Get notified at launch View
ЮKassa для Webasyst Shop-Script
SoftwareWebasystShop-Script 8+

ЮKassa для Webasyst Shop-Script

Карты, СБП, SberPay, T-Pay и ЮMoney через ЮKassa: покупатель выбирает способ прямо на сайте, чеки 54-ФЗ и возвраты из заказа.

$15.00
View
$30.99
Buy in One Click for Webasy…