Upgraded to 7.0.3 but now can't add to cart!?
Upgraded to 7.0.3 but now can't add to cart!?
Hi
Does anyone have a solution i can try to get items added to the basket again?
http://www.geniusnet.co.uk/G-Shot-HD550T-P352.aspx
Notice the Add to wishlist and Add to Cart buttons do not do anything.....i have tried re-uploading the ConLib files before and after the upgrade but it doesn't fix the problem
One thing i have noticed is the link behind the buttons says:
javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOptions("ctl00$wpm$ShowProduct$ctl09$AddToBasketButton",%20"",%20true,%20"AddToBasket",%20"",%20false,%20true))
Whereas the link behind the add to cart on the related products says:
javascript:__doPostBack('ctl00$wpm$ShowProduct$ctl11$ItemsRepeater$ctl01$Add2Cart$AC','')
Does anyone have a solution i can try to get items added to the basket again?
http://www.geniusnet.co.uk/G-Shot-HD550T-P352.aspx
Notice the Add to wishlist and Add to Cart buttons do not do anything.....i have tried re-uploading the ConLib files before and after the upgrade but it doesn't fix the problem
One thing i have noticed is the link behind the buttons says:
javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOptions("ctl00$wpm$ShowProduct$ctl09$AddToBasketButton",%20"",%20true,%20"AddToBasket",%20"",%20false,%20true))
Whereas the link behind the add to cart on the related products says:
javascript:__doPostBack('ctl00$wpm$ShowProduct$ctl11$ItemsRepeater$ctl01$Add2Cart$AC','')
Last edited by industry on Wed Oct 13, 2010 5:46 am, edited 1 time in total.
Re: Upgraded to 7.0.3 but now can't log in!?
Looking around the site, its not just the log in button thats failing to work, i can now no longer add items to the basket/cart
Help
Help

Re: Upgraded to 7.0.3 but now can't log in!?
Seems like you upgraded on the live site directly. Not a good idea really.
Anyway ... you probably missed something during the upgrade. Most likely you already had some customizations done on your store. When you upgraded you either did an overwrite or you did not incorporate the updates to those custom scripts manually.
Upgrading a customized site should always be done with lot of attention and care. If you don't have a staging site, It is better to do the upgrade on a test site on your local system first.
Anyway ... you probably missed something during the upgrade. Most likely you already had some customizations done on your store. When you upgraded you either did an overwrite or you did not incorporate the updates to those custom scripts manually.
Upgrading a customized site should always be done with lot of attention and care. If you don't have a staging site, It is better to do the upgrade on a test site on your local system first.
Re: Upgraded to 7.0.3 but now can't log in!?
Any idea how i can get the buttons working again? - i've no idea where to start looking 

- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Upgraded to 7.0.3 but now can't log in!?
I was able to add products to the basket.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Upgraded to 7.0.3 but now can't log in!?
Hmm, i can add to basket if i click the link within the category pages:jmestep wrote:I was able to add products to the basket.
http://www.geniusnet.co.uk/Over-Ear-Style-C170.aspx
But within the actual product, the button wont work (within the productdialogue conlib):
http://www.geniusnet.co.uk/GHP-03B-P328C170.aspx
If you need me to post any files/code just ask - i have access to it all.
Thanks in advance
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Upgraded to 7.0.3 but now can't log in!?
OK, I couldn't add it from the product page either. In Firefox firebug, I am seeing the error that val is null.
function ValidatorValidate(val, validationGroup, event) {
val.isvalid = true;
if ((typeof(val.enabled) == "undefined" || val.enabled != false) && IsValidationGroupMatch(val, validationGroup)) {
if (typeof(val.evaluationfunction) == "function") {
val.isvalid = val.evaluationfunction(val);
if (!val.isvalid && Page_InvalidControlToBeFocused == null &&
typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
ValidatorSetFocus(val, event);
}
}
}
ValidatorUpdateDisplay(val);
}
Check the code in your two buyproductdialog files and see if they are different from the default Able ones.
function ValidatorValidate(val, validationGroup, event) {
val.isvalid = true;
if ((typeof(val.enabled) == "undefined" || val.enabled != false) && IsValidationGroupMatch(val, validationGroup)) {
if (typeof(val.evaluationfunction) == "function") {
val.isvalid = val.evaluationfunction(val);
if (!val.isvalid && Page_InvalidControlToBeFocused == null &&
typeof(val.focusOnError) == "string" && val.focusOnError == "t") {
ValidatorSetFocus(val, event);
}
}
}
ValidatorUpdateDisplay(val);
}
Check the code in your two buyproductdialog files and see if they are different from the default Able ones.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Upgraded to 7.0.3 but now can't log in!?
Thanks for looking into this for us
I re-uploaded the default buyproductdialogue files that came with the upgrade and its changed the look and feel but the buttons still don't work.
Is there anything else that controls these buttons?
I re-uploaded the default buyproductdialogue files that came with the upgrade and its changed the look and feel but the buttons still don't work.
Is there anything else that controls these buttons?
Re: Upgraded to 7.0.3 but now can't log in!?
Hi
Does anyone have a solution i can try to get items added to the basket again?
http://www.geniusnet.co.uk/G-Shot-HD550T-P352.aspx
Notice the Add to wishlist and Add to Cart buttons do not do anything.....i have tried re-uploading the ConLib files before and after the upgrade but it doesn't fix the problem
One thing i have noticed is the link behind the buttons says:
javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOptions("ctl00$wpm$ShowProduct$ctl09$AddToBasketButton",%20"",%20true,%20"AddToBasket",%20"",%20false,%20true))
Whereas the link behind the add to cart on the related products says:
javascript:__doPostBack('ctl00$wpm$ShowProduct$ctl11$ItemsRepeater$ctl01$Add2Cart$AC','')
I'm stuck
Does anyone have a solution i can try to get items added to the basket again?
http://www.geniusnet.co.uk/G-Shot-HD550T-P352.aspx
Notice the Add to wishlist and Add to Cart buttons do not do anything.....i have tried re-uploading the ConLib files before and after the upgrade but it doesn't fix the problem
One thing i have noticed is the link behind the buttons says:
javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOptions("ctl00$wpm$ShowProduct$ctl09$AddToBasketButton",%20"",%20true,%20"AddToBasket",%20"",%20false,%20true))
Whereas the link behind the add to cart on the related products says:
javascript:__doPostBack('ctl00$wpm$ShowProduct$ctl11$ItemsRepeater$ctl01$Add2Cart$AC','')
I'm stuck

Re: Upgraded to 7.0.3 but now can't log in!?
Anyone able to help?
Sales are being lost due to them not being able to add to cart
Sales are being lost due to them not being able to add to cart
Re: Upgraded to 7.0.3 but now can't log in!?
I am not sure in your case why its showing such behavior but once i faced such issue due to some customization code, so if you have any customization then give a try by disabling that customized code .
hope this helps!
__________________
s_ismail

AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
__________________
s_ismail


AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
Re: Upgraded to 7.0.3 but now can't add to cart!?
I finally figured it out
In my left hand nav i had this commented out
<!--[[ConLib:SubscribeToEmailList Caption="Sign up for e-updates" EmailListId="1"]]-->
Then after googling loads of answers, someone said this

In my left hand nav i had this commented out
<!--[[ConLib:SubscribeToEmailList Caption="Sign up for e-updates" EmailListId="1"]]-->
Then after googling loads of answers, someone said this
So i basically removed the commented out line and it now worksSo after looking around I found out that I had some panels that were hidden on the page. And in one of those panels, I have a validation control, if a validation control is "hidden" on the page (the panel's visibility is set to false and later made visible) then .NET adds WebForm_DoPostBackWithOptions to the button controls and thus does not work.

- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Upgraded to 7.0.3 but now can't add to cart!?
Ah, yes. We have run into that with people commenting out conlibs instead of removing them.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
-
- Ensign (ENS)
- Posts: 7
- Joined: Tue Jun 30, 2009 2:10 pm
Re: Upgraded to 7.0.3 but now can't add to cart!?
I realize this thread is a year old but we're running into the same problem and we don't have any conlib's commented out. We can add to cart once from a product page and then the buttons no longer work for "add to cart" and "add to wishlist". The console is saying 'cannot set property "validationGroup" of null'. Both linkButtons have ValidationGroup="AddToBasket".
We did have some customization done but tried replacing those files with AbleCommerce original files (7.0.3) and still have the problem. Stumped here! Anyone have other ideas?
We did have some customization done but tried replacing those files with AbleCommerce original files (7.0.3) and still have the problem. Stumped here! Anyone have other ideas?
-
- Ensign (ENS)
- Posts: 7
- Joined: Tue Jun 30, 2009 2:10 pm
Re: Upgraded to 7.0.3 but now can't add to cart!?
I'm still not sure why it's the case but it seems to be related to the minicart (minibasket.acsx) which was in the sidebar. Once I removed the minicart the error went away. Hope this helps others and encourages a fix.