bigbob2 Posted March 14, 2010 Share Posted March 14, 2010 On the product_info.php page, I currently have the following lines to show the price: <font size="4"><?php if($product_info['products_price'] > 0){ echo $products_price; }else{ echo 'Call us for a current price';} ?><br> </font><font size="1" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" color="black">Price in NZ$ and excludes GST</font><font size="1" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" color="#a1a4d0"><br> <br> This works well, but I would like to have a second price show below this line which includes our local sales tax (GST). Can someone please write a similar block of code for me which works as above, but shows the price after being multiplied by the NZ zone tax rate. As a second alteration, could you please make it so that if there is no price at all, the "Price in NZ$ and excludes GST" line does not show up at all. Thank you kindly in advance. Kev. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.