Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions /

Emailing Array Data onSubmit


Reply


2 Posts   637 Views

Avatar
novaweb

Community Member, 115 Posts

10 August 2011 at 4:54pm

Hey Team,

A little stuck on this one. We are working with eCommerce and wish to be able to email the contact details of the customer, as well as a summary of the products ordered.

These order details are held in ShoppingCart::get_items();

This is as far as we got, line 15 is the one we're trying to sort out! http://pastie.org/2348667

Avatar
Willr

Forum Moderator, 5513 Posts

10 August 2011 at 7:41pm

I think you want to use populateTemplate() to add variables - http://doc.silverstripe.org/sapphire/en/topics/email