7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 17Length: 3.2 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.7 Notify Users

After an order is created, it's common to have some sort of communication mechanism to notify the customer about the purchase. It’s easy to accomplish that with Rails.

Note

The code for order_confirmation.text.erb contains a typo. The orders should be iterated with the following command:

@order.order_items.each