ProductsModel::delete |
( |
| ) |
|
Log deletes to prodUpdate Delete corresponding records from other tables
ProductsModel::getTagData |
( |
|
$price = false | ) |
|
Standardization method to ensure shelf tag fields are calculated consistently for a given item.
- Parameters
-
$price | [optional, default false] use a specified price rather than the product's current price |
- Returns
- [keyed array] of tag data with the following keys:
- upc
- description
- brand
- normal_price
- sku
- size
- units
- vendor
- pricePerUnit
If a custom data source has been specified, let that handle the calculations
Transition mechanism. Auto-append store_id value if only a UPC has been specified.
The documentation for this class was generated from the following file:
- fannie/classlib2.0/data/models/op/ProductsModel.php