\HasPriceTiers
Adds tiered pricing to a product (or theoretically any buyable)
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class HasPriceTiers
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $has_many = ;
- protected ArrayList $_prices;
- // methods
- public ArrayList getPrices()
- public PriceTier getTierForQuantity()
- public void updateCMSFields()
Hierarchy
Extends
- DataExtension
Members
Methods
public
- getPrices() — Grabs all prices into one place.
- getTierForQuantity()
- updateCMSFields()