Global.js – "jigoshop_params undefined"
-
Hey everybody,
I’m working on a site that’s running Jigoshop 1.9.1, and ran into a JS conflict with a staff grid plugin that we’re running (https://github.com/factor1/f1-staff-grid). The staff plugin display’s staff members basic information in grid format, and when you click on an individual grid item a Foundation modal pop’s up with more details.
The modal feature wouldn’t work alongside Jigoshop – I was getting a console error telling me that “jigoshop_params” in global.js line 10 was undefined. I was able to fix the conflict by wrapping global.js lines 10-24 in:
if (typeof jigoshop_params != ‘undefined’) {
…
}Would you guys consider adding this to global.js? Or, can you think of an issue with our staff grid plugin that would be instigating this kind of conflict?
Thanks!
Jeff
The topic ‘Global.js – "jigoshop_params undefined"’ is closed to new replies.