We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 16.10.18, 15:08
  • Reason: Closed
  • Comment: Glad to help!

Ticket #13039 - cms pop up link

Hi Marek,

I would like to know how can i reproduce this : 1.jpg

I read somes tutorials where it’s about adding some code in “controller.php” file.
Do i need to do something like that or??

Thank you

1.JPG (624.2 KiB)

This ticket does not depend on any other tickets.

Marek (marek) 10 Oct 2018, 11:07

I do no understand you. Go to "Checkout" page and click the link, all works fine for me https://30exemplaires.fr/commande

Rizak (vatna) 10 Oct 2018, 13:29

Yes off course all works fine, that's not the point.

I would like to know how can i get a link which appears in a pop up box?
I would like to use this somewhere else in my cms pages.
Could you help?

Marek (marek) 10 Oct 2018, 20:45

Go to Order Settings → Page for the Terms and conditions

Rizak (vatna) 13 Oct 2018, 03:24

Ok, i think i'm not clear enough

How can i use a "pop up link" on a cms page?

By pop up link, i mean –> like on order page to display cgv page (1.jpg)

......

Tell me if it's a prestashop thing and not related to the theme, i will try to find some help somewhere else.

Marek (marek) 13 Oct 2018, 09:40

As I can see there is no any special class on that link

<a href="https://30exemplaires.fr/content/72-cgv" id="cta-terms-and-conditions-0">conditions générales de vente</a>

You can take a look at this script: https://lokeshdhakar.com/projects/lightbox2/

Rizak (vatna) 13 Oct 2018, 22:44

Ok, thank you Marek i will try this.
It doesn't look very difficult

But there is a thing i don't understand.

Why do i need to use an extra script for something already working on the website ? –> <a href="https://30exemplaires.fr/content/72-cgv" id="cta-terms-and-conditions-0">conditions générales de vente</a>

Marek (marek) 15 Oct 2018, 11:43

There is also available fancybox in prestashop by default, so you don't have to add extra scripts. Read here how to use it http://fancybox.net

Rizak (vatna) 16 Oct 2018, 15:02

Ok nice perfect.
Thanks for help!

Loading...