diff --git a/README.md b/README.md index b2f8267..6e78a7a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A cool shopping site made using PHP, CSS, Javascript and MySQL. -Note: Adding to Carts needs to be modified. Also the code has security vulnerability against SQL injection so the SQL code needs to be improved. +Note: Pricing Slider doesn't work. Also the code has security vulnerability against SQL injection so the SQL code needs to be improved. # Installation diff --git a/action.php b/action.php index ae5a2de..83384e8 100644 --- a/action.php +++ b/action.php @@ -458,7 +458,7 @@ if (isset($_POST["Common"])) {

'.$product_title.'

-

'.$n.'$'.$product_price.'

+

'.$n.''.$product_price.'$

' @@ -470,7 +470,7 @@ if (isset($_POST["Common"])) { echo '
'.$n.' Item(s) selected -
Rs'.$total_price.'
+
'.$total_price.'$
' ?> diff --git a/js/actions.js b/js/actions.js index ace2287..fafbd11 100644 --- a/js/actions.js +++ b/js/actions.js @@ -508,7 +508,7 @@ $(document).ready(function(){ $('.total').each(function(){ net_total += ($(this).val()-0); }) - $('.net_total').html("Total : Rs " +net_total); + $('.net_total').html("Total : " +net_total+"$"); } //remove product from cart