[ic] Syntax for a link to order a product

Jonathan Clark jonc@webmaint.com
Mon, 30 Apr 2001 20:14:08 +0100


>
> I am trying to figure out the cleanest way to generate a link for
> ordering a product.  I could use [order] but I also need to apply a CSS,
> so I need to edit the anchor html tag.  I
>
> The other option that I can think of is to use a hardcoded url like
> http://site/ord/basket?mv_action=refresh&mv_order_item=[item-code]
>
> But I need to account for session ID's and also the possibility of
> affiliates.  Does anyone know of a way (simple or not) to accomplish this?
>

try:

<a href="[area href="order" form="mv_order_item=[item-code]"]"
class="myclass">Order</a>

Jonathan
Webmaint.