Hi everybody,
I have a problem regarding scripts.override.tpl from my_changes/addons/hooks/index/…
Everything works fine, before I make any ajax call, like change the page, switch my product size / color option …
Then after nothing works ok, seems like it cancelled my scripts
How can I fix this?
Thanks
Why are you doing scripts.override.tpl ? Wouldn't it be better to do scripts.post.tpl ? This way you only put your scripts in your file and CS-Cart is still able to run its scripts like it supposed to.
Thanks,
Brandon
[quote name='brandonvd' timestamp='1314283843' post='120343']
Why are you doing scripts.override.tpl ? Wouldn't it be better to do scripts.post.tpl ? This way you only put your scripts in your file and CS-Cart is still able to run its scripts like it supposed to.
[/quote]
I've tried but no success (the detail product page is not working). The problem is that when I call next page (using ajax) it cancels somehow my link to js lib files needed tor my tooltip {title, price, image, truncate description} over product images.
For the moment I've cancelled the ajax pagination in store, in order to work fine. But is a temp solution. It's weird altought…