You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Cart.php has the:
public function remove($rowid)
You can use this function with a link into the buttom to remove the item. Don't forget to pass the ID.
To update just use the
public function update($items = array())
The code is very well documented.
Reading the php file you will be able to figure out how to use it;
I want to make remove item button on each row, when click button that row item will remove.
How to write code to remove item?
$cart = new Cart();
in this $cart have many item how to access each item? such as edit qty by click add button to increase qty.
Thank you!
The text was updated successfully, but these errors were encountered: