Fórum OpenCart Brasil

Por um e-commerce livre, confiável e profissional

Suporte geral sobre problemas técnicos para OpenCart v1.x.
Por mhateeuus
#49666
Está aparecendo o seguinte erro na aba dos produtos relacionados:

/javascript"> (function() { // store the slider in a local variable var $window = $(window), flexslider; // tiny helper function to add breakpoints function getGridSize() { return (window.innerWidth < 320) ? 1 : (window.innerWidth < 600) ? 2 : (window.innerWidth < 800) ? 3 : (window.innerWidth < 900) ? 3 : 4; } $window.load(function() { $('#content #related_pro').flexslider({ animation: "slide", animationLoop: false, slideshow: false, itemWidth: 210, minItems: getGridSize(), // use function to pull in initial value maxItems: getGridSize() // use function to pull in initial value }); }); }());

Até poucos dias atrás tava funcionando normalmente, não faço ideia do que seja, se puderem me ajudar, agradeço.