> -----Original Message----- > From: suppressed [mailto:interchange- > suppressed On Behalf Of DB > Sent: zondag 12 augustus 2007 22:38 > To: suppressed > Subject: [ic] Shipping charge getting "stuck" > > 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? I'd think it should appear as first line with each shipping mode you have available. 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: http://www.icdevgroup.org/interchange-doc-5.2.0/frames/icfull.html Don't think I have more answers unless I start digging deeper, and don't have time for that currently. CU, Gert _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.