We have a free shipping level of £250, and I have written a script that displays how much more buyers have to spend before they qualify for free shipping. I have just noticed a flaw though and am not sure how to fix it.
Until the buyer goes to checkout, the cart contains only items added. If the user clicks on checkout, then goes back shopping, Actinic seems to add on the default shipping charge of £4.99. Since my script calculates the 'free shipping' amount from the cart total, the amount displayed is now incorrect.
Having snooped around the JS files, there isn't any shipping info placed in the cookie. Does anybody know which file writes the cookie so I could add the shipping value to the cookie string?
Until the buyer goes to checkout, the cart contains only items added. If the user clicks on checkout, then goes back shopping, Actinic seems to add on the default shipping charge of £4.99. Since my script calculates the 'free shipping' amount from the cart total, the amount displayed is now incorrect.
Having snooped around the JS files, there isn't any shipping info placed in the cookie. Does anybody know which file writes the cookie so I could add the shipping value to the cookie string?
Comment