Change Sale Price Color
To make adjustments, open each of the following pages in the /inc/ folder and change the line as indicated. (You will essentially be changing red to the color value you want to use. Note that this tutorial assumes that you want to change the red color to rust (#800000). If you want to change it to a different color, just use that particular color value.
-
Open the new.php page in the /inc/ folder.
-
Change line 139:
echo "";
to:
echo "";
-
Change line 377:
echo "Sale! $Currency$unitprice";
to:
echo "Sale! $Currency$unitprice";
-
Change line 541:
$pricelist = "
" .$Currency .number_format($newrow[10]*(1-($wsrow[0]/100)),2) ."
Sale! " .$Currency .number_format($newrow[11]*(1-($wsrow[0]/100)),2) ."";to:
$pricelist = "
" .$Currency .number_format($newrow[10]*(1-($wsrow[0]/100)),2) ."
Sale! " .$Currency .number_format($newrow[11]*(1-($wsrow[0]/100)),2) .""; -
Change line 551:
$pricelist = "
$Currency$newrow[10]
Sale! $Currency$newrow[11]";to:
$pricelist = "
$Currency$newrow[10]
Sale! $Currency$newrow[11]"; -
Open the products_detail.php page in the /inc/ folder.
-
Change line 94:
echo "";
to:
echo "";
-
Change line 331:
echo "Sale! $Currency$unitprice";
to:
echo "Sale! $Currency$unitprice";
-
Open the products_multiple.php page in the /inc/ folder.
-
Change line 75:
$pricelist = "
" .$Currency .number_format($searchrow[10]*(1-($wsrow[0]/100)),2,'.','') ."
Sale! " .$Currency .number_format($searchrow[11]*(1-($wsrow[0]/100)),2,'.','') ."";to:
$pricelist = "
" .$Currency .number_format($searchrow[10]*(1-($wsrow[0]/100)),2,'.','') ."
Sale! " .$Currency .number_format($searchrow[11]*(1-($wsrow[0]/100)),2,'.','') .""; -
Change line 85:
$pricelist = "
$Currency$searchrow[10]
Sale! $Currency$searchrow[11]";to:
$pricelist = "
$Currency$searchrow[10]
Sale! $Currency$searchrow[11]"; -
Open the products_single.php in the /inc/ folder.
-
Change line 142:
echo "
";to:
echo "
"; -
Change line 376:
echo "Sale! $Currency$unitprice";
to:
echo "Sale! $Currency$unitprice";
-
Save all files.