Jump to content

Add a link on product page to open cms content in fancy box


Ventanazos

Recommended Posts

Hello,

 

I'm trying to figure out how to add a link on product page which opens only content from a cms page in a fancybox, so the customer can read the required information but doesn't really leave the product page.

 

The problem is that law in a country where we are attempting to sell makes mandatory to make available several informations to the consumer before, or at least, at the same time an order is placed.

 

I've been trying with this:

 

<a href="{$link_shipping|escape:'html':'UTF-8'}?content_only=1" class="iframe" rel="nofollow">Versandkosten</a>

 

which I found here:

https://www.prestashop.com/forums/topic/325225-solved-add-fancybox-in-product-page/

 

Despite it works well on chrome, when you try on ms-edge or en firefox it's broken, shows the content on a new page and not on a fancybox.

 

Thx in advance for your help.

Link to comment
Share on other sites

  • 2 months later...

Here would be my solution to you!  Use this free module and modify to suit your needs.  https://catalogo-onlinersi.net/en/add-ons-prestashop-modules/406-sizes-chart-prestashop-module.html

This will add a size chart to your product page and when clicked open up new window for information. I guess if you need different information each time this may not be the right approach.

 

Inside of sizechart.tpl  change  "Click to open sizes chart"  To  "Click to open Product Info"   Inside of sizechart2.tpl is where your can put your new productinfo and an image. This may take a bit to modify but I'm sure you can make it nice.  

 

Also inside the module folder change the Icon to a suitable one for you by replacing icon.png with your new icon image. 

 

I hope this helps.

Edited by mega2000 (see edit history)
Link to comment
Share on other sites

Melanin content inside your skin can cross Operalux up over a time period and make you seem darker than before. mumbai has emerged because the first-rate region for pores and skin fitness remedies in current years.skin professionals who are based totally in mumbai were working on this area for a protracted span of time. lots of them were educated & knowledgeable abroad and are aware about the causes.http://musclegainfast.com/operalux-anti-aging-cream/

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...