For more information... RTFM!
NAVIGATION
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

delete-cart

Delete a cart from the Interchange user database.

Summary

  • [delete-cart nickname]

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:

mycart:990102732:c

Category:  Interchange tags
Last modified by: Kevin Walsh
Modification date: Saturday 4 August 2007 at 10:10 PM (CDT)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us