Above the IF calling the cart function add a line:
global $cart;
You will also need to set up something to manage this in the admin as the cart doesn't exist in the Admin ... so you will probably get an error in the Modules ... Shipping ... without it ...


Reply With Quote
