paul41598
08-07-2006, 10:00 PM
This is a very very small little template mod that I found useful. Ever notice the loyal member discount in Vbplaza, but it never shows to the end user? The end user probably doesnt even know it exists. Discounts are applied almost in the background from what I notice.
Description:
This shows the user if they are truly getting the loyal member discount & it will show the percentage%
Open (vbplaza_item_confirmation):
Find:
<div class="smallfont">$vbphrase[vbplaza_item_total_cost]: $action[totalcost]</div><br />
</if>
Add Beneath:
<if condition="$action[discountrate]">
<div class="smallfont"><b>Congratulations, You're entitled To The Loyal Member Discount!</b><br />Loyal Member Discount: $action[discountrate]%</div><br />
<else />
<div class="smallfont"><b>Sorry, You're Not Entitled To The Loyal Member Discount</b><br />Loyal Member Discount: $action[discountrate]0%</div><br />
</if>
Screenshots Below
Description:
This shows the user if they are truly getting the loyal member discount & it will show the percentage%
Open (vbplaza_item_confirmation):
Find:
<div class="smallfont">$vbphrase[vbplaza_item_total_cost]: $action[totalcost]</div><br />
</if>
Add Beneath:
<if condition="$action[discountrate]">
<div class="smallfont"><b>Congratulations, You're entitled To The Loyal Member Discount!</b><br />Loyal Member Discount: $action[discountrate]%</div><br />
<else />
<div class="smallfont"><b>Sorry, You're Not Entitled To The Loyal Member Discount</b><br />Loyal Member Discount: $action[discountrate]0%</div><br />
</if>
Screenshots Below