[ic] Shipping charge getting "stuck"

DB DB at M-and-D.com
Sun Aug 12 15:37:49 EDT 2007


snip...

>> 
>> Yes, I did use some debugging display text to verify that the if/else
>> is
>> working properly. There's just something odd about the shipping charge
>> getting "stuck" which I don't understand. Once the shipping gets set to
>> zero once, it stays there no mater what I put in the cart. Once stuck,
>> 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 else,
> 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?



More information about the interchange-users mailing list