Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout term and conditions do not open in colorbox #1878

Closed
Gamesh opened this issue Sep 28, 2014 · 1 comment
Closed

Checkout term and conditions do not open in colorbox #1878

Gamesh opened this issue Sep 28, 2014 · 1 comment

Comments

@Gamesh
Copy link

Gamesh commented Sep 28, 2014

Using OpenCart v1.5.6.4

In last checkbout step there are Terms & Conditions, that should open in colorbox, but they just open in the same window.

My guess is that this code is suppoed to initialize colorbox:

$('.colorbox').colorbox({
        width: 640,
        height: 480
}); 

but it does not because terms and conditions anchor has a fancybox class set, not .colorbox.
Also colorbox javascript is not included at that point.

It appears that it's only happens when Lithuanian language is turned on. May be you should consider moving html code that is used to generate anchor from translations to somewhere else.

@Gamesh
Copy link
Author

Gamesh commented Sep 28, 2014

did you close, because you resolved it ?
i changed the class, but it didn't work, i think colorbox initialization does not run, when html is received from ajax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants