MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: How do you display discount amount?



******    message to minivend-users from mikeh@minivend.com     ******

Quoting Ceres (jfrye@ehg.net):
> ******    message to minivend-users from Ceres <jfrye@ehg.net>     ******
> 
> Hello everyone,
> 
> I have done my best to solve this on my own by way of docs and mail list
> archive but I am at a dead-end. My wish is to display on basket.html and
> checkout.html the amount of the customers discount. Something like:
> 		
> 		Quantity	Price	    Extension
> 		  11		$100.00	$1100.00
> 
> 			Less Discount	$165.00
> 				Subtotal	$935.00
> 
> I have the subtotal discounting correctly with:
> 
> 	[discount ENTIRE_ORDER]
>     return ($s)       if $s < 500;
>     return ($s * .9)  if $s < 1000;
>     return ($s * .85) if $s < 2500;
>     return ($s * .82) if $s > 2500;
> 	[/discount]
> 


[item-list]
Discount on [item-code]:	[item-discount]
[/item-list]

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
Fast, reliable, cheap.              131 Willow Lane, Floor 2  | ||  _ \
Pick two and we'll talk.            Oxford, OH  45056         | || |_) |
 -- unknown                         <mikeh@minivend.com>     |___|  _ <
                                    513.523.7621 FAX 7501        |_| \_\
-
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


Search for: Match: Format: Sort by: