So we have an issue with using a silly item/product based shipping, aka the user adds a product to the cart (FedEx/USPS) and the cost is added to shipping. If X amount of items are in teh cart, the rate increases due to products being shipped via envelope to being shipped via box. This incurs an additional 20$ service charge. I would like to append an additional 20$ to cart costs if X items are met, but am having an issue with adding this to the session information (and having it stick). Using this code, I can add an additional cost to shipping:
# %install_dir%/catalog/checkout_shipping.php
$_SESSION['cart']->total = $_SESSION['cart']->total + 20;
var_export($cart);
This does not reflect in my shopping cart module/sidebar with he current price though. Help would be appreciated!