-
Notifications
You must be signed in to change notification settings - Fork 1
RTE order testing
Ingmar Ross edited this page Nov 16, 2016
·
6 revisions
RTE can show order info but orders are not synced. To have order info for development purpose you must have file data/orders.yml
Example:
- id: 14
number: 12222
name: Latest
created_at: '2015-12-05T00:00:00.000Z'
slug: latest
permalink: latest
template: ''
notes: Notes right here!
subtotal: 123
total_taxes: 27
total_shipping: 14
total: 164
bill_address_id: 25
ship_address_id: 25
payment_method_id: 18
ship_method_id: 1
Relations:
- bill_address_id -> addresses.yml ID
- ship_address_id -> addresses.yml ID
- payment_method_id -> payment_methods.yml ID
- ship_method_id -> shipping_methods.yml ID
To add items to order: order_items.yml with order_id: X pointing to order ID