CLARKSPARTS.COM Posted November 11, 2013 Share Posted November 11, 2013 I want to add a link that goes to a custom page in the product page... How do I do this? Where is the script I have to edit? Link to comment Share on other sites More sharing options...
vekia Posted November 11, 2013 Share Posted November 11, 2013 you can do it in several ways. 1) with some custom modules, 2) manually with template file edit (product.tpl) - just insert there code with own link (<a href="urltomylink">{l s='my</a> 3) on product edit page in description / short description fields just add anhor with rich text editor Link to comment Share on other sites More sharing options...
CLARKSPARTS.COM Posted November 11, 2013 Author Share Posted November 11, 2013 Thank you very much... I will try these tonight Link to comment Share on other sites More sharing options...
CLARKSPARTS.COM Posted November 12, 2013 Author Share Posted November 12, 2013 Where is this product.tpl located? Please I am new to this Link to comment Share on other sites More sharing options...
ExpressTech Posted November 12, 2013 Share Posted November 12, 2013 In your <prestashop>/themes/<your theme>/product.tpl (this is for your front office i.e the shop website for customers). Link to comment Share on other sites More sharing options...
vekia Posted November 12, 2013 Share Posted November 12, 2013 Where is this product.tpl located? Please I am new to this be carefully! i've noticed that somehow content of my post is different (code is wrong) you have to use this code: <a href="MYLINK">{l s='my link'}</a> Link to comment Share on other sites More sharing options...
Recommended Posts