Initial commit
This commit is contained in:
5
playarea/templates/product/short_price.php
Normal file
5
playarea/templates/product/short_price.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
$product_price = number_format($variables["price"], 2, ',', ' ');
|
||||
if($variables["sale_percent"] > 0) echo number_format($variables["price"] * (1 - ($variables["sale_percent"] / 100)), 2, ',', ' ');
|
||||
else echo $product_price;
|
||||
Reference in New Issue
Block a user