Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SaleMaker products are not showing sale price?


Guest

Recommended Posts

Posted

Hi there, hope this finds you well

 

I was wondering if you can answer this:

 

I installed the contribution and it seems to be working ok. The only problem I am facing is that on product_info, the price of the product does not show the percentage off. It shows the regular price and when added to cart, the discount is applied, which shows that its working fine.

 

I would like for all the products to show the regular price and the sale price also like it is when I use the specials feature.

 

Let me know if you can help

 

thanks

Ricardo

Posted

Ok Never mind I found what my issue was. I also have Master Product contribution and had to make a change on include/module/master_listing.php

 

find:

 

if (tep_not_null($listing['specials_new_products_price'])) {

$lc_text = ' <s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span> ';

 

 

replace

 

if (tep_not_null($listing['specials_new_products_price'])) {

$lc_text = ' <s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span> ';

 

Great Job!

Posted

Hello ricardo

i am not using the master product so how i would show Reg. price and discount price on the product_info. for ex. if my reg. price is 12.95 and discount is 2.00.i would like to show as follow

 

Retail Price: $12.95

Your Price: $10.95

Your Savings: $2.00

 

Can you help.

 

thank you

PJ

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...