devshb
Senior Member
United Kingdom
1904 Posts |
Posted - December 27 2008 : 03:15:43
|
You might find this addon useful:
BYZ021 - Quantity Discount Displays for VP-ASP: http://www.bigyellowkey.com/mysoftware_product_details.asp?prdid=204&opu=n
demo/example display: http://www.bigyellowzone.com/vpasp60access/shopexd.asp?id=24&template=tmp_product_qtydiscount_demo.htm
That's driven from the standard vpasp quantity discount data, and it should also work for multi-ccy too.
The demo shows all 6 types of format that you can use; the one that matches your preferred format is the 4th one. You'd add the relevant template field(s) to your template file (eg tmp_product.htm), and if the product doesn't have any qty discounts it simply won't display the table for that product.
Each format is a template field, so you can call whichever ones you want, and you can also tweak the formatting html (labels etc) with the config files (the logic which does the calculation is split out from the logic which formats things, so it's easy to change the formatting without having to delve into how it's all calculated etc)
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on December 27 2008 03:30:29 |
|
|