CoolCMS API

Voucher.php

Table of Contents

Classes

Voucher
Discount coupon. `code` is unique. Either percentage (`hasPercents` + `percents`) or a fixed amount per currency ({@see VoucherPrice::$price}). Vouchers on an order add up (sum of percents capped at 100 + sum of fixed amounts; see `OrderCalculator`).
On this page

Search results