CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
addItem ($row, $quantity, $priceObj) | |
errorInfo () | |
Static Public Attributes | |
static | $MAP |
Protected Attributes | |
$savedRow | |
$savedInfo | |
Base class for handling different price methods
These modules add an item to the transaction
The default case is to add an item with the specified price (BasicPM) but other methods with group deals, buy-one-get-one, etc can get really convoluted. UPC parsing is easier to follow with that code relegated to a module.
Stores can also swap out modules as needed and rearrange them so products.pricemethod=X doesn't need to mean the same thing at every store.
PriceMethod::addItem | ( | $row, | |
$quantity, | |||
$priceObj | |||
) |
Add the item to the transaction
$row | A product table record |
$quantity | Scan quantity |
$priceObj | A DiscountType object |
PriceMethod::errorInfo | ( | ) |
Information about error(s) adding the item to the transaction
|
static |