$product_id_rules
$product_id_rules : string
These are the regular expression rules that we use to validate the product ID and product name alpha-numeric, dashes, underscores, or periods
Shopping Cart Class
update( $items = array()) : boolean
Update the cart
This function permits the quantity of a given item to be changed. Typically it is called from the "view cart" page if a user makes changes to the quantity before checkout. That array must contain the product ID and quantity for each item.
$items |
_update( $items = array()) : boolean
Update the cart
This function permits changing item properties. Typically it is called from the "view cart" page if a user makes changes to the quantity before checkout. That array must contain the rowid and quantity for each item.
$items |