Forums / All Other Contributions/Addons / MSRP Display edit

MSRP Display edit

Views: 1,904

Results 21 to 25 of 25
1 Nov 2012, 2:53 AM
#21
kobra avatar

kobra

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

1 Nov 2012, 3:00 AM
#22
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: MSRP Display edit

under the product information in the admin section. just like normal. It is in US dollars. Is that what you are asking?

1 Nov 2012, 3:43 AM
#23
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: MSRP Display edit

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

1 Nov 2012, 4:10 AM
#24
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: MSRP Display edit

Thanks, that is the changes I made at first too, I think.

Here is what happens when I do that

http://ie-proofs.com/domo-online.com/Outboard-Motor-Oil/evinrude-c-1/xd30-oil-c-1_6/6-gallons-evinrude-xd30-oil-2058-gallon-p-3.html****

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

1 Nov 2012, 4:32 AM
#25
timhersh avatar

timhersh

Zen Follower

Join Date:
Aug 2008
Posts:
274
Plugin Contributions:
0

Re: MSRP Display edit

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