View Full Version : Powerstore V2 Shopping Cart empty
info371156
07-24-2009, 11:05 AM
i can not add products to my cart. i ve always the message "your ecart is empty". i own powerstore v2 and super suite.
Ray Borduin
07-24-2009, 11:22 AM
Try adding session_commit(); on the line before the header() redirect on the add to cart page. For some reason your session isn't being stored properly, and this usually resolves that issue.
info371156
07-24-2009, 11:35 AM
thanks it works!
Product_detail.php (not the cart page):
this solution is working:
<?php
// WA eCart Redirect
if ($WA_Store_Cart->redirStr != "") {
session_commit();
header("Location: ".$WA_Store_Cart->redirStr);
}
?>
Ray Borduin
07-24-2009, 11:38 AM
It shouldn't be necessary, but you are not the first to report needing that update. I think it must have to do with another error on the page somehow, but I don't really know for sure why it happens sometimes.
In a future version of eCart we will probably just always add that line before any redirect, since it shouldn't ever hurt and seems to resolve problems for some people such as yourself.
anitah355532
09-03-2009, 05:03 PM
I had the same issue, and inserted "session_commit();" on both the cart page and the product_detail page, as per the above solution.
Thank you ..... this has now resolved the problem for me as well.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.