Announcement

Collapse
No announcement yet.

Cart cookie / shipping info

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cart cookie / shipping info

    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?
    www.gbradley.co.uk
    Web Development, Actinic Patches, Scripts & more

    #2
    OK, I finally found the GenerateCartCookie() function in ActinicOrder.pm, so can work on it from here.
    Last edited by Kermy; 09-Nov-2005, 04:21 PM. Reason: found
    www.gbradley.co.uk
    Web Development, Actinic Patches, Scripts & more

    Comment

    Working...
    X