Function __global->remove_from_cart
Definitions
sources/shopping.php
- Remove particular items from the cart.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: N/A
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$products_to_remove | array | required parameter | N/A | N/A | Products to remove |
$member_id | ?MEMBER | Null | N/A | N/A | The member from which to remove products (null: current member if not guest, else does not filter by member) |
$session_id | ?ID_TEXT | Null | N/A | N/A | The session from which to remove products (null: current session if guest, else does not filter by session) |