basketSummary Plugin Error!

gillweb

No avatar

2005-11-08 23:52

Everything was working fine until I added the basketSummary plugin to my site. Now when I add 1 item to the basket it actually adds 2 of the same item? I've seen on several other links here on the forum that others are having the same problem but just didn't realize it. Anyone have an idea on how to get this fixed?

gillweb@gmail.com

gillweb

No avatar

2005-11-09 00:02

Sorry just un-installed the basketSummary plugin and the issue is still there. This seems to be a 0.31 bug in general?

gillweb@gmail.com

gillweb

No avatar

2005-11-09 00:40

Seems like a FireFox only error? Is there any javascript that FireFox may be reading differently than IE?

gillweb@gmail.com

drJeckyll

No avatar

2005-11-14 19:51

quick and dirty fix :)

open actions_client/orders.php
find:
if( $sOption == 'add' ){
if( isset( $iProduct ) && is_numeric( $iProduct ) && isset( $iQuantity ) && is_numeric( $iQuantity ) && $iQuantity > 0 ){
addBasketProduct( $iProduct, $iQuantity );
}
}

just after addBasketProduct(... add this line:
header( 'Location: '.$_SERVER['PHP_SELF'].'?p=ordersBasket' );

I realy don't know why this software pretend to make double addBasketProduct ... but I know how to make dirty hack :P

gillweb

No avatar

2005-11-15 18:01

thanks..I think that may have worked :-D

gillweb@gmail.com

Back to top
about us | contact