Black Belt
- Join Date:
- Aug 2005
- Location:
- Arizona
- Posts:
- 31,500
- Plugin Contributions:
- 4
MSRP Display edit
I asked what/where/how this price is entered - as the dollar amount
Zen-Venom Get Bitten
Views: 1,904
Black Belt
I asked what/where/how this price is entered - as the dollar amount
Zen-Venom Get Bitten
Zen Follower
under the product information in the admin section. just like normal. It is in US dollars. Is that what you are asking?
Black Belt
In includes/functions/functions_prices.php find at about line 300 the class "norm" and try changing it to something unique that is not already in your stylesheet
i.e.
sprice
Then add to the bottom of your stylesheet that class
.sprice {
text-size: ??em;
}
$final_display_price = '<span class="smalltext1"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE .$currencies->display_price($save, '').' ('. number_format((($display_msrp_price - $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span><br><span class="norm">'.TEXT_PRODUCT_OUR.$show_special_price . $show_sale_price . $show_sale_discount.'</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="smalltext1"><s>'.TEXT_PRODUCT_MSRP.$currencies->display_price($display_msrp_price, zen_get_tax_rate($product_check->fields['products_tax_class_id'])).'</s></span><br><span class="save">'.TEXT_PRODUCT_SAVE .$currencies->display_price($save, '').' ('. number_format((($display_msrp_price - $display_normal_price) / $display_msrp_price), 2, '.', '') * 100 . '%)'.'</span><br><span class="norm">'.TEXT_PRODUCT_OUR.$show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount.'</span>' ;
}else{
Zen-Venom Get Bitten
Zen Follower
Thanks, that is the changes I made at first too, I think.
Here is what happens when I do that
thanks, somehow need to be able to change it on the products_display I think, since that is where the data is sent from.
any idea?
thank you
Zen Follower
Got it. Had to many other styles messing it up. Your solution worked. Also had to change the h2 tag.
Thank you for your help working me through it
Tell staff why this post should be reviewed.