Log in

View Full Version : i need some help with java script please help me.



coutts
01-09-2010, 04:05 PM
hi i need some help with java script please help me.

on this page

http://www.modelsinmanchester.co.uk/models/index.php/adam-clarke/

on the right it says short list this model i use a java script cart (simplecartjs)
From http://www.thewojogroup.com/

I just what to no how to get it to send the info as a email not to paypal

please help me email me @ coutts@rocketmail.com

kaos
01-09-2010, 10:15 PM
I'm confused. Just what are you trying to do?

RipzCurlz
01-10-2010, 04:31 AM
As far as i know, you add this script into the head section of your html file.


<script type="text/javascript">
simpleCart.email = "your@email.com";
simpleCart.checkoutTo = PayPal;
simpleCart.currency = USD;
</script>

Other optional settings:

simpleCart.taxRate = 0;
simpleCart.shippingFlatRate = 0;
simpleCart.shippingQuantityRate = 1.00;

Cheers

RipzCurlz
01-10-2010, 06:52 AM
I had another look over the files.

If you find what i previously suggested doesn't work.

There is a setting in the simpleCart.js file on line 50:


me.email = "your@email.com";