Forums / Templates, Stylesheets, Page Layout / Can I add an internal link on product info page?

Can I add an internal link on product info page?

Started by jessica_marie on 25 Apr 2012, 4:46 AM · Views: 1,282

Results 1 to 6 of 6
25 Apr 2012, 4:46 AM
#1
jessica_marie avatar

jessica_marie

New Zenner

Join Date:
Apr 2012
Posts:
4
Plugin Contributions:
0

Can I add an internal link on product info page?

Is it possible to add an internal link on the product info page?

I will have several different "manufacturers" for digital content, most of which have their own "Terms of Use" for their content. The terms of use for all manufacturers will be located on the "Conditions of Use" page.

What I want to accomplish is this:

I would like to create a link to the "Conditions of Use" page that will appear on every product info page.

Something like this:

Attachment 10366

(Sorry it's so small...)

25 Apr 2012, 4:58 AM
#2
jessica_marie avatar

jessica_marie

New Zenner

Join Date:
Apr 2012
Posts:
4
Plugin Contributions:
0

Re: Can I add an internal link on product info page?

Any help with this would be much appreciated!

25 Apr 2012, 5:04 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Can I add an internal link on product info page?

You can add your link HTML to /includes/templates/your_template/templates/tpl_product_info_display.php. (Copy it from /template_default/templates/ if you don't already have a copy).

25 Apr 2012, 7:32 AM
#4
jessica_marie avatar

jessica_marie

New Zenner

Join Date:
Apr 2012
Posts:
4
Plugin Contributions:
0

Re: Can I add an internal link on product info page?

gjh42:

You can add your link HTML to /includes/templates/your_template/templates/tpl_product_info_display.php. (Copy it from /template_default/templates/ if you don't already have a copy).

I know where the code needs to go in order to accomplish this...my problem is, I don't know "how" to code it. Sorry, I should have been a little clearer about that. Thanks so much for you help!

25 Apr 2012, 8:11 AM
#5
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Can I add an internal link on product info page?

Jessica Marie:

I know where the code needs to go in order to accomplish this...my problem is, I don't know "how" to code it. Sorry, I should have been a little clearer about that. Thanks so much for you help!

<a href="<?php echo zen_href_link(FILENAME_CONDITIONS, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_CONDITIONS; ?></a>

25 Apr 2012, 1:01 PM
#6
jessica_marie avatar

jessica_marie

New Zenner

Join Date:
Apr 2012
Posts:
4
Plugin Contributions:
0

Re: Can I add an internal link on product info page?

rbarbour:

<a href="<?php echo zen_href_link(FILENAME_CONDITIONS, '', 'NONSSL'); ?>"><?php echo BOX_INFORMATION_CONDITIONS; ?></a>

Perfect! I had something similar to this and "Conditions of Use" showed on the product page but wasn't linked. Now it is! Thank you so much! :laugh: