Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 General
 Off topic, News and Updates
 Add to Cart Button Not Working after Update
Author « Topic »  

newbielearner80
Advanced Member

USA
239 Posts

Pre-sales questions only
(More Details...)

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

Vince
Administrator

42455 Posts

Posted - 12/12/2019 :  06:52:27  
And thanks for coming here to post the solution . . . I'm glad it worked!!

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000