%= render 'post_types/commerce/cart_widget' %>
<%= t('.id', default: 'ID') %> | <%= t('.status', default: 'Status') %> | <%= t('.products', default: 'Products') %> | <%= t('.total_amount', default: 'Total Amount') %> | <%= t('.coupon', default: 'Coupon') %> | <%= t('.paid_amount', default: 'Paid Amount') %> | <%= t('.order_date', default: 'Order Date') %> | <%= t('.method', default: 'Payment Method') %> | |
---|---|---|---|---|---|---|---|---|
<%= order.slug %> | <%= raw order.the_status %> |
<% order.product_items.each do |item| %>
<%= item.qty %> x <%= item.cache_the_title %> (<%= item.cache_the_price %>) <% end %> |
<%= order.cache_the_sub_total %> | <%= order.cache_the_discounts %> | <%= order.cache_the_total %> | <%= order.the_paid_at %> | <%= order.payment_method.name rescue '' %> | <%= t('.view', default: 'View') %> |