[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Display Quantity Flypage++
Here is the code to show the quantity breaks availabe in the pricing file,
removing any redundant quantity price discounts. Place this code in your
flypage.html in the appropriate place. My display below the Quantity to
purchase field. If anyone has any improvements please advise - thansk for
all who helped with suggestions.
-Steve
[if data pricing::sku::[item-code]]
<tr>
<td colspan="2" align="center">
<table border=0><tr><td align="center" width="50%"><u>Quantity
Breaks</u></td><td align="center" width="50%"><u>Price</u></td></tr>
[tmp tp1][price code="[item-code]" quantity="1" noformat=1][/tmp]
[loop prefix=break list="1,2,3,4,5,6,10,12,15,20,24,25,36,48,50,72,100,144"]
[tmp tp2][price code="[item-code]" quantity="[break-code]" noformat=1][/tmp]
[if explicit]
[condition]
$Scratch->{tp1} ne $Scratch->{tp2}
[/condition]
<tr><td align="center">
[break-code]+ </td>
<td align="center">
[price code="[item-code]" quantity="[break-code]"]
[tmp tp1][price code="[item-code]" quantity="[break-code]"
noformat=1][/tmp]
</td></tr>
[/if]
[/loop]
</table>
</td>
</tr>
[/if]
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com