Hi,
I'm currently using code on our site originally from the v8 AUG which shows how much money needs to be spent to receive free delivery.
See http://www.enjoymuzic.com/ for a visual.
I believe that this is the script being used...
We intend to open up our website and start selling to other EU member countries.
Does anyone know a way in which this code can be changed to only appear to visitors within the UK?
I hope someone can help as I'm useless with javascript!
Thanks in advance.
David
I'm currently using code on our site originally from the v8 AUG which shows how much money needs to be spent to receive free delivery.
See http://www.enjoymuzic.com/ for a visual.
I believe that this is the script being used...
Code:
<script language="javascript" type="text/javascript"> function de(prc) { var data, endata; data = new String(prc); data = data.split(" "); endata = cut(data[0]); return endata; } function cut(dpt) { stng = dpt.replace("£", ""); stang = stng.replace(".", "."); return stang; } var left; price = de(getCartItem(1)); if (price >= 35) { document.write("You have qualified for FREE delivery!"); } else { left = (35 - price).toFixed(2); document.write("Spend £"+left+" for FREE delivery!"); } </script>
Does anyone know a way in which this code can be changed to only appear to visitors within the UK?
I hope someone can help as I'm useless with javascript!
Thanks in advance.
David
Comment