[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] a push in the right direction, please?
Hi,
Just loop through the cart with an item-list and then
do an if-field (create an extra column in which you place a 1
or something just for the special item) you can also do
a item-code compare, I guess but I don't know how.
If-field=true then do a set of "mv_shipmode".
But after the if-field, also do a check for nitems in the cart
if it's > 1, set mv_shipmode to the one that uses per-item
shipping plus the given extra charge, if it's not > 1,
just set mv_shipmode to the one that applies the flat special
charge:
item-list
if-field special
if nitems > 1
set mv_shipmode normalspecial
else
set mv_shipmode special
/else
/if
else
set mv_shipmode normal
/else
/if-field
/item-list
Also, take a look at shipping in the docs and "heavy items"
It accomplishes about what you want using Perl.
Hope this helps,
-Gideon
> ****** message to minivend-users from Ace Kumar <ace@digiknow.com>
******
>
>
>
> Hi All...
>
>
> I was wondering if anyone can give me a push in the right direction for
> how to accomplish the following:
>
>
> Right now, my MV catalog has some standard, price-based shipping
> charges. The client wants to have *one* particular item to have a
> separate shipping charge. If that item (and only that item) is ordered,
> then only the separate shipping charge is applied (and NOT the standard
> charge). If other items are ordered in addition to the special item, they
> get the standard shipping charge *plus* the special shipping charge. The
> special shipping charge is *per* special item ordered.
>
> I'm not entirely sure how to approach this. Anyone have any ideas?
>
>
>
>
> Ace
> --
> Simran (Ace) Kumar, Systems Integrator
> DigiKnow LLC 25700 Science Park Drive #260 Cleveland, Ohio 44122
> Office: (216)292-7259 Fax (216)292-4952
> http://www.digiknow.com
>
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list