Delivery & Payment Rules shows each customer only the shipping and payment methods that suit the order: its total, address and chosen shipping, and in Premium also its products, weight, customer and time.

Courier delivery for a heavy order, cash on delivery for a first-time buyer, pickup in a city where you have no shop: such orders end in a phone call or a cancellation, because the customer was offered a method you cannot provide.

With this plugin you write down your conditions as rules, and Shop-Script follows them in the checkout. It is made for stores with several delivery and payment methods, where not every method fits every order.

What you get

  • Hide or show only. A rule hides the selected methods or leaves only the selected ones.
  • 22 conditions. Cart total and items, address, currency, coupon, guest or logged-in. Premium: products, weight, stock, customer category, first order, time and storefront.
  • Premium: single rates. A shipping rule can concern only some rates of a method, by rate ID or name.
  • Payment by delivery. A payment rule can depend on the shipping method the customer has chosen.
  • Rule order and dates. Rules go from top to bottom, can have start and end dates and can stop the rules below.
  • Test rules. A test cart and address show what stays visible and which rule hid the rest.
  • Nothing left to choose. All methods are shown again. Premium: your own message instead, separately for shipping and payment.
  • Final check. The rules are checked once more when the order is created.

List of rules

After installation the Shop-Script main menu has a Delivery & payment rules section. The list shows for each rule what it does, when it works and its dates. You can switch a rule on or off right here, move it with the ↑ and ↓ buttons, edit or delete it. Rules whose end date has passed are marked “ended”.

A method hidden by any matching rule is not shown. In the screenshot a freight company is hidden for carts up to 15 kg, cash on delivery is not offered for orders over $300, and furniture goes by pickup or freight only. Weight and product conditions are Premium.

Rules list: what each rule does, when it works and its dates

Rules list: what each rule does, when it works and its dates

Rule editor

Press Add rule. Enter a name that only you see, choose Shipping methods or Payment methods and an action: Hide the selected methods or Show only the selected methods. Then tick the methods; disabled ones are marked “turned off”.

In the example the rule “Courier on weekdays until 18:00” leaves only the city courier, Monday to Friday from 09:00 to 18:00. Conditions can be combined in two ways: All conditions must be met or, in Premium, At least one condition must be met. Weekday and time conditions, as in this example, are Premium too.

  • Premium: Only some rates of this method: one rate ID or name per line, an asterisk stands for any text. Show rates loads the rates for the cart and address of the test form, and a click adds a rate.
  • Dates: the first and last day of the rule, both included.
  • If the rule has worked, skip all rules below it (of the same kind): for exceptions placed above general rules.

Editing a rule: methods, conditions and the time window

Editing a rule: methods, conditions and the time window

Without conditions the rule always works. This is handy for a promotion limited only by dates.

Conditions

Choose conditions in the Add a condition… list. Product conditions have three modes: Any item matches, All items match and No item matches. Lists such as countries or customer categories have the options “Is one of” and “Is not one of”.

  • Cart: total of products before or after discounts, number of items, currency, coupon; weight in Premium.
  • Premium: Products: categories with subcategories, sets, types, tags, features, single products, stock availability.
  • Customer: guest or logged-in customer; customer category and first order in Premium.
  • Address: country, region, city and ZIP code. A ZIP code can be exact (101000), a prefix (10*) or a range (101000-109999).
  • Premium: Place and time: storefront, weekday and time. A time window can pass midnight.
  • Chosen shipping method: for payment rules.

Testing before customers see it

The Test rules form is under the list. Find products by name, SKU code or ID, set quantities, storefront, customer, address, coupon, and date and time, then press Check. Leave the date empty to test the current moment.

The result lists shipping and payment methods with prices and the mark “Shown” or “Hidden by the rule …”. The Rules table says whether each rule worked and, if not, why: a condition was not met, the date is outside the period, the rule is off or another rule stopped it. Nothing is saved by a test.

Test result: the city courier is shown, other shipping methods are hidden by named rules

Test result: the city courier is shown, other shipping methods are hidden by named rules

If the rules hide everything

In the plugin settings, If rules hide every shipping method and If rules hide every payment method have two options: “Show all methods, as if there were no rules” (default) or, in Premium, “Show a message and do not accept the order”. The message is your own plain text; an empty field gives the standard one.

The same page has the switch Apply rules in checkout, the Time zone of rules, and two Premium checks that are off by default: Payment after the order for the payment link page and Check orders created in the backend.

Basic or Premium

This page sells the Premium edition ($80, lifetime licence): every feature in the table below. The Basic edition is Delivery & Payment Rules ($39.99). Yearly and monthly licences are sold in the Webasyst Store.

Basic is enough to hide or limit methods by cart total, number of items, address, currency, coupon and chosen shipping. Choose Premium if your rules depend on the products themselves, weight, stock, the customer category, the time or the storefront, or if you need single rates and a message instead of all methods. You can upgrade at any time; your settings stay.

BasicPremium
Hide or show only the selected methods✓✓
One-page and multi-step checkout, final check at order creation✓✓
Cart total and number of items✓✓
Country, region, city and ZIP code✓✓
Payment methods by the chosen shipping✓✓
Guest or logged-in customer, coupon, currency✓✓
Rule order, on/off, dates, “skip all rules below”✓✓
Test rules✓✓
Categories, sets, types, tags, features and single products—✓
Cart weight and stock availability—✓
Customer category and first order—✓
Weekday, time and storefront—✓
“At least one condition” and single shipping rates—✓
Own message when nothing is left, payment link and backend order checks—✓

How to start

  1. Install the plugin and open Delivery & payment rules in the Shop-Script main menu.
  2. Press Add rule, choose Shipping methods or Payment methods, an action and the methods.
  3. Add conditions and, if needed, dates, then press Save.
  4. Put the rules in the right order with ↑ and ↓.
  5. Fill in Test rules, press Check and compare the result with what you expect.
  6. In Premium, choose in the plugin settings what happens if the rules hide every method.

Good to know

  • Address conditions, “Is not one of” included, do not match until the customer fills in that field.
  • The last check at order creation needs the standard “Create” workflow action. If your store has its own class for it, rules still work in the checkout.
  • Cart weight is taken from the “weight” feature; products without it count as zero. Cart total does not include shipping.
  • In a time window the end minute is not included: “until 18:00” stops at 18:00.
  • For guests a first order is recognised by email.
  • A rule can have up to 50 conditions. The test uses the main SKU of a product.
  • The plugin does not change delivery prices and does not add methods of its own.

Questions and answers

Do I have to edit the theme?
No. Rules are applied on the server, in the one-page checkout and in the multi-step checkout.

Can a customer order a hidden method with a hand-made request?
No, the rules are checked again when the order is created, and an unavailable method is refused with a message.

Who can manage the rules?
Shop administrators, users with the right to change settings, and users with the right “Can manage delivery and payment rules”.

Is an order made by a manager limited too?
In Premium, if you turn on Check orders created in the backend. It concerns new orders.

How do I find out why a method is missing?
Repeat the order in Test rules. The result names the rule that hid the method, and also notes when a method does not deliver to the address or the payment is turned off for that shipping in the store settings.

Requirements and support

The plugin is made for Shop-Script. Products with fractional quantities and stock units are supported. It works without cron. The interface is in English and Russian. Uninstalling the plugin deletes its rules table.

Базовая или Премиум

Базовой версии хватит, чтобы скрывать или ограничивать способы по сумме и количеству товаров, адресу, валюте, купону и выбранной доставке. Выберите Премиум, если правила зависят от самих товаров, веса, наличия, категории покупателя, времени или витрины, или нужны отдельные варианты доставки и своё сообщение вместо всех способов. Перейти на Премиум можно в любой момент, настройки сохранятся.

БазоваяПремиум
Скрыть выбранные способы или показывать только их✓✓
Оформление на одной странице и пошаговое, итоговая проверка при создании заказа✓✓
Сумма и количество товаров✓✓
Страна, регион, город и индекс✓✓
Способы оплаты по выбранной доставке✓✓
Гость или авторизованный покупатель, купон, валюта✓✓
Порядок правил, включение, даты, «пропускать все правила ниже»✓✓
Проверка правил✓✓
Категории, списки, типы, теги, характеристики и отдельные товары—✓
Вес корзины и наличие на складе—✓
Категория покупателя и первый заказ—✓
День недели, время и витрина—✓
«Хотя бы одно условие» и отдельные варианты доставки—✓
Своё сообщение, если способов не осталось, проверка оплаты по ссылке и заказов в бекенде—✓

What you get

  • Hide or show only the selected methods
  • One-page and multi-step checkout, final check at order creation
  • Cart total and number of items
  • Country, region, city and ZIP code
  • Payment methods by the chosen shipping
  • Guest or logged-in customer, coupon, currency
  • Rule order, on/off, dates, “skip all rules below”
  • Test rules
  • Categories, sets, types, tags, features and single products
  • Cart weight and stock availability
  • Customer category and first order
  • Weekday, time and storefront
  • “At least one condition” and single shipping rates
  • Own message when nothing is left, payment link and backend order checks

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 Delivery & Payment Rules Premium 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?

Delivery & Payment Rules Premium for Webasyst Shop-Script works with Webasyst, Shop-Script 10+, PHP 7.4–8.5. The current version is 1.1.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
$80.00
Delivery & Payment Rules Pr…