I'd like to display my attribute options with their own "add to basket" button. Something like: product1 color1 <add to basket> color2 <add to basket> attribute2 color1 <add to basket> color2 <add to basket>Is this possible?
(2004/01/08)Yes! There are tokens in the module that will let you add that "add to basket" button. There is a caveat though. The attributes have to be "radio" type attributes and you cannot have any other attributes for the product.
Here's how to go about it.
In the "main template" area, near the top, put the token %noform%. This token will suppress the addition of any forms to the page (other than the ones added by the tokens specific to the "add to basket" button for the attribute). You will also need to remove the %beginform% and %endform% tokens if you added any to the template.
On the "Attributes" tab, in the "Radio Option template", remove the %fields% token and add the token %attraddbutton% token where you want to display the "add to basket" button. By default the button will add a quantity of 1 to the basket. If you want to add more than 1, add the token %hiddenqty|xxx|% (where xxx is the quantity to add) to the "radio option template".
In my test template, the "Radio option template" field looked like this:
<TR><TD VALIGN = "top"><br />
%prompt%<br />
</TD><br />
<br />
<TD VALIGN = "top"><br />
%hiddenqty|002|%<br />
%attraddbutton%<br />
</TD></TR>
Last update: 2004-12-07 13:55
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- 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)
Top 10 
- 2921 views:
Adding Tokens to Evaluate Expressions - 2852 views:
Is there a way to "Limit" the number of ... - 2775 views:
Why won't you call me for technical support? I ... - 2665 views:
Are license keys valid for more than one store? ... - 2566 views:
I'm trying to enter a license key and get ... - 2555 views:
How do I install a module? - 2397 views:
How do I check for a module upgrade? - 2363 views:
How can display and change the parameters of an ... - 2210 views:
The total on my checkout pages are not correct. ... - 2011 views:
I have select and radio type attributes in my ...
















