Some of the collections uses the following extensions, you can install them or change the settings after importing:
- directus-extension-currency-interface:
npm i directus-extension-currency-interface
- directus-extension-tags-m2m-interface:
npm i directus-extension-tags-m2m-interface
Make sure to delete all relevant collections before proceeding.
- Create folder
ecommerce
. - Import file
all.json
.
Use this if you don't want to delete existing relevant collections.
- Create folder
ecommerce
if not exists. - Import this non-existing collections in the following orders:
customers
product_types
product_categories
product_tags
products
product_media
products_product_tags
product_variants
locations
inventory_items
orders
order_items
order_transactions
Orders Statuses:
- Pending: the order is waiting for the customer to make payment.
- Paid: the order has been paid by the customer.
- Cancelled: the order has been cancelled by the customer.
- Expired: the order is marked as expired by the system after a certain time.
Order Transactions Statuses:
- Pending: the transaction is waiting for the customer to complete.
- Success: the transaction has been completed successfully.
- Error: the transaction is cancelled by the customer or an error while processing the transaction. Use
details
to store the information about the error.