Forums / Setting Up Categories, Products, Attributes / How to add active links in description?

How to add active links in description?

Views: 2,304

Results 1 to 5 of 5
20 Apr 2011, 1:04 AM
#1
dryaquaman avatar

dryaquaman

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

How to add active links in description?

Zen Cart 1.3.9g

I'd like to add a link within the product description that allows users to click to "listen to samples". The problem is I can't figure out how to make the link active.
I can put https://www.mysite.com but it's not an active link.
Same for http://www.mysite.com.
Specifically I'd like to add a link that says "Listen to Sample" and have that be the anchor text.

How do I do that?

Dry Aquaman

20 Apr 2011, 1:37 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add active links in description?

Use the plain test editor when adding any code to the description
Use standard html anchor text code

Zen-Venom Get Bitten

20 Apr 2011, 9:43 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to add active links in description?

If you want that link in the product listing (and not on the product info page), Zencart strips HTML from the product listing. You should be able to search the forums for zen_clean_html for instructions on how to remove that restriction.

Here's an start in post #4:

http://www.zen-cart.com/forum/showthread.php?t=156996

22 Apr 2011, 10:55 PM
#4
dryaquaman avatar

dryaquaman

New Zenner

Join Date:
Oct 2010
Posts:
10
Plugin Contributions:
0

Re: How to add active links in description?

Stevesh,
Thanks. With your input I was able to figure that out.
Next question though is, I'm giving away several DL products. Still wanting to generate some revenue from it, I'd like to do is add Adsense adds to the product description page.

Even after removing the zen_clean_html from the code I still can't add the java script.

Any advice?

Dry Aquaman

22 Apr 2011, 11:56 PM
#5
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: How to add active links in description?

if you have few products, you can add the product ids into an array and add an if statement inside the product_info_display file