[ic] Free Shipping based on User?

Ed LaFrance interchange-users@lists.akopia.com
Wed Jul 11 12:11:00 2001


At 06:06 AM 07/11/2001 -0700, you wrote:
>Is it possible to allow free shipping based on the
>user?  If so can someone point me in the correct
>direction.
>

You just need a method of identifying those users who should receive free 
shipping - in the case of logged in users, for example, perhaps a new field 
in the userdb called 'free_shipping', with a non-blank value for those who 
get a free ride.

Then on the checkout page you can just do (near the top):

[if value free_shipping]
         [value name=mv_shipmode set=freeshipping hide=1]
[/if]

...this assumes you have a mode called freeshipping in shipping.asc, which 
could look something like this (formatted for readability):

code            Desc            criteria        min     max             price
freeshipping    Free Shipping!  price           0       99999999        0

...you could also disable the shipmode selector on the checkout page, since 
they do not need to see it in this case:

[if !value free_shipping]
         (shipmode selector code here)
[/if]

- Ed L.





===============================================================
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
===============================================================