Hi how can i get the you save price to display including VAT??
my store shows the following
Retail Price: £480.00
You save: £275.00 (69%)
Our Price: £150.00
the 275.00 shown is without VAT as the saving is £330 (275 + 20% vat)
how can I fix this?
Hi how can i get the you save price to display including VAT??
my store shows the following
Retail Price: £480.00
You save: £275.00 (69%)
Our Price: £150.00
the 275.00 shown is without VAT as the saving is £330 (275 + 20% vat)
how can I fix this?
how can i make the you save price display including VAT???
i have tried reinstalling the mod to make sure nothing missing and still the same!
Is this now un supported??
Goto (approx) line 290 of
includes\functions\functions_prices.php
and replace the block of code starting with "if ($display_normal_price == 0) {" with the code below:
PHP Code:if ($display_normal_price == 0) {
// don't show the $0.00
if(($display_msrp_price!='')&&($display_msrp_price!='0')){
$save=$display_msrp_price-$display_normal_price;
$final_display_price = '<span class="pblock">'.TEXT_PRODUCT_MSRP.'</span><span class="smalltext1"><s>'.$currencies->display_price($display_msrp_price).'</s></span><br><span class="pblock">'.TEXT_PRODUCT_OUR.'</span><span id="elPrice" class="norm">'.$show_special_price . $show_sale_price . $show_sale_discount.'</span><br><span class="pblock">'.TEXT_PRODUCT_SAVE.'</span><span class="save">'.$currencies->display_price($save, '').' ('. number_format((($display_msrp_price - $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span>' ;
} else {
$final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;
}
} else {
if(($display_msrp_price!='')&&($display_msrp_price!='0')){
$save=$display_msrp_price-$display_normal_price;
$final_display_price = '<span class="pblock">'.TEXT_PRODUCT_MSRP.'</span><span class="smalltext1"><s>'.$currencies->display_price($display_msrp_price ).'</s></span><br><span class="pblock">'.TEXT_PRODUCT_OUR.'</span><span id="elPrice" class="norm">'.$show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount.'</span><br><span class="pblock">'.TEXT_PRODUCT_SAVE .'</span><span class="save">'.$currencies->display_price($save, '').' ('. number_format((($display_msrp_price - $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span>' ;
} else {
$final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;
}
}
guess that not for me... as it made no difference just changed to order and layout. lol
Price: Retail Price: £568.09
Our Price: £249.99
You save: £359.77 (63%)
I want to use this mod but before I do I had a question.
The looks of this mod are basically this on the product page:
But how would this look on the product page If I applied a product special discount? Lets say the price is $60 now using the special discount feature in zen-cart. How would the product page look now?Retail Price: $92.00(Crossed out)
You save: $22.00 (24%)
Our Price: $70.00
Please find attached my attempt at upgrading MSRP for Zen Cart 1.5. msrp-display_for_1.5.zip
Following That Software Guy's instructions and his gentile push to not give up, I have tried to not mess this attempt up.
I have also added 'uninstall' instructions to the read me,
I have tested on a live webspace, and this one thankfully no longer produces any myDebug files. I would be grateful if people could download and test and give feedback if it's upgrade has been done properly this time. To save wasting the time of the ZC admins in reviewing before submission, if no one comes back to me by the end of the week with any errors I will then formally upload to the downloads section. Unless a ZC admin thinks it is fine to just go ahead and upload for me. Thanks.
(N.B. I have left the 'classic' name in the template section. I forgot to rename it YOUR_TEMPLATE - oops, bug 1 found)
Last edited by ray-the-otter; 11 Jun 2012 at 12:28 PM. Reason: bug