[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Simple (?) price adjustment
****** message to minivend-users from Barry Treahy <treahy@mmaz.com> ******
Mike, I'm doing this with my UserTag [ustouk] to convert from a US$ price to a
British Pound Price. It works great with the UserTag, but I haven't been able to
figure out how to get the item-subtotal, subtotal, and total-cost to work properly
with my tag because the tag assumes that it is converting a single unit. The
details for [ustouk] are:
UserTag ustouk HasEndTag
UserTag ustouk Interpolate
UserTag ustouk Routine sub { ($a) = @_; return
Vend::Util::currency($a*1.12/1.6+70.00); }
but give the credit to Oliver and Frank. If someone does come up with an answer to
my line, sub, and totaling problems with this type of tag, I'd be interested in the
scoop...
Barry
Mike Lerley wrote:
> ****** message to minivend-users from Mike Lerley <mike@bfent.com> ******
>
> In the hopes that someone missed this the first time, I am reposting the
> following question... please help me.
>
> ****** message to minivend-users from Mike Lerley
> <mike@bfent.com> ******
>
> OK. The prices in my products database, which is supplied to me by my
> distributor, are MY cost. I want to add $2 to each as my retail price.
> i.e. if the price in the db is $9.49, the price to the customer should
> be $11.49. I have searched the docs and list and can't find an easy way
> to do this. Do I have to set up a pricing database with attributes,
> etc? Please tell me there's a simple way. Thanks!
> -mike
>
> --
> Mike Lerley, System Integrator
> Goold Health Systems
> 24 Stone Street
> Augusta, ME 04330
> Email mike@bfent.com
> Phone (207) 622-3298
> Fax (207) 623-5125
> -
> 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
-
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