Adding Cart Links to Drupal

Creating cart links
There is currently no user interface for creating cart links, but this section includes some basic instructions.
Cart links are simple to form using a few actions and arguments with the following rules:

* The cart link should be /cart/add/cart_link_content.
* Chain together as many actions as you want with dashes.
* Do not put any spaces or use dashes in any action arguments.
* Use the table below to learn about actions and their arguments.
* Arguments come directly after their action letters.
* Specify the redirection by adding ?destination=url where url is the page to go to.

Action Description Argument
Action Description Argument
i Sets the ID of the cart link. A custom text ID for the link.
e Empties the customer's cart. None.
m Displays a preset message to the customer. A message ID.
p Adds a product to the cart. A product string using the rules below...