[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Shipping calc after Discounts and Tax
****** message to minivend-users from Jayme Frye <jfrye@ehg.net> ******
Ryan,
Your right it can be a pain in the vend. :-)
I thought the shipping criteria had to be a valid database field like
price or weight. I replaced price with [total noformat=1] and shipping
returns 0. The error log has this to say about it:
207.205.77.66 WZtaPgwq:207.205.77.66 - [28/May/1999:08:55:40 -0500]
hgdev /cgi-bin/hgdev/process Custom shipping field '[total' doesn't
exist. Returning 0
My catalog.cfg related directives are: CustomShipping yes, and
DefaultShipping upsg. For kicks and grins I tried [total-cost
noformat=1] for price. Big mistake serious Hammerlock situation:-( The
final thing I attempted was price [total noformat=1] in the same field
in shipping.asc. With this shipping cost is returned but it is not based
on total after discounts and taxes.
I'm re-reading the docs on the subject, but would appreciate any
further assistance.
Happy Minivending
Jayme Frye
Systems Administraion/Webmaster
Epsen Hillmer Graphics Co.
jfrye@ehg.net
Ryan Hertz wrote:
>
> ****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
>
> At 02:56 PM 5/27/99 , Jayme Frye wrote:
> >****** message to minivend-users from Jayme Frye <jfrye@ehg.net>
> ******
> >
> >Hello all,
> >
> > I swear I remember a thread a few months back about calculating
> >shipping after all discounts and applicable taxes. I looked through a
> >hundred or so posts returned from an archive search on shipping, but I
> >couldn't find it. Does anyone else remember the thread?
>
> Shipping is a big pain in the vend.
>
> >
> > What I need to accomplish is calculate shipping based on value of order
> >after all the discounting and sales tax have been added in. My current
> >shipping.asc
> >
> >upsg UPS Ground price
> >0.00 0.00 e Nothing to ship!
> >upsg UPS Ground price 0.00 50.00 7.50
> >upsg UPS Ground price 50.00 100.00 12.50
> >upsg UPS Ground price 100.00 150.00 15.00
> >upsg UPS Ground price 150.00 200.00 20.00
> >upsg UPS Ground price 200.00 250.00 25.00
> >upsg UPS Ground price 250.00 300.00 30.00
> >upsg UPS Ground price 300.00 999999.00 f@@TOTAL@@*.10
>
> Does this work? I would think you'd need to use 150.01 200.00, 200.01
> 250.00, etc. -- it probably does not crash because your pricing may never
> land on the even dollar.
>
> You can use any criteria in your shipping.asc, so, why don't you try,
> instead of price, entering [total noformat=1]. :-)
>
> >
> >FYI discount is a custom ENTIRE_ORDER type.
> >I'm running 3.12 but nearly all the pages were originally developed back
> >in the 3.11 days.
> >
> >Happy Minivending
> >
> >Jayme Frye
> >Systems Administration/Webmaster
> >Epsen Hillmer Graphics Co.
> > jfrye@ehg.net
> >-
> >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
> >
>
> Ryan Hertz tel 520-645-3812
> Webmaster tel 800-645-BAIT
> Advertising Director fax 520-645-2588
> Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.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
-
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