View Single Post
  #2  
Old 07-15-2011, 02:59 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,471
 

Default Re: Add links on product page depending on category

I guess this is possible.

You can add come smarty code within the product detail page template with something like this (not tested):

{if $product.categoryid eq xxx}
<a href="http://store.mountainmagic.com/tent-information.html">How to choose a tent</a>
{/if}

xxx is the id of the category which you can find from within the admin area of the store.

Hope this helps...

Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote