IAmMithras Posted February 11, 2004 Share Posted February 11, 2004 Changing Price Colour In Second Column I have used the http://www.oscommerce.com/community/contributions,1807 contribution to add a second column to display VAT. I want to be able to change the colour of the ex. VAT price to red. I have tried the following Adding the following to the stylesheet SPAN.PriceColor { font-color: #FF0000; font-size: 10px; } And Adding case 'PRODUCT_LIST_PRICE_EX': $lc_align = 'right'; if (tep_not_null($listing['specials_new_products_price'])) {$lc_text = '<span class="PriceColor ">' . $currencies->display_price_ex($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span><br><s>' . $currencies->display_price_ex($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s>'; } else { $lc_text = '' . $currencies->display_price_ex($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ''; } But it didn?t work, any ideas? Thanks Quote Link to comment Share on other sites More sharing options...
IAmMithras Posted February 11, 2004 Author Share Posted February 11, 2004 I've Sorted It Now :D Quote Link to comment Share on other sites More sharing options...
Dark Angel Posted February 11, 2004 Share Posted February 11, 2004 Hi I did what it sayed it the readme file and i got this can any one help me has in y :( Fatal error: Call to undefined function: display_price() in /usr/local/psa/home/vhosts/mst-direct.co.uk/httpdocs/includes/boxes/specials.php on line 26 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.