Shipping Session not Clearning on Shopping Cart Page...
Shipping Session not Clearning on Shopping Cart Page after you clear the cart button
Shipping Session not Clearning on Shopping Cart Page after you clear the cart button
I'd just remove the shipping line from the cart page so that it isn't displayed since it won't be recalculated until they fill in the checkout form.
You can clear the shipping session variable on the checkout success page to clear it after a purchase has been made. If you don't have user login then you can probably just clear the entire session with:
<?php
session_destroy();
?>
Just place that right before the </body> tag on the checkout success page. If you do have user login and don't want to have them logged out, you can remove individual session variables with:
<?php
unset($_SESSION['YourCartName_UPS_Quote']);
?>
The correct variable name depends on the shipping provider and cart name you are using. You can look it up from your eCart definition file for what is used to calculate the charge.
You can add two shipping rules with conditions based on the weight so that UPS shipping charges only are used if the total weight is over a certain value then add a separate rule for setting the shipping charge if the weight is under that value.
You can add two shipping rules with conditions based on the weight so that UPS shipping charges only are used if the total weight is over a certain value then add a separate rule for setting the shipping charge if the weight is under that value.
That is correct.
This could easily be done in a single premier support ticket. I think you have my skype contact information, just message me there if you want to finish this that way.
I would just remove the shipping row from the shopping cart display on the cart page. Shipping isn't calculated until the checkout page, so any value displayed there won't reflect any updates made to the cart.
The session destroy is on the checkout success page, so by not proceeding to that stage the session destroy code doesn't run.
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.