Post by eBsimplicity » Tue Oct 10, 2017 9:19 pm

Hello!

I am working on an opencart installation and I can't figure out how the image viewer has stopped working when clicking the product image. See for yourself here: http://www.ebx.no/index.php?route=produ ... earch=test or search for test in search field.

Would love to hear if anyone's got an idea on how to reactivate it? ;D

Thanks!

User avatar
New member

Posts

Joined
Thu Dec 08, 2011 12:21 am

Post by straightlight » Tue Oct 10, 2017 10:25 pm

You are either working on the default theme folder and not on a custom theme or you are working on a custom theme folder with the default theme. Switch back to the original default theme and see if the problem can be replicated.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by yodapt » Tue Oct 10, 2017 10:29 pm

Currently you have a javascript error

Code: Select all

jquery-2.1.1.min.js:2 Uncaught Error: Syntax error, unrecognized expression: @media (max-width: 767px) {

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by eBsimplicity » Tue Oct 10, 2017 10:43 pm

Thanks for the reply.

How odd. I mainly worked on the main home page with the module Visual Theme Editor to alter some colors, positions etc through css. Could this corrupt something entirely different such as the product image viewer?

User avatar
New member

Posts

Joined
Thu Dec 08, 2011 12:21 am

Post by straightlight » Tue Oct 10, 2017 10:52 pm

A javascript code can easily interfere with other JS codes.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by eBsimplicity » Tue Oct 10, 2017 11:24 pm

Indeed it can. I removed most of my changes, and it's back in action. :) Thanks for input, it helped me retrace my steps.

Also: Does any of you know how to get .twig file changes to show up on my website? I have tried clearing cache through the gear in the admin panel, but changes in twig files doesnt seem to appear at all. :(

User avatar
New member

Posts

Joined
Thu Dec 08, 2011 12:21 am

Post by eBsimplicity » Tue Oct 10, 2017 11:31 pm

I made some changes to the header in the actual twig file, and it didn't show up until several days after. Is there a way to clear this cache more easily?

User avatar
New member

Posts

Joined
Thu Dec 08, 2011 12:21 am

Post by straightlight » Tue Oct 10, 2017 11:44 pm

Have you also cleared the modifications cache if you're working on an extension?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by eBsimplicity » Tue Oct 10, 2017 11:46 pm

Ah! That did it. Great! Thank you!

User avatar
New member

Posts

Joined
Thu Dec 08, 2011 12:21 am
Who is online

Users browsing this forum: Semrush [Bot] and 396 guests