Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Adding information link for specific products

Adding information link for specific products

Locked

Views: 1,002

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
27 Mar 2008, 7:43 PM
#1
emilfalcon avatar

emilfalcon

New Zenner

Join Date:
Sep 2007
Posts:
26
Plugin Contributions:
0

Adding information link for specific products

Hi,

I would like our shopping cart to display a small "ring sizer" link for each product in the "rings" category. This small link would simply open a PDF in a new window.

This link needs to appear only in the rings category, not in any other one! Does anyone know how to do this? ie. add a custom link and/or text to a specific category of products?

Also, for some reason all my products display "Model: IMG_0658_LRG" (or similar) in their detailed product listing screen. Does anyone know how to remove this?

Thanks in advance for your help on this!

30 Mar 2008, 8:27 AM
#2
osmith avatar

osmith

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Re: Adding information link for specific products

I had to do the same thing so I created a read only attribute. (Rather than hard code it, it allows me to put it on the products/categories that I want, instead of EVERY product page.)

In the options value (for a read only) I added this:

<a href="javascript:void(0)" onclick="window.open('yourfile.pdf','name','width=250,height=800,scrollbars=yes')">Name of the File to Appear on the Page</a>

If you choose to do a read only attribute, you will probably have to get into your database and change the value (default is 64 characters). I also went in and changed the wording instead of "Please choose."

Hopefully that helps!