[ic] Shipping charge getting "stuck"
Gert van der Spoel
gert at 3edge.com
Mon Aug 13 03:48:56 EDT 2007
> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of DB
> Sent: zondag 12 augustus 2007 22:38
> To: interchange-users at icdevgroup.org
> Subject: [ic] Shipping charge getting "stuck"
> >> Yes, I did use some debugging display text to verify that the
> >> is
> >> working properly. There's just something odd about the shipping
> >> getting "stuck" which I don't understand. Once the shipping gets set
> >> zero once, it stays there no mater what I put in the cart. Once
> >> I
> >> have to close the browser and re-enter the site to get it to show
> >> something other than zero for shipping.
> >> Can you give me and example of a line for shipping.asc that would do
> >> what you suggest?
> > http://www.interchange.rtfm.info/icdocs/tags/assign.html#shipping
> > "The assignment is persistent within a user's session until you clear
> it, an
> > assigned tag will return your value instead of calculating a value."
> > [assign clear=1] in your 'if' part could do the trick (unless you
> are using
> > assign for other things as well that would then also be cleared).
> > As for the weight 0 to have 0 shipping, in my shipping.asc I have the
> > following:
> > FPSR_GRE First Priority weight 0 0 e Nothing to ship!
> > I'd think that you could change the e Nothing to ship! To something
> > perhaps just 0
> > CU,
> > Gert
> Ok thanks. Adding a line to the shipping.asc seems like the best way,
> but I calculate shipping based on price, not weight. Will your method
> still work? Does it matter if this line appears first or last in the
> shipping.asc file?
I'd think it should appear as first line with each shipping mode you have
Not sure you if you can mix weight and price with a shipping mode.
Haven't tried myself and am not totally sure about the flow of the shipping
calculations, here you can find some more details on shipping:
Don't think I have more answers unless I start digging deeper, and don't
have time for that currently.
More information about the interchange-users