Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

normal price in specials without tax


pietiac

Recommended Posts

Posted

I noticed a small problem with normal price at specials page, specials box, new products box ...everywhere a special price is displayed ...

 

General:

main price (without VAT) - 100

main price (with VAT) - 122

special price (without VAT) - 10

special price (with VAT - 12.20

 

userside (where a special prices are displayed):

 

normal price - 100 (without VAT!!! )

special price - 12.20 (with VAT)

 

SHOULD BE:

 

normal price - 122 (WITH VAT)

special price - 12.20 (with VAT)

 

please help me...

Posted

I foud something....

 

$whats_new_price = . '<s>' $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br>';

$whats_new_price .= '<span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span><br>';

 

When I cut <s> </s> everything works fine but price is not "lined-through" :(...

 

I tried to use CSS styles with decoration "line-through"but still price is without VAT... under line...

Archived

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

×
×
  • Create New...