CI_Cart::update()

update([$items = array()])

Parameters:
  • $items (array) – Items to update in the cart
Returns:

TRUE on success, FALSE on failure

Return type:

bool

This method permits changing the properties of a given item. 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 for each item.

doc_CodeIgniter
2016-10-15 16:31:00
Comments
Leave a Comment

Please login to continue.