[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Shipping with named subroutine
Hello!
I'm having the smae problem you did. Do you know how to pass each
item's quantity along to the Subroutine?
Thanks for your time!
-Nick
On Tue, 15 Jun 1999, Andrew Turner wrote:
> ****** message to minivend-users from Andrew Turner <turner@mikomi.org> ******
>
> Okay, I've got a few questions about this mode.
>
> There is a hash passed with SKU as it's key. Is there anyway to make it use
> something like [item-code]? In our tables SKU isn't guaranteed unique,
> where as [item-code] is.
>
> How do we pass the quantity of an item? We're doing some manipulation based
> on price and it can really only work if we know the total price for the
> order...
>
> Our shipping.asc contains a line that looks like this:
>
> shipping Standard quantity 1 9999 s calc_shipping weight,price,storeid,quantity
>
> I can access the other items passed in (weight,price,storeid) but not
> quantity.
>
> Thanks for any help... (even if it's just which minivend perl module I
> should look in...)
>
> --
> Andy <turner@mikomi.org>
> Mr. Teapot says...
> ... stop walking on me! It hurts!
> -
> 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
>
---
"C combines the power of assembler with the portability of assembler."
-- Anonymous