Powerstore V2 Shopping Cart empty
i can not add products to my cart. i ve always the message "your ecart is empty". i own powerstore v2 and super suite.
i can not add products to my cart. i ve always the message "your ecart is empty". i own powerstore v2 and super suite.
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.
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);
}
?>
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.
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.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.