OC 2.1.0.1
Pav 1.2.9
Ajax Quick Checkout.
During checkout user can be asked to confirm “read” and agree..
On the default theme, agree and information pages show as a popup window with just page content in them.
On pavilion theme they show redirect to full theme info page… This is a problem because it takes them off the cart.
I have “inspected” the page html and it is identical so it must be a class setting or something.
How do I make it so pavilion shows confirm and agree pages as a popup like default theme does?
following video demonstrates issue, first (gijerrycan) is on store with default theme, second (swisslink) is on store with pavilion theme.. you can easily see problem with pavilion store.
http://screencast.com/t/M6jMg0Otjn4
|
|
Hi,
Can you try to add this additional code in your Custom Javascript panel:
tbApp.onScriptLoaded(function() {
tbCreateDialog('.agree', $('#wrapper'));
});
BR,
ThemeBurn team
|
|
Huge Fail… See Video >> http://screencast.com/t/tOAzk8CNMFsG
|
|
took the wrapper out and it worked fine…
tbApp.onScriptLoaded(function() {
tbCreateDialog($('.agree'));
});
|
|
The way you call this function will not work for JS generated links.
About our code, there was a mistake in it. We have edited it, you can check it again if you want.
BR,
ThemeBurn team
|
|
I don’t understand “The way you call this function will not work for JS generated links.”
It is working using the code I showed, where will it not work?
If its working do I need to change it to your code?
what kind of problems could it cause if I leave it?
|
|
Hi,
What we mean is any content that is generated after page load, e.g. ajax tab (default checkout tabs are ajax based).
However, if it works you can leave it.
BR,
ThemeBurn team
|
|