TABLE OF CONTENTS
- Description
- Step 1: Choosing the Integrations
- Step 2: Configuring the Source Integration (Dokan)
- Step 3: Configuring the Target Integration (Shopify)
- Step 4: Mapping
- Step 5: Setting Up Task Automation
- Additional Resources
Description
This guide demonstrates how to automate the process of sending orders from Dokan to Shopify using SyncSpider.
By setting up a task that transfers order data seamlessly between these platforms, you can streamline your order management workflow and reduce manual effort.
Step 1: Choosing the Integrations
Begin by creating a new task in SyncSpider.
For the Source Integration, select Dokan and set the entity to Order.
For the Target Integration, select Shopify and set the entity to Order as well.
Click Next to proceed to the configuration step.
Step 2: Configuring the Source Integration (Dokan)
In this step, configure the Dokan source integration to determine which orders will be sent to Shopify:
1. Choose Dokan Vendor: From the dropdown, select the corresponding vendor whose orders need to be sent.
2. Orders to Import: Choose how orders will be selected for transfer.
You can import:
All orders.
Orders created, modified, or published after the last task execution date (GMT).
Orders within a specific date range (use the From date and To date fields to define the range).
3. Filter by Order Status: Use the Filter by order statuses field to narrow the orders based on their status. For example Processing to focus on specific order statuses relevant to your workflow.
1. Choose Order Unique Identifier Field (UID): From the dropdown, select Order Number as the unique identifier for orders.
2. Check the box labeled "Check this if you want to create meta fields."
3. Add a new meta field for Shopify orders. We recommend naming it Dokan Order ID to easily reference the original Dokan order ID within Shopify.
Step 4: Mapping
In this step, you will map the date between Dokan and Shopify to ensure accurate order synchronization.
Basic Order Details Mapping:
1. Billing Address/Email Address (Dokan) → Email (Shopify)
2. Total Tax (Dokan) → Total Tax (Shopify)
3. Total (with Tax) (Dokan) → Total Price (Shopify)
4. Order Status (Dokan) → Financial Status (Shopify)
Configure this as follows:
Additional Order Settings Mapping (constant values):
1. Buyer Accepts Marketing → False (constant value) This prevents sending Shopify marketing emails to Dokan customers.
2. Send Receipt → False (constant value) Avoids duplicate notifications from Shopify.
3. Inventory Behavior → Ignore the products inventory policy and claim inventory (constant value) Ensures that inventory rules don’t interfere with the order sync process.
Items Section Mapping:
Required Fields:
Price (without Tax) (Dokan) → Price (Shopify)
Quantity (Dokan) → Quantity (Shopify)
Requires Shipping (Shopify) → True (constant value) (Dokan).
Product SKU (Dokan) → SKU (Shopify) and Variant ID (Shopify)
Product Name (Dokan) → Title (Shopify)
Billing Address Mapping:
Required Fields:
Billing Address/Address Line 1 (Dokan) → Address 1 (Shopify)
Billing Address/ City (Dokan) → City (Shopify)
Billing Address/ Country (Dokan) → Country (Shopify)
Billing Address/ First Name (Dokan) → First Name (Shopify)
Billing Address/ Last Name (Dokan) → Last Name (Shopify)
Billing Address/ Phone Number (Dokan) → Phone (Shopify)
Final Province/Province (Dokan) → Province (Shopify) To map the province to Shopify, you need to create a custom split field.
Shipping Details Mapping:
Required Fields:
Shipping Address (Dokan): Requires creation of a conditional field. → Address1 (Shopify)
Shipping City (Dokan): Requires creation of a conditional field. → City (Shopify)
Shipping Country (Dokan): Requires creation of a conditional field. → Country (Shopify)
Shipping First Name (Dokan): Requires creation of a conditional field. → First Name (Shopify)
Shipping Last Name (Dokan): Requires creation of a conditional field. → Last Name (Shopify)
Shipping ZIP (Dokan): Requires creation of a conditional field. → Zip (Shopify)
Shipping Lines Mapping:
Required Fields:
Shipping Total (Dokan) → Price (Shopify)
Vendor Shipping (Dokan) Mapped as a constant value to include a descriptive text for the shipping line. → Title (Shopify)
MetaFields Mapping:
Here you will map the Dokan Order ID metafield you created during the target configuration step for Shopify.
This metafield stores critical data (like the order ID from Dokan) in Shopify, allowing you to reference it when making updates to the order (e.g., adding tracking numbers or making further changes) and maintaining synchronization across platforms.
Step 5: Setting Up Task Automation
In this final step, you will configure the task automation to run every time a new order is placed.
Set the Task Trigger to On Event. Choose the event New Order as the trigger. This ensures that the task will run every time a new order is placed in Dokan.
Additional Resources
Learn more about SyncSpider's capabilities and how to optimize your Shopify and Dokan integrations with these additional resources:
Shopify and Dokan are just some of the tools we support!
To check the list of the tools and features we support please click here!
If you don't see your favorite tool on our list, please take the time and send us the request here to create an integration for you or UP-vote if it's already on the list :)
We develop integrations based on the requests and up-votes :)
We hope that this covers everything. If you have any further questions or need additional clarification please reach out to us via [email protected] or our chat widget!
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article