Post by skip » Tue May 22, 2018 9:57 pm

Is there way to set up popup link window on information page (or in product description ) like Privay policy on regitration page ?
Thanks

Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm

Post by Qphoria » Tue May 22, 2018 10:25 pm

Absolutely.
1. Copy that link from the privacy policy link. Notice it has "/agree" in the path. This tells it to not load the header or footer
2. Add that link to your description page
3. Edit the source code and give that link a class="agree". That class already has code in the main catalog/view/javascript/common.js file to popup in a modal. No need to reinvent the wheel. Just use it as a generic popup tag

Here's a video demonstration
https://www.screencast.com/t/pprEqQhburZ4

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by skip » Wed May 23, 2018 6:38 pm

@Qphoria Thank You very much, it works!

Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm
Who is online

Users browsing this forum: No registered users and 93 guests