Posted - 12/11/2019 : 02:41:45
<NOTE this issue has been resolved. I posted the solution below for those who might have ran into the same issues>
ISSUE:
I recently updated our test site to v7.1.7 but ran into some issues with the Add to Cart Button.
For search, product, products.asp, proddetail pages, the Add to Cart button is not working and also the price is not updating:
I have already added these lines to the headers of the ect asp pages
<link rel="stylesheet" type="text/css" href="/css/ectcart.css"/> <script type="text/javascript" src="/js/ectcart.js"></script>
and the corresponding updater files but the issues still persist. I first ran into this problem while updating to o v7.1.6 but the same with v7.1.7.
SOLUTION:
I think it could be because you have the location of the ectcart files relative to the root of the site...
/js/ectcart.js
but really I think you want to load the ectcart files relative to the sub-directory.
so should be as follows instead:
<link rel="stylesheet" type="text/css" href="css/ectcart.css"/> <script type="text/javascript" src="js/ectcart.js"></script>
All the best
Vince
|