kunal247 Posted June 8, 2005 Share Posted June 8, 2005 Is there a way to change the colour and font size of the Price inc VAT & ex VAT and not disturbing the rest of the headders via CSS? I am not sure how to write this, can you please help!!! I am using VAT Price Inc and Excl Contribution to display both prices. Thanks in advance. Kunal Link to comment Share on other sites More sharing options...
kunal247 Posted June 8, 2005 Author Share Posted June 8, 2005 Is there a way to change the colour and font size of the Price inc VAT & ex VAT and not disturbing the rest of the headders via CSS? I am not sure how to write this, can you please help!!! I am using VAT Price Inc and Excl Contribution to display both prices. Thanks in advance. Kunal <{POST_SNAPBACK}> I have added a second display price to correct my problem currancies.php function display_price2($products_price = 1 ) { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . VAT_TEXT; } and in product_info.php added this if ($products_options['options_values_price'] != '0') { $products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price2($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') '; All is working well now only the price of the atributes does not get diplayed correctly, it is showing ?0.00 (inc VAT) where as the price set for it is ?70.50 inc VAT But when you add it to the cart it does add it to the correct amount to the total. here is a link: http://www.247av.com/product_info.php?pNam...sonic-42phd7bkj any idea where I can rectify this small mistake? Regards, Kunal :'( Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.