How to add extra link to display Size chart

Tagged: ,

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeHow to add extra link to display Size chart

This topic has been marked as resolved.

@bigmoon

You could try to use default text-align property or justify-content on the parent holder.

http://www.w3schools.com/cssref/css3_pr_justify-content.asp

BR,
ThemeBurn team

July 11, 2016 at 6:27 pm #49510

I’ve followed this thread…
I set up the link as per TB and I add the additional code to the pavilion custom Javascript as per TB.

If I click the link it opens the page but not in a pop up but full screen?

Am I missing something everybody else knows….

If I use bigmoons code same thing happens.

July 12, 2016 at 11:33 pm #49591

I just set it up in 2.x yesterday (working fine) and 1.29 is also still working fine. keep looking, as always its going to be something simple.. (refresh cache, a missing } or ; always something simple.)

July 13, 2016 at 4:52 am #49592

Thank bigmoon, but…
I’m copy and pasting the sample code as shown above in a html block. Adding the javascript to the custom JS. The only thing I’m changing is the id # to 15. The page shows up but not in a popup. :(

Also tried it in text block same result…seems like the js isn’t being read.

Cheers

July 13, 2016 at 8:11 am #49593

Just for the record… it seems that the TB code breaks the option price update.
If the JS code is in the all products layout, and you go to a product that has price options, the price does not change in accordance to the options chosen.

This code breaks the options from updating the price. if I remove the JS options updates as expected.


tbApp.onScriptLoaded(function() {
      tbCreateDialog('.page_popup', $('#wrapper'));
});

Cheers,
Frank

July 15, 2016 at 1:48 pm #49667

Bigmoon’s script also breaks the option from updating price.
I would really like this way of displaying info…
Cheers

July 15, 2016 at 3:19 pm #49669

have you tried turning off scripts caching? >> general cache > scripts > off> save, clear all cache

July 15, 2016 at 7:35 pm #49672

Thanks bigmoon but that didn’t seem help either…
I turned off everything cleared cache used you sample with my id number…
The text comes up but not in a popup, just from side to side (screen size) like it would in notepad.
and… it kills the option prices.
Thanks definitely worth a try but my systems isn’t playing along.

My problem is definitely the JS not being loading… because I remove the JS and the pages loads exactly the same as with the JS, but my options work…
Cheers

  • This reply was modified 2836 days ago by  looserfoot.
July 15, 2016 at 8:25 pm #49673

Hi guys…
I liked how the carts “terms and conditions” pop-up slide down etc.
So what I did was simply use the same class on my page… no need for the extra custom JS which was not working for me and seemed to only kill my options anyway.

So this is all i did and it works perfectly!

added an HTML Block with the following:


<a class="agree" href="index.php?route=information/information/agree&information_id=15">Page name</a>

I built the information page I wanted to show… got the id off the page which was 15
I used the agree class…
Did not add any custom JS nothing more then the above code and it works like a champ!

Hope it helps somebody.

Cheers,

  • This reply was modified 2835 days ago by  looserfoot.
July 16, 2016 at 8:40 pm #49677

Can also be a TEXT block…

July 16, 2016 at 10:37 pm #49682

Hi,

tbCreateDialog function no longer exists in BurnEngine. Since theme is Bootstrap compatible, you need to use the Bootstrap modal markup and javascript.

Will lock this thread.

BR,
ThemeBurn team

July 20, 2016 at 12:15 am #49747
Viewing 11 posts - 16 through 26 (of 26 total)
  • The topic ‘How to add extra link to display Size chart’ is closed to new replies.