PDA

View Full Version : VbPlaza - Loyal Member Discount Display


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

bashy
08-08-2006, 03:27 PM
Hi, great idea but not working for me, placed it exactly where you have said
but it dont show for somme unknown reason, I have bought both lottery
and made username bold....

See image please

paul41598
08-08-2006, 03:45 PM
Hmm, tested it on my testboard, and it works on there too.

Not sure, you running 3.5.4 and vbplaza 1.5.8?

bashy
08-08-2006, 06:49 PM
I have 3.5.4 but only plaza 1.5.7 would this make a big difference?

bashy
08-08-2006, 07:45 PM
EDIT: it now works since upgrading to 1.5.8 thanks for ya help and a great idea :)

paul41598
08-08-2006, 07:55 PM
Glad its working! :D