delete-cart
Delete a cart from the Interchange user database.
Summary
| Parameter
|
Description
|
Default
|
| nickname |
The name of the cart to delete. |
None |
| name |
Alias for nickname. |
None |
Examples
Tag usage example
|
[delete-cart nickname="CART_NAME"]
|
Perl example
$Tag->delete_cart({
nickname => 'CART_NAME',
});
|
or similarly with positional parameters:
|
$Tag->delete_cart('CART_NAME');
|
Description
This tag deletes a shopping cart from the Interchange user database.
This is exactly the same as the following:
|
[userdb function="delete_cart" nickname="CART_NAME"]
|
Parameters
nickname
The name of the cart to delete.
The nickname should be constructed from the following colon-separated
elements:
- A cart name nickname.
- The time the cart was last modified, specified as the number of seconds since 01 January 1970.
- The cart type ("r" if recurring, or "c" if not).
For example: