[ic] Shipping change

Ed LaFrance interchange-users@interchange.redhat.com
Thu May 30 11:01:01 2002


At 08:37 AM 5/30/2002 -0600, you wrote:

>Hello.  I'm trying to set up our shipping so that if the weight is 0,
>it will not show the shipping pull-down at all - instead it will set a
>hidden variable to the shipping method used to handle 0 weight items
>(no shipping!).  What is the easiest way to do this?
>
>In the checkout page there is simply a [shipping] tag.  Is there a
>way to do something like this around the whole table row:
>
>[if order_weight]
>  ... shipping stuff ...
>[/if]
>
>Thanks,
>Mark

I'm pretty sure there is still a [summary] tag on the checkout page which 
calculates the total weight of all items in the basket. You could use it 
like this:

[if type=explicit compare="[summary format='%s' total=1]"]
         (show shipping selector)
[else]
         (set shipmode directly)
[/else]
[/if]

- Ed L.


===============================================================
Increase profits from your Interchange store... FREE!
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================