Skip to main content

Okya 1.50

This release adds a per-unit percentage discount, priority ordering so you decide which promotion applies first, clearer settings labels on every action and rule, and a fix so promotions never touch voided orders.

Z
Written by Zachary Marble

Promotions

Take a percentage off each qualifying unit

A new Percent Per Unit calculator discounts a percentage of each qualifying unit's price — modifiers included — instead of the whole line. Add an optional Discount limit to cap how much comes off each unit. It's available on quantity-adjustment actions, so "every 2nd item, 20% off" now discounts exactly the units that qualify.

Promotion action form with the Percent Per Unit calculator, percent and discount limit

Promotions › Actions — the Percent Per Unit calculator with a per-unit discount limit.

Decide which promotion applies first

Every promotion now has a Priority — a lower number applies first. When more than one promotion is eligible, order matters: the earliest-applied keeps its full discount against the order-price cap, and exclusive promotions are first-applied-wins. Priority is editable on the form and sortable on the list.

Promotions list showing the sortable Priority column

Promotions — the new sortable Priority column; lower values apply first.

Read a promotion's settings at a glance

The Actions and Rules tables now label each setting as Key: valuePercent: 20, Discount limit: 25 — instead of a bare number, and class names are localized. What a promotion actually does is now legible without opening each row.

Promotion actions table with keyed settings labels

Promotions › Actions — each setting now shown as a labelled key and value.

Promotions no longer touch voided orders

Voided orders are now excluded from promotion handling, so a promotion can never be applied to — or reverted from — an order whose totals are already finalized. No setup needed; it just protects voided orders automatically.

Did this answer your question?