Merit Students

Merit Students

  • NA
  • 1
  • 654

Added cart items should be sent to the mail of the user

Jun 30 2015 5:55 AM
Iam using this script in my checkout.html page to display the cart items of the user. But when he clicks "confirm order" then mail should be sent containing information of the cart items and details. How i should write php code to sent an email containing details of the cart with this code. Pls help me and give me suggestions

<script>
// Mini Cart
paypal.minicart.render({
action: ''
});

if (~window.location.search.indexOf('reset=true')) {
paypal.minicart.reset();
}
</script>