In the PROD TEMPLATE, is there a way to use tokens in the "Add to Basket alt:"
(2004/02/11)Nope.
However, you could achieve something equally as effective (I think) by taking out the token and replacing it with the html.
The %prodadd% token is simply replaced with the token for the submit button and the hidden field for "Screen". SO %prodadd% might be replaced with:
<input type="submit" value="Add to basket">
<input type="hidden" name="Screen" value="PROD">
So you could simply replace the token with the form field for the submit button (or "image") and the hidden screen variable.
The %prodaddone% is replaced with the token for the submit button, the hidden field for the "Screen", and a hidden field for the quantity. So you could take out that token and put in it's place something like:
<input type="submit" value="Add One to basket">
<input type="hidden" name="Screen" value="PROD">
<input type="hidden" name="Quantity" value="1">
The %prodbuy% and %prodbuyone% tokens are similar except when those tokens are present in the template the secure url is used for the form (so the button takes you to the secure pages) and in addition to the above form fields it also adds the field:
<input type="hidden" name="Order" value="1">
Last update: 2004-12-07 13:31
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
Top 10 
- 2852 views:
Adding Tokens to Evaluate Expressions - 2784 views:
Is there a way to "Limit" the number of ... - 2729 views:
Why won't you call me for technical support? I ... - 2619 views:
Are license keys valid for more than one store? ... - 2512 views:
I'm trying to enter a license key and get ... - 2496 views:
How do I install a module? - 2349 views:
How do I check for a module upgrade? - 2316 views:
How can display and change the parameters of an ... - 2164 views:
The total on my checkout pages are not correct. ... - 1976 views:
I have select and radio type attributes in my ...
















