> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.syncspider.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Dokan

**TABLE OF CONTENTS**

* [**1) Description**](#1)-Description%C2%A0)
* [2) Setup](#2)-Setup)
* [Step 1: Go to Settings→ Advanced→ Rest API.](#Step-1%3A-Go-to-Settings%E2%86%92-Advanced%E2%86%92-Rest-API.)
* [Step 2: Fill in the fields](#Step-2%3A%C2%A0Fill-in-the-fields)
* [Step 3: Copy the key, and secret and insert it in SyncSpider](#Step-3%3A%C2%A0Copy-the-key,-and-secret-and-insert-it-in-SyncSpider)
* [3) Dokan as Source](#3)-Dokan-as-Source)
* [3.1 Product](#3.1-Product%C2%A0) 
* [3.1.1 Source Configuration](#3.1.1-Source-Configuration)
* [Choose Dokan vendor](#Choose-Dokan-vendor)
* [Choose product unique identifier field (UID)](#Choose-product-unique-identifier-field-(UID))
* [Products to import](#Products-to-import%C2%A0)
* [Sort by Date](#Sort-by-Date)
* [Exclude parent from Variable products, just send Variants](#%C2%A0%E2%80%8BExclude-parent-from-Variable-products,-just-send-Variants%3A%E2%80%8B%E2%80%8B%E2%80%8BWhen-this-option-is-enabled,-only-Variations-and-Simple-products-will-be-exported,-and-any-parent-products-belonging-to-the-Variable-products-category-will-be-excluded-from-the-export.%E2%80%8B%E2%80%8BAppend-attributes-and-categories-from-Variable-products%3A%E2%80%8B%E2%80%8B%E2%80%8BEnabling-this-option-will-result-in-the-inclusion-of-all-attributes-and-categories-associated-with-Variable-products-in-their-respective-product-Variations.-Additionally,-if-any-images-or-descriptions-are-missing-from-the-Variation,-they-will-be-added-from-the-parent-product.%E2%80%8B%E2%80%8B%E2%80%8BEnter-Dokan-vendor-ID-manually%3A%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8BThe-option-)
* [Append attributes and categories from Variable products](#%C2%A0%E2%80%8BExclude-parent-from-Variable-products,-just-send-Variants%3A%E2%80%8B%E2%80%8B%E2%80%8BWhen-this-option-is-enabled,-only-Variations-and-Simple-products-will-be-exported,-and-any-parent-products-belonging-to-the-Variable-products-category-will-be-excluded-from-the-export.%E2%80%8B%E2%80%8BAppend-attributes-and-categories-from-Variable-products%3A%E2%80%8B%E2%80%8B%E2%80%8BEnabling-this-option-will-result-in-the-inclusion-of-all-attributes-and-categories-associated-with-Variable-products-in-their-respective-product-Variations.-Additionally,-if-any-images-or-descriptions-are-missing-from-the-Variation,-they-will-be-added-from-the-parent-product.%E2%80%8B%E2%80%8B%E2%80%8BEnter-Dokan-vendor-ID-manually%3A%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8BThe-option-)
* [Enter Dokan vendor ID manually](#%C2%A0%E2%80%8BExclude-parent-from-Variable-products,-just-send-Variants%3A%E2%80%8B%E2%80%8B%E2%80%8BWhen-this-option-is-enabled,-only-Variations-and-Simple-products-will-be-exported,-and-any-parent-products-belonging-to-the-Variable-products-category-will-be-excluded-from-the-export.%E2%80%8B%E2%80%8BAppend-attributes-and-categories-from-Variable-products%3A%E2%80%8B%E2%80%8B%E2%80%8BEnabling-this-option-will-result-in-the-inclusion-of-all-attributes-and-categories-associated-with-Variable-products-in-their-respective-product-Variations.-Additionally,-if-any-images-or-descriptions-are-missing-from-the-Variation,-they-will-be-added-from-the-parent-product.%E2%80%8B%E2%80%8B%E2%80%8BEnter-Dokan-vendor-ID-manually%3A%E2%80%8B%E2%80%8B%E2%80%8B%E2%80%8BThe-option-)
* [3.1.2 Filtering](#3.1.2-Filtering)
* [3.1.3 Mapping](#3.1.3-Mapping)
* [3.2 Order](#3.2-Order)
* [3.2.1 Source Configuration](#3.2.1-Source-Configuration)
* [Choose Dokan vendor](#Choose-Dokan-vendor-1)
* [Orders to import](#Orders-to-import%C2%A0)
* [Sort by Date](#Sort-by-Date-3)
* [Imported Orders Status Change](#Imported-Orders-Status-Change)
* [Filter by order status(-es)](#Filter-by-order-status(-es)%C2%A0)
* [3.2.2 Filtering](#3.2.2-Filtering)
* [3.2.3 Mapping](#3.2.3-Mapping)
* [4) Dokan as Target](#4)-Dokan-as-Target)
* [4.1 Product](#4.1-Product)
* [4.1.1 Target Configuration](#4.1.1-Target-Configuration%C2%A0) 
* [Choose product unique identifier field (UID)](#Choose-product-unique-identifier-field-(UID)-5)
* [Choose Batch size](#Choose-Batch-size)
* [Create parent product automatically](#Create-parent-product-automatically)
* [Update only mapped attributes](#Update-only-mapped-attributes)
* [Only update products](#Only-update-products)
* [Update only plugin fields](#Update-only-plugin-fields)
* [Deduct product quantity with values from Source Integration](#Deduct-product-quantity-with-values-from-Source-Integration%C2%A0)
* [Use only specific attributes](#Use-only-specific-attributes)
* [4.1.2 Mapping](#4.1.2-Mapping)
* [4.2 Order](#4.2-Order)
* [4.2.1 Target Configuration](#4.2.1-Target-Configuration%C2%A0) 
* [New customer behavior](#New-customer-behavior%C2%A0)
* [New product behavior](#New-product-behavior%C2%A0)
* [How will you send prices](#How-will-you-send-prices%C2%A0)
* [Shipping Tax Class](#Shipping-Tax-Class)
* [4.2.2 Mapping](#4.2.2-Mapping)
* [4.3 Order Status](#4.3-Order-Status%C2%A0) 
* [4.3.1 Mapping](#4.3.1-Mapping)
* [5) Frequently used Workflows](#5)-Frequently-used-Workflows)
* [6) Related Content](#6)-Related-Content%C2%A0) 
* [Dokan to Shopify Example](#Dokan-to-Shopify-Example)
* [Dokan to WooCommerce Example](#Dokan-to-WooCommerce-Example)
* [Shopify to Dokan Example](#Shopify-to-Dokan-Example)
* [WooCommerce to Dokan Example](#WooCommerce-to-Dokan-Example)
* [Big Commerce to Dokan Example](#Big-Commerce-to-Dokan-Example)
* [Map Product Variations from WooCommerce to Dokan](#Map-Product-Variations-from-WooCommerce-to-Dokan)

---

# 1) Description

Dokan is a Multi-vendor plugin for WordPress that allows vendors to easily customize the store and deal with many issues through one interface.

---

# 2) Setup

For all details please consult the [How to Integrate Dokan Article](https://support.syncspider.com/en/support/solutions/articles/3000115554-how-to-integrate-dokan)

## Step 1: Go to Settings→ Advanced→ Rest API.

In WordPress:

To create or manage keys for a specific WordPress user, go to WooCommerce > Settings > Advanced > REST API.

![WooCommerce REST API keys settings](https://storage.crisp.chat/users/helpdesk/website/-/5/9/e/5/59e5b96be7eefc00/b68272ed-18c3-451b-9c8b-7952d2_1f2v1kf.jpg)

Choose the level of access for this REST API key, which can be _Read_ access, _Write_ access or _Read/Write_ access.

(It is recommended to enable Read/Write if you want to use WooCommerce as both a Source and Target)

Then click the "Generate API Key" button and WooCommerce will generate REST API keys for the selected user.

![Creating a new REST API key](https://storage.crisp.chat/users/helpdesk/website/-/c/7/4/5/c7450c1108bc8800/b026c783-0392-4792-af83-4e5457_3j7zpq.png)

## Step 2: Fill in the fields

Fill in the fields **Description**, **User**, and in Permissions select **Read/Write.** Next, click on the button **Generate API key.**

![](https://storage.crisp.chat/users/helpdesk/website/-/d/5/1/8/d518ea9e5c565800/94e3295a-d9d1-4324-a65f-a7e8b3_u7wtm5.png)

Now that keys have been generated, you should see two new keys. These two keys are your Consumer Key and Consumer Secret.

![Generated REST API key](https://storage.crisp.chat/users/helpdesk/website/-/c/9/4/5/c9453cad7046a80/ae689289-4698-469b-bec6-f9722f_1ypg8lb.jpg)

## Step 3: Copy the key, and secret and insert it in SyncSpider

Copy the Shop URL, Key, Secret then paste it from WordPress to your SyncSpider account. Then, click **finish**.

![](https://storage.crisp.chat/users/helpdesk/website/-/3/1/f/4/31f4b581d33f8200/9a1e7d45-1e51-4162-ad52-dcc13a_1woao57.png)

---

# 3) Dokan as Source

## 3.1 Product

![](https://storage.crisp.chat/users/helpdesk/website/-/e/5/3/9/e539c18110f69000/9a03815b-69c7-4568-b544-141202_1uyjnou.png)

### 3.1.1 Source Configuration

#### Choose Dokan vendor

![](https://storage.crisp.chat/users/helpdesk/website/-/8/9/0/9/89093d565f0e1000/782100e8-58db-4905-bca0-1e132c_12v81n4.png)

Choose from which Dokan Vendor you would like to import Products:

You can choose between either All vendors or the vendors specified within Dokan.

#### Choose product unique identifier field (UID)

With this option, you can select whether you are using a Product, SKU, Name, or Metafield as the Unique Identifier Field of your Products.

* **Product ID**

If Product ID is selected as the UID it will become the main required field for your Dokan Product.

* **SKU**

If SKU is selected as the UID it will become the main required field for your Dokan Product.

* **Name**

If Name is selected as the UID it will become the main required field for your Dokan Product.

#### Products to import
####

Created and modified products after the last task execution date is available only with the latest SyncSpider WordPress plugin installed

* **All Products**

If this is selected all products will be imported always.

* **Only Products published after last task execution date**

If this is selected, only products that got published after the last execution will be sent over.

* **Only Products created after last task execution date (GMT)**

If this is selected, only products that got created after the last execution will be sent over.

* **Only Products modified after last execution date (GMT)**

If this is selected, only products that got updated/modified after the last execution will be imported.

#### Sort by Date

With this option, you can sort the contacts that will be imported based on their creation date.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875889/original/9UI51_S1PpPR5AYjenUUqc3KBvG4FSf8cA.png?1658249970)

To set a date you can use the Calendar screen that pops up when a date text field is selected:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875904/original/tPj37l_xHsToisPedVYsTAIS4bWWf8JB-Q.png?1658249973)

#### Exclude parent from Variable products, just send Variants:When this option is enabled, only Variations and Simple products will be exported, and any parent products belonging to the Variable products category will be excluded from the export.Append attributes and categories from Variable products:Enabling this option will result in the inclusion of all attributes and categories associated with Variable products in their respective product Variations. Additionally, if any images or descriptions are missing from the Variation, they will be added from the parent product.Enter Dokan vendor ID manually:The option "Enter Dokan vendor ID manually" allows the user to manually input the vendor ID of a specific vendor instead of selecting the vendor from a dropdown list or other automated selection method.
### 3.1.2 Filtering

Dokan with Product as Source allows to be [filtered](https://support.syncspider.com/en/support/solutions/articles/3000115426-filtering) by the following fields and conditions:

| Filter By | Condition |
| --- | --- |
| Product Id | Equals, in a Sequence, Not in a Sequence |
| Search Term | Equals |
| Slug | Equals |
| Status | Equals |
| Product Type | Equals |
| SKU | Equals |
| Featured | Equals |
| Stock Status | Equals |
| Product on Sale | Equals |
| Price | Greater Than, Less Than, Between |
| Published date | Greater Than, Less Than, Between |
| Tax Class | Equals |
| Shipping Class | Greater Than, Less Than, Between |
| Categories | Equals, In a Sequence |
| "Attribute" | Equals, In a Sequence |

### 3.1.3 Mapping

| Field | Type |
| --- | --- |
| ID | number |
| Name | text |
| Description | text |
| Short Description | text |
| Slug | text |
| Permalink | text |
| Categories | hierarchy |
| Main Image | complex |
| Main Image.ID | number |
| Main Image.URL | text |
| Main Image.Name | text |
| Main Image.Alt text | text |
| Images | collection |
| Images.ID | number |
| Images.URL | text |
| Images.Name | text |
| Images.Alt text | text |
| Images.Position | text |
| Vendor | complex |
| Vendor.ID | number |
| Vendor.Name | text |
| Vendor.ID | number |
| Vendor.Name | text |
| Vendor.Shop Name | text |
| Vendor.URL | text |
| Vendor.Address | complex |
| Vendor.Address.Street 1 | text |
| Vendor.Address.Street 2 | text |
| Vendor.Address.City | text |
| Vendor.Address.ZIP | text |
| Vendor.Address.Country | text |
| Vendor.Address.State | text |
| Tags | collection |
| Tags.ID | number |
| Tags.Name | text |
| Product Type | options |
| Status | options |
| Is Virtual | bool |
| Is Downloadable | bool |
| Price | number |
| Regular Price | number |
| Sale Price | number |
| Sale Starts At | date |
| Sale Ends At | date |
| Tax Status | options |
| Tax Class | options |
| Prices Include Tax | bool |
| Currency | text |
| SKU | text |
| UID | text |
| Parent UID | text |
| Manage Stock | bool |
| Stock Quantity | number |
| Backorders | options |
| In Stock | bool |
| Sold individually | bool |
| Weight (kg) | number |
| Length (cm) | number |
| Width (cm) | number |
| Height (cm) | number |
| Weight Unit | text |
| Package Unit | text |
| Shipping Class | options |
| Up-sells | collection |
| Up-sells.UID | text |
| Cross-sells | collection |
| Up-sells.UID | text |
| Product Attributes | collection |
| Product Attributes.Name | text |
| Product Attributes.Visible | bool |
| Product Attributes.Variation | bool |
| Product Attributes.Options | text |
| Purchase Note | text |
| Menu order | number |
| Reviews enabled | bool |
| Downloadable Files | collection |
| Downloadable Files.Name | text |
| Downloadable Files.URL | text |
| Download Limit | number |
| Download Expiry (days) | number |
| Affiliate Product URL | text |
| Affiliate Product Button text | text |
| Date Created | date |
| Date Modified | date |
| Metadata Attributes | complex |
| Metadata Attributes.x | text |

---

## 3.2 Order

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3085846127/original/X63T0BBXI29T_qY2vY98e8P6WDwuMVMK4g.png?1661507777)

### 3.2.1 Source Configuration

#### Choose Dokan vendor
####

Choose from which Dokan Vendor you would like to import Products:

You can choose between either All vendors or the vendors specified within Dokan.

#### Orders to import

Created and modified orders after the last task execution date is available only with the latest SyncSpider WordPress plugin installed

**All Orders**

If this is selected all Orders will be imported always.

**Only Orders published after last task execution date**

If this is selected, only Orders that got published after the last execution will be sent over.

**Only Orders created after last task execution date (GMT)**

If this is selected, only Orders that got created after the last execution will be sent over.

**Only Orders modified after last execution date (GMT)**

If this is selected, only Orders that got updated/modified after the last execution will be imported.

#### Sort by Date

With this option, you can sort the contacts that will be imported based on their creation date.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875899/original/m4uruvLNrlBwnDmiQHUrhq5WzkNFTPs7dg.png?1658249972)

To set a date you can use the Calendar screen that pops up when a date text field is selected:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875906/original/PHeDqUD7-DsbePyBVnfDqCVDcRO35EMtlQ.png?1658249973)

#### Imported Orders Status Change

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875903/original/IuAKa6rMOkQSuRfXBlwDZPkpHkK-EGOFOw.png?1658249973)

This allows the Order Status to be changed after importing the Order.

You can change the source order statuses to:

* **Pending payment**
* **Failed**
* **Processing**
* **Completed**
* **On hold**
* **Canceled**
* **Refunded**
* **Authentication required**

#### Filter by order status(-es)
####

### 3.2.2 Filtering

| Filter By | Condition |
| --- | --- |
| Order Id. | Equals, In a Sequence, Not in a Sequence |
| Search Term | Equals |
| Customer ID | Equals |
| Product ID | Equals |
| Billing Country | Equals |
| SyncSpider Order Source | Equals |

### 3.2.3 Mapping

| Field Name | Type |
| --- | --- |
| Internal Order Id | number |
| External Order Id | text |
| Vendor | complex |
| Vendor.ID | number |
| Vendor.Name | text |
| Vendor.ID | number |
| Vendor.Name | text |
| Vendor.Shop Name | text |
| Vendor.URL | text |
| Vendor.Address | complex |
| Vendor.Address.Street 1 | text |
| Vendor.Address.Street 2 | text |
| Vendor.Address.City | text |
| Vendor.Address.ZIP | text |
| Vendor.Address.Country | text |
| Vendor.Address.State | text |
| Created Via | text |
| Currency | options |
| Customer Note | text |
| Date Created | date |
| Date Created GMT | date |
| Date Modified | date |
| Date Modified GMT | date |
| Discount Total | number |
| Discount Tax | number |
| Shipping Total | number |
| Shipping Tax | number |
| Cart Tax | number |
| Total (with tax) | number |
| Total (without tax) | number |
| Total Tax | number |
| Prices Include Tax | bool |
| Order status | options |
| Billing Address | complex |
| Billing Address.E-mail Address | text |
| Billing Address.First Name | text |
| Billing Address.Last Name | text |
| Billing Address.Full name | text |
| Billing Address.Phone Number | text |
| Billing Address.Company | text |
| Billing Address.Address line 1 | text |
| Billing Address.Address line 2 | text |
| Billing Address.City | text |
| Billing Address.State | options |
| Billing Address.Postal code | text |
| Billing Address.Country | options |
| Shipping Address | complex |
| Shipping Address.First Name | text |
| Shipping Address.Last Name | text |
| Shipping Address.Full name | text |
| Shipping Address.Company | text |
| Shipping Address.Address line 1 | text |
| Shipping Address.Address line 2 | text |
| Shipping Address.City | text |
| Shipping Address.State | options |
| Shipping Address.Postal code | text |
| Shipping Address.Country | options |
| Payment Method | text |
| Payment Method Title | text |
| Transaction Number | text |
| Date Paid | date |
| Date Paid GMT | date |
| Date Completed | date |
| Date Completed GMT | date |
| Custom Fields | collection |
| Custom Fields.Name | text |
| Custom Fields.Value | text |
| Order Items (only products) | collection |
| Order Items (only products).Product SKU | text |
| Order Items (only products).Product Id | number |
| Order Items (only products).Parent Id | number |
| Order Items (only products).Parent SKU | text |
| Order Items (only products).Quantity | number |
| Order Items (only products).Sub-Total (without tax) | number |
| Order Items (only products).Sub-Total Tax | number |
| Order Items (only products).Sub-Total (with tax) | number |
| Order Items (only products).Total (with tax) | number |
| Order Items (only products).Total Tax | number |
| Order Items (only products).Price per order line (with tax) | number |
| Order Items (only products).Price per order line (without tax) | number |
| Order Items (only products).Tax Class | options |
| Order Items (only products).Name | text |
| Order Items (only products).Price | number |
| Order Items (only products).Price (without tax) | number |
| Order Items (only products).GTIN | text |
| Order Items (only products).Shipping Method | options |
| Order Items (only products).Custom Attributes | complex |
| Order Items (only products).Custom Attributes._original_id | text |
| Order Items (only products).Custom Attributes._wpcom_is_markdown | text |
| Order Items (only products).Custom Attributes.pageview | text |
| Order Items Meta Data | collection |
| Order Items Meta Data.Product SKU | text |
| Order Items Meta Data.Name | text |
| Order Items Meta Data.Value | text |
| Order Items Total Quantity | number |
| Order Items Count | number |
| Tax lines | collection |
| Tax lines.Tax Rate Code | text |
| Tax lines.Tax Rate ID | text |
| Tax lines.Label | text |
| Tax lines.Compound | bool |
| Tax lines.Tax Total | number |
| Tax lines.Shipping Tax Total | number |
| Shipping Fees | collection |
| Shipping Fees.Shipping Method | options |
| Shipping Fees.Shipping Method Name | text |
| Shipping Fees.Total (with tax) | number |
| Shipping Fees.Price per order line (with tax) | number |
| Shipping Fees.Total Tax | number |
| Shipping Fees.Tax Class | options |
| Fees | collection |
| Fees.Name | text |
| Fees.Tax Class | options |
| Fees.Tax Status | options |
| Fees.Total (with tax) | number |
| Fees.Price per order line (with tax) | number |
| Fees.Total Tax | number |
| Coupons | collection |
| Coupons.Coupon Code | text |
| Coupons.Discount Value | number |
| List of refunds | collection |
| List of refunds.Refund reason | text |
| List of refunds.Refund total | number |
| Order Notes | collection |
| Order Notes.Note | text |
| Order Notes.Date Created | date |
| Order Notes.Date Created GMT | date |
| Order Notes.Is Customer Note | bool |
| All Order Lines | collection |
| All Order Lines.Line Type | options |
| All Order Lines.Name | text |
| All Order Lines.Product SKU | text |
| All Order Lines.Quantity | number |
| All Order Lines.Total (with tax) | number |
| All Order Lines.Total Tax | number |
| All Order Lines.Price per order line (with tax) | number |
| All Order Lines.Price per order line (without tax) | number |
| All Order Lines.Price | number |
| All Order Lines.Price (without tax) | number |
| All Order Lines.Tax Class | options |
| All Order Lines.Invoice Number | text |
| All Order Lines.Custom Attributes | complex |
| All Order Lines.Custom Attributes._original_id | text |
| All Order Lines.Custom Attributes._wpcom_is_markdown | text |
| All Order Lines.Custom Attributes.pageview | text |
| Customer Username | text |
| Custom Attributes | complex |
| Custom Attributes.shipping_fee_recipient | text |
| Custom Attributes.tax_fee_recipient | text |
| Custom Attributes._new_order_email_sent | text |
| Custom Attributes._dokan_vendor_id | text |
| Custom Attributes.SyncSpider Order Source | text |

---

# 4) Dokan as Target

## 4.1 Product

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3085846196/original/KX03WxzRDTPkskw6m1HqBuVTQA-zMl9rhA.png?1661507902)

### 4.1.1 Target Configuration
#### Choose product unique identifier field (UID)

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875895/original/QyeDrtMPcE7afMaoPg5BAcAD5Fkgz_f-cw.png?1658249972)

With this option, you can select whether you are using a Product, SKU, Name, or a Metafield as the Unique Identifier Field of your Products.

* **Product ID**

If Product ID is selected as the UID it will become the main required field for your WooCommerce Product.

* **SKU**

If SKU is selected as the UID it will become the main required field for your WooCommerce Product.

* **Name**

If Name is selected as the UID it will become the main required field for your WooCommerce Product.

#### Choose Batch size
####

Defines how many items will be processed in one batch

You can choose between the following options:

* 1
* 5
* 10
* 20
* 50
* 100

#### Create parent product automatically
####

This will create a Parent Product automatically based on the Variation Products provided.

Select fields that will be excluded upon creation of the parent product

#### Update only mapped attributes

####

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875897/original/18DjR0oesvFxHjKCeTkb_OPOmCA0ntWgTw.png?1658249972)

If this is switched on only mapped data for existing products will be updated. Otherwise, all data on an existing product will be fully replaced.

#### Only update products

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3085793826/original/aTAEV9dsiqf5fDySQ40s_I1zdCn5J4Lp5g.png?1661439553)

If this is switched on existing products will only be updated, non-existing products will be skipped.

#### Update only plugin fields

####

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875894/original/70KBYOANdYWa0_YsrXvAdeapZxymh_qlnw.png?1658249972)

If this is switched on only mapped data for active plugins supported by SyncSpider will be updated.

#### Deduct product quantity with values from Source Integration

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875898/original/f87USq8Yrs_rz8ndL6n_Bh4qqv6ZkYnFSg.png?1658249972)

This allows you to decrease the product quantity in Dokan based on the value received from the source.

#### Use only specific attributes

Enter the attribute slug that you want to use in mapping, for example, pa_color. Note that while using this setting only attributes entered will be visible.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875887/original/LTCJHkurfXtyRWS7OcVhT99sDirgepUKPQ.png?1658249969)

### 4.1.2 Mapping

* = required when selected as UID

| Field | Type |
| --- | --- |
| Product ID* | number |
| SKU* | text |
| Name* | text |
| Description | text |
| Short Description | text |
| Categories | hierarchy |
| Main Image | complex |
| Main Image.URL | text |
| Main Image.Name | text |
| Main Image.Alt text | text |
| Images | collection |
| Images.URL | text |
| Images.Name | text |
| Images.Alt text | text |
| Images.Position | text |
| Tags | collection |
| Tags.Name | text |
| Product Type | options |
| Status | options |
| Variation Status | options |
| Catalog Visibility | options |
| Is Featured Product | bool |
| Is Virtual | bool |
| Is Downloadable | bool |
| Regular Price | number |
| Sale Price | number |
| On Sale | bool |
| Sale Starts At | date |
| Sale Ends At | date |
| Tax Status | options |
| Tax Class | options |
| Parent UID | text |
| Manage Stock | bool |
| Manage Variation Stock | bool |
| Stock Quantity | number |
| In Stock | bool |
| Sold individually | bool |
| Weight (kg) | number |
| Length (cm) | number |
| Width (cm) | number |
| Height (cm) | number |
| Shipping Class | options |
| Up-sells | collection |
| Up-sells.UID | text |
| Cross-sells | collection |
| Cross-sells.UID | text |
| Product Attributes | collection |
| Product Attributes.Name | text |
| Product Attributes.Options | text |
| Product Attributes.Visible | bool |
| Product Attributes.Variation | bool |
| Purchase Note | text |
| Menu order | number |
| Reviews enabled | bool |
| Downloadable Files | collection |
| Downloadable Files.Name | text |
| Downloadable Files.URL | text |
| Download Limit | number |
| Download Expiry (days) | number |
| Affiliate Product URL | text |
| Affiliate Product Button text | text |
| Backorders | options |
| Metadata Attributes | complex |
| Metadata Attributes.x | text |

---

## 4.2 Order

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3085846703/original/Oxnm1lImOgM8vFtJP2dw-iO9dLsyjcJ7og.png?1661508614)

### 4.2.1 Target Configuration

#### New customer behavior

####

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875892/original/tjWd8KjGzkc-PxcCR_jryP5VqCOvNxcjwg.png?1658249972)

This specifies the behavior for orders from customers that do not exist in the destination shop.

You can choose between the following behaviors:

* **Create New**

This creates a new Customer in WooCommerce

* **Create as guest order**

This creates a guest order without customer account.

* **Skip Order**

This will skip the entire order.

#### New product behavior

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875888/original/vXwNbGdZTCaCQfxJo6f9ZO0kNTYC8oL2ZA.png?1658249969)

Specify behavior for order products that do not exist in the destination shop.

You can choose between the following behavior:

* **Create as Simple**

This will create a new product as a Simple Product (no variation).

* **Save only on Order**

This will only save the product in the order itself.

* **Skip Order**

If the product does not exist it will skip the entire order.

#### How will you send prices

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3083875891/original/5_D_DV7yXIA4rBnF-6o6LA0rteXuno1AbQ.png?1658249972)

Specify how you will send prices for order items (option including taxes available only if SyncSpider plugin is installed)

You can choose between the following options:

* **Including Tax**
* **Excluding Tax**

#### Shipping Tax Class

Shipping tax in your Dokan is currently set to "Shipping tax class based on cart items".  
All imported orders will automatically have this shipping tax class.

### 4.2.2 Mapping

* = required

| Field | Type |
| --- | --- |
| Currency* | options |
| Customer* | complex |
| E-mail Address* | text |
| Billing Address* | complex |
| First Name* | text |
| Last Name* | text |
| Phone Number* | text |
| Address line 1* | text |
| City* | text |
| Postal code* | text |
| Country* | options |
| E-mail Address | text |
| Company | text |
| Address line 2 | text |
| State | options |
| Order Items (only products)* | collection |
| Product SKU* | text |
| Quantity* | number |
| Price per order line (with tax)* | number |
| Tax Class* | options |
| Name* | text |
| Sub-Total (without tax) | number |
| Total (with tax) | number |
| Order status | options |
| External Order Id | text |
| Customer Note | text |
| Shipping Address | complex |
| First Name | text |
| Last Name | text |
| Phone Number | text |
| Address line 1 | text |
| City | text |
| Postal code | text |
| Country | options |
| E-mail Address | text |
| Company | text |
| Address line 2 | text |
| State | options |
| Use billing address for shipping | bool |
| Payment Method | options |
| Payment Method Title | text |
| Transaction Number | text |
| Custom Fields | collection |
| Name | text |
| Value | text |
| Order Items Meta Data | collection |
| Product SKU | text |
| Name | text |
| Value | text |
| Shipping Fees | collection |
| Shipping Method | options |
| Shipping Method Name | text |
| Tax Class | options |
| Total (with tax) | number |
| Fees | collection |
| Name | text |
| Total (with tax) | number |
| Tax Class | options |
| Tax Status | options |
| Coupons | collection |
| Coupon Code | text |
| Discount Value | number |
| Order Notes | collection |
| Note | text |
| Is Customer Note | bool |
| Set As Paid | bool |

---

## 4.3 Order Status

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/3085847089/original/0tGcJ4-kHZjE3asXv5YujVJ2ieZIUwRQtA.png?1661509184)

### 4.3.1 Mapping

| Field | Type |
| --- | --- |
| Internal Order Id* | number |
| Order status* | options |
| Set As Paid | bool |
| Refund reason | text |
| Refund total | number |
| Trigger API Refund | bool |
| Custom Fields | collection |
| Custom Fields.Name | text |
| Custom Fields.Value | text |
| Order Notes | collection |
| Order Notes.Note | text |
| Order Notes.Is Customer Note | bool |
| Custom Attributes | complex |
| Custom Attributes.x | text |

---

# 5) Frequently used Workflows

Below you will find a list of Popular Workflows for Shopify.

All the mentioned Workflows offer Templates to simplify the Mapping process.

**Shopify Products -> Dokan Products**

**Dokan Products -> Shopify Products**

**Shopware product - Dokan product**

**ITscope to Dokan Products**

**Dokan order - Shipping.NET Label Center Add Shipment**

**Dokan order - Odoo Saleorder**

For more information on how to use a template please consult [Mapping by Templates](https://support.syncspider.com/en/support/solutions/articles/3000115330-mapping#2.3.8-Mapping-by-Templates).

---

# 6) Related Content

## Dokan to Shopify Example

## Dokan to WooCommerce Example

## Shopify to Dokan Example

## WooCommerce to Dokan Example

## Big Commerce to Dokan Example

## Map Product Variations from WooCommerce to Dokan

---

We hope that this covers everything. If you have any further questions or need additional clarification, please reach out to us via [[email protected]](/cdn-cgi/l/email-protection#75060005051a070135060c1b1606051c1110075b161a18) or our Chat Widget!