JBone Posted November 17, 2009 Share Posted November 17, 2009 Hi all I have used OSC a few years ago but this time around it has been a bit of a nightmare. After finally getting it installed I seem to have one final issue I cannot resolve. All seems to work Ok both admin and customer side with the exception of the update shopping cart tick boxes. I tick them and press update and nothing happens. I can see in the Database they are visible in the right places (sessions and cart contents) so that side I think works OK but I cannot remove what I have added. Its driving me nuts. Any ideas? Happy to upload whatever files are needed. I think it is shopping_cart that runs it but not sure. Thanks J Link to comment Share on other sites More sharing options...
JBone Posted November 17, 2009 Author Share Posted November 17, 2009 Sorry forgot to mention I believe I am running 2.2 MS2 PHP 5.2.6 MySQL 5.0.77 Thanks Link to comment Share on other sites More sharing options...
JBone Posted November 18, 2009 Author Share Posted November 18, 2009 Update. It would seem the cart contents are the same for all users. I created new users and the contents are the same as the previous. Session issue?? Link to comment Share on other sites More sharing options...
JBone Posted November 18, 2009 Author Share Posted November 18, 2009 All Fixed this now. The were some (int) tags missing from shopping_cart.php file. Used a compare tool to check them with a working version. Thanks anyway. where pa.products_id = '" . (int)$products[$i]['id'] . "' and pa.options_id = '" . (int)$option . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . (int)$value . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . (int)$languages_id . "' and poval.language_id = '" . (int)$languages_id . "'"); Link to comment Share on other sites More sharing options...
roxynay Posted January 13, 2010 Share Posted January 13, 2010 Hello Jbone, I am having the same issue... could you please tell me what you did to make it update.. thank you Link to comment Share on other sites More sharing options...
roxynay Posted January 13, 2010 Share Posted January 13, 2010 Jbone, I see what you did... but all my (int) are on the correct places.. Link to comment Share on other sites More sharing options...
thor1964 Posted February 22, 2010 Share Posted February 22, 2010 Jbone, I see what you did... but all my (int) are on the correct places.. Having same issue here on _both_ my carts. Didn't have the (int) in place either. Tried adding the (int), but didn't resolve the issue. Anyone have a possible solution? Bookstore where issue exists: http://netpressorders.com/shopping//catalog/index.php Link to comment Share on other sites More sharing options...
thor1964 Posted February 22, 2010 Share Posted February 22, 2010 Found a good solution.. Not a fix but a solution nevertheless. Just switched from clunky 2click [checkbox|update] to one click [remove] button and no more cart remove item issue!! :-) Solution I used came from here http://www.oscommerce.com/forums/topic/63822-remove-products-from-the-chart-with-one-click/page__p__257086__hl__cart%20remove__fromsearch__1entry257086 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.