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
// Mini Cart
paypal.minicart.render({
action: ''
});
if (~window.location.search.indexOf('reset=true')) {
paypal.minicart.reset();
}
Loading
Replies
Know the answer? Post it — somebody with the same question will find it here.