[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: If trouble, discount trouble?
****** message to minivend-users from Kyle Cook <kyle@invisio.com> ******
I don't know if this will help, but I use the following:
[discount ENTIRE_ORDER]
return ($s) if $s < 100;
return ($s * .9);
[/discount]
And I only place it in a header file which is included
in all of the cat pages except checkout pages.
It works fine and calculates the discount of 10% if the
customer spends more than $100
I assume site_name is a form field. If so, then maybe
it is too late to apply a discount since the items
have already been placed in the cart unless this
form is used before they start shopping.
Kyle Cook
At 12:30 PM 6/7/99 -0400, you wrote:
>****** message to minivend-users from trese
><digital@arcane.specialty-books.com> ******
>
>List :
>
>I'm trying to get a discount of 5% for one group of students and a 10%
discount
>for another. Can't even get the 5% discount to work.
>
>here is the code I'm trying :
>
>[if type=value term=site_name op="=~" compare="AEC/ American Electric Power
>- Cook"]
>[discount ALL_ITEMS] $s * .95 [/discount]
>[/if]
>
>and I put it in checkout.html because the docs don't indicate a proper
location
>for it.
>
>Hope some one knows what I'm doing wrong ;)
>
>========================================
>Cory Trese
>email : digital@specialty-books.com
>phone : (740) 594 - 2274, ext 223
>phax : (740) 593 - 3045
>========================================
>Mail Sent from
>
>Specialty Books,
>Athens Ohio, 45701
>www.specialty-books.com
>
>RedHat Linux, Hedwig
>P][ / 2.3.5
>========================================
>-
>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
http://www.invisio.com
Web site design, database driven sites,
and shopping cart programming.
Great sites, value priced!
-
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