Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding a link next to product options

Adding a link next to product options

Locked

Views: 2,478

Results 21 to 22 of 22
This thread is locked. New replies are disabled.
24 Jul 2009, 3:39 PM
#21
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Adding a link next to product options

great. good luck with the store :smile:

3 Mar 2010, 3:32 PM
#22
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: Adding a link next to product options

This thread is extremely useful, but I still can't quite get my head around it! :dontgetit

We have several different attributes on our site, but most are very simple, and need no explaination. With one attribute however, I want a popup box with 'More info' next to it.

We sell Welsh Lovespoons, and I've created an attribute where people can choose to add a Lovespoon booklet to their order if they tick a box. This adds £3.50 to the order total. With this attribute, I want to place a 'More Info' link next to it so that a 400px x 400px popup is opened with info regarding the booklet. The popup I want opened is - http://www.cadwyngifts.com/elinmeek.html

The attribute at work without the 'More Info' link can be seen here - http://www.cadwyngifts.com/togetherforeverlovespoon002welshlovespoons-p-189.html

From looking at the source code of above page, the details of the attributes used is as follwos:

<input type="checkbox" name="id[27][40]" value="40" id="attrib-27-40" /><label class="attribsCheckbox" for="attrib-27-40">Yes (+GBP - £3.50) </label>

Can anyone suggest what I need to change in tpl_module_attributes.php to get this working.

I'm sure all of the answers are listed above, but I'm still a beginner in these things, I've tried a few things out but cannot get it to work.