PayPal Checkout (REST) for Webasyst Shop-Script
Modern PayPal for Shop-Script: in-page Smart Buttons and card fields, verified server-side, with refunds from your backend.

Discount Rules lets you set up discounts by product, quantity, date, storefront and customer, and applies them to the cart and the order.
“From 2 pieces 5% off, from 8 pieces 15% off, kitchen goods only” sounds like one simple offer. Done by hand it means changing prices and remembering to change them back. With several offers at once it also becomes hard to say which discount a customer will get.
The plugin keeps each offer as a rule in Marketing. A rule says which products it covers, how large the discount is, when and for whom it works, and how it combines with other rules. The customer can see the discount table on the product page and a hint in the cart. It is for shop owners and marketers who run several promotions and want to check the result before customers do.
The rules are in Marketing → Discounts → Discount rules. Each row shows whether the rule is on, its name, what it applies to, the discount and the dates. You can turn a rule on or off in the list, edit it, delete it or move it up and down. The order matters for the cart hint and for rules that stop the check. Expired rules are marked in the list.
The screenshot shows typical offers: tiers for kitchen goods, a winter sale with dates, 7% for VIP customers, $15 off orders over $150, 10% off the first order and a Black Friday rule that has ended.

The rule list with scope, discount and dates, and the test cart below
Press Add rule. Enter the name that customers will see, the dates and, if needed, storefronts and customer categories. Both dates are included. An empty date means no limit.
Then choose what the rule Applies to. Subcategories of a chosen category are included, and dynamic categories work too. Specific products are found by name, SKU code or ID. The option Skip products that already have a compare-at price keeps a rule away from goods that are already on sale.
The discount is % of the price, amount per item or amount for all matching products. The last one is spread over the lines in proportion to their totals. The total discount of a line never exceeds the total of that line.

The rule editor: categories, type of discount, minimum amount and quantity tiers
Quantity is counted across all matching products together: two mugs and two plates from the category “Kitchen” make four pieces.
The field With other rules has three options. The comparison is made for the whole cart, by the total discount of each rule.
Example: rules that add up give $12 together. An exclusive rule gives $20, so the customer gets $20. If the exclusive rule gave $10, the $12 would stay. The option “Do not check rules below this one if this rule applies” stops the check at that rule.
Rules with Show on the product page turned on are shown as a small table: the rule name, the condition and the discount, for example “From 4 pcs.” and “10%”. If the rule has an end date, the table says until when it is valid. Only rules that fit the current date, storefront and customer are shown.
In the plugin settings you choose the place: next to the “Add to cart” button, in the side block, in the main block under the description, or no automatic output. In the last case the theme uses {shopApdiscountsPlugin::productTable($product)}.

Three quantity tiers on a product page
The hint tells the customer how close the next discount is: “Bulk deal: add 2 more to get 10% off.” If the rule needs an amount, the hint shows the missing amount. It shows one hint, for the first rule in the list that can be reached next, and it disappears when there is nothing left to reach.
The hint works on the cart page and in the in-cart checkout and updates when the cart changes (the theme must use jQuery). The helper {shopApdiscountsPlugin::cartHint()} or the attribute data-apdiscounts-hint-place lets you choose its place.
Below the rule list there is Test a cart. Add products and quantities, choose the order currency, storefront, customer categories and date, tick “First order” or “Coupon used” if needed, and press Check.
The result shows the discount of each line, the subtotal and the total. For each checked rule you see “applied”, “skipped” or “not used” with a reason, for example “Quantity 1 is below the first tier.” A rule that is off is listed as skipped.
Can I stop all discounts at once?
Yes. Turn off Enable discounts in the plugin settings. The rules stay as they are and work again when you turn it on.
Do tiers work with amounts as well as percentages?
Yes. The tier values use the kind of discount chosen in the rule: a percentage, an amount per item or an amount for all matching products.
What does the customer see in the order?
The discount of the product line is described with the rule name and value, for example “Welcome (10%)”.
Can I prepare a sale in advance?
Yes. Set the start and end dates. Test the rule by choosing a future date in the test cart.
Are goods sold by weight supported?
Yes. Fractional quantities and stock units are supported; 2.5 kg counts as 2.5.
Shop-Script. The product table and cart hint need a theme that prints the plugin hooks, or the helpers added to the theme. The plugin contacts no outside services. Its table with the rules is removed when the plugin is uninstalled.
Interface languages: English and Russian. Support: allplugin.com/support.
| Platform | Webasyst + Shop-Script 10 or newer (tested on 12) |
|---|---|
| PHP | 7.4 – 8.5 |
| Interface languages | English, Russian |
| Package | Shop-Script plugin, .tar.gz |
| Licence | one store |
The download and your licence key unlock in your account as soon as the payment is confirmed. There is nothing to wait for.
No. The price is paid once. Fixes and compatibility updates for the version you bought are included.
Discount Rules 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.
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.
Installation support is included. Open a ticket from your account and the engineer who wrote it will help you get it running.
Ask about compatibility or licensing. Need it to do something it doesn't? We build custom versions for a fixed quote.
Modern PayPal for Shop-Script: in-page Smart Buttons and card fields, verified server-side, with refunds from your backend.
Dynamic UPI QR at checkout, order number in the payment note, and automatic confirmation with UPI Payment Watch.
Карты, СБП, SberPay, T-Pay и ЮMoney через ЮKassa: покупатель выбирает способ прямо на сайте, чеки 54-ФЗ и возвраты из заказа.