PrestaShop Forums: [SOLVED] add link information on product page - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


[SOLVED] add link information on product page


[SOLVED] add link information on product page

#1 h0lyface

    PrestaShop Newbie

  • 05 Aug 2010
  • Members
  • Pip
  • 11 posts

Posted 22 August 2010 - 03:28 AM

hi all

i'd like to ask how to add link on the product page (image attached - addlink.jpg) ?

and how it can behave like:
when i click the link, it will pop-up a window as if im clicking the product image (image attached - addlink2.jpg)
but i want to show other image if i click the link (not the product itself)

please help

Thanks before

Attached File(s)



#2 rocky

    PrestaShop Superstar

  • 16 Oct 2008
  • US Moderators
  • 9981 posts
  • Location:Australia

Posted 23 August 2010 - 11:07 AM

Add code like the following to product.tpl:


<a href="imageURL" class="thickbox">Link text


Change "imageURL" to the URL of the image you want displayed in the thickbox.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.

Guides Performance Guide | Installation Guide | Development Guide

Modules AJAX Sliding Categories | AJAX Dropdown Categories | Carousel | Image Gallery | Sliding Menu

All free and paid software, modules, themes and modifications are subject to the terms and conditions here.

#3 h0lyface

    PrestaShop Newbie

  • 05 Aug 2010
  • Members
  • Pip
  • 11 posts

Posted 23 August 2010 - 02:58 PM

That is super perfect, rocky!!!
Thank you so much





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users