Custom link to pop up information page

ThemeBurn SupportForumsOpenCart ThemesTechnopolis OpenCart ThemeCustom link to pop up information page

This topic has been marked as resolved.

Hi Team,

Can you tell us why we are allowed to use only the privacy policy for this popup and its allowed to pop up only inside the registration page. We would like to use it as a popup inside the call to action button. When we change the url id to other page from Admin > Catalog > Information it is loading it , but only inside the registration page. Is it possible to use the class=”colorbox” to a normal href tag. Is it locked by the Opencart, and can it be unlocked to be used anywhere in the site:)

BR,
Stefan Pavlov

  • This reply was modified 2606 days ago by  Kanisco.
  • This reply was modified 2606 days ago by  Kanisco.
February 28, 2017 at 10:08 am #56958

Hi,

You can insert a popup window link to any information page anywhere. You just need to:

1) Find the ID of the information page.

2) Use this markup (link):

<a href="http://domain.com/index.php?route=information/information/agree&amp;information_id=PAGE_ID" class="agree">Link</a>

BR,
ThemeBurn team

March 5, 2017 at 9:49 pm #57158

Hello Team,

I am sorry to inform you that this solution you provided is not working for us. We tried to input the exact same code you provided into the description of a product, but as you can see on the image the popup is “popuping” but no content comes out of it. The wheel is rolling for forever. Maybe when you find time you can check it out. Or give us another solution to try it.

Best Regards,

Stefan Pavlov

March 7, 2017 at 9:28 am #57209

Hi,

This technique is tested locally and works fine. Can we check the live example?

You can use hidepost to share private information with the support staff.

BR,
ThemeBurn team

March 10, 2017 at 5:26 pm #57306

Hello Team!

Here is the backend information so you can test it by yourself.

Best Regards,
Stefan Pavlov

March 10, 2017 at 8:48 pm #57326

Hi Stefan,

We’ve setup a sample link in your About us page.

BR,
ThemeBurn team

March 13, 2017 at 1:06 am #57364

Hello Team,

It worked like charm. The problem was that firstly you suggested to us to use the domain also in the a href tag, when you set the example the domain was excluded and it worked:)

the code that worked for us was:

<a href="/index.php?route=information/information/agree&amp;information_id=PAGE_ID" class="agree">Link</a>

If someone else is needing this solution

BR,

Stefan Pavlov

March 13, 2017 at 9:47 am #57378

Hi Stefan,

The code should work with the absolute path as well. The problem may come from calling non www link from a www page. Anyway, the relative path is a more universal solution.

BR,
ThemeBurn team

March 17, 2017 at 11:06 am #57521
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.