Hi
Ok. Programmers could not find the reason of such behaviour, but they have told me how to reconnect the module to check if there is no new products.
in file /js/gk.script.js I've replaced this code:
- Code: Select all
new Request.HTML({
url: $GK_URL + 'index.php?tmpl=json',
onSuccess: function(nodes, xml, text) {
document.id('gkCartCounter').set('html', text);
}
with this one:
- Code: Select all
new Request.HTML({
url: $GK_URL + 'index.php?tmpl=json',
onSuccess: function(nodes, xml, text) {
document.id('gkCartCounter').set('html', text);
},
onComplete: function() {
setTimeout(function() { gkCartDataRequest(); }, 4000);
}
}).send();
works fine to me now. Please check.