Order: <%= @order.slug %>
Customer Info
- Name: <%= @order.details.customer %>
- Email: <%= @order.details.email %>
- Phone: <%= @order.details.phone %>
billing address
<% detail = @order.get_meta("billing_address") %>
- Name: <%= detail[:first_name] %> <%= detail[:last_name] %>
- Address: <%= detail[:address1] %>
<%= detail[:address2] %>
<%= detail[:city] %>
<%= detail[:state] %>
<%= detail[:zip] %>
<%= detail[:country] %>
shipping address
<% detail = @order.get_meta("shipping_address") %>
- Name: <%= detail[:first_name] %> <%= detail[:last_name] %>
- Address: <%= detail[:address1] %>
<%= detail[:address2] %>
<%= detail[:city] %>
<%= detail[:state] %>
<%= detail[:zip] %>
<%= detail[:country] %>