# Online store and store sync

> Open a web shop with Daftiq's Online Store, or connect Shopify, WooCommerce or Daraz with Store Sync so stock goes out and orders come in.

URL: https://daftiq.com/page/guide-online-store-and-store-sync (updated 2026-12-03)

## Online store and store sync

Daftiq gives you two ways to sell online:

- **Online Store**: a simple web shop that Daftiq hosts for you, with cash on delivery and online payment.

- **Store Sync**: connects a shop you already run on **Shopify**, **WooCommerce** or **Daraz**. Stock levels go out from Daftiq and orders come back in.

Both use your products and warehouse stock, so online and shop sales come out of the same stock.

### Before you start

- You need the Online Store module, or the Store Sync (Shopify, WooCommerce, Daraz) module.

- Add your products with prices and stock. See [Inventory](https://daftiq.com/page/guide-inventory). Give every product a SKU, because Store Sync matches products by SKU.

- Online payment in the web shop uses JazzCash or Easypaisa, set up in the JazzCash, Easypaisa & Raast module (Standard and Premium). See [Sales and invoicing](https://daftiq.com/page/guide-sales-and-invoicing).

## Part 1: Online Store

### 1. Set up your shop

- Open **Sell → Online store**.

- Enter the **Shop name** and the **Web address** (letters, digits and dashes). Your shop will be at **/shop/** followed by this address.

- Add a **Tagline**, **Phone** and **Email**.

- Choose the warehouse the shop **Ships from**, the **Delivery fee**, and **Free delivery over** an amount if you offer it.

- Pick a **Shop colour**.

- Tick the payment options you accept: **Cash on delivery** and/or **Online payment (Pay now gateways)**.

- Click **Save**.

### 2. Choose the products

- In **Products in the shop**, tick **In shop** for each product you want to sell online.

- Tick **Featured** for the products to show first.

- Click **Save products**.

Prices in the shop include tax. The shop shows the stock of the shipping warehouse, minus what is held for open web orders.

### 3. Open the shop

Tick **Shop is open** and click **Save**. Customers cannot see the shop until you do this.

### 4. Handle web orders

At checkout the customer enters their name, mobile number, address and city, then chooses **Cash on delivery** or **Pay online now** and clicks **Place order**.

- Each order creates a **draft sales invoice** for the customer, with the delivery fee as an extra line. The stock is held for it.

- For cash on delivery, check the order and click **Confirm**. Orders paid online are confirmed automatically. Confirming posts the invoice.

- Unconfirmed cash-on-delivery orders expire after 48 hours, which frees the stock.

- In **Web orders**, move each order along with **Mark shipped** and **Mark delivered**. Use **Mark returned** or **Cancel / refused** when needed.

## Part 2: Store Sync (Shopify, WooCommerce, Daraz)

### 1. Connect your store

- Open **Sell → Online stores** and click **Connect a store**.

- Choose the **Platform** and give the connection a **Name**.

- Enter the store's address and keys:

- **Shopify:** the shop domain (yourshop.myshopify.com), an **Admin API access token** and the **Location ID (for stock)**.

- **WooCommerce:** the store address, **Consumer key** and **Consumer secret**.

- **Daraz:** the **App key**, **App secret** and **Access token**. Leave the API address empty to use api.daraz.pk.

- Choose the **Warehouse (stock and deliveries)**, the customer to **Bill online orders to**, and where **Paid orders are received in** (a bank account, or not recorded so you collect later).

- Enter the **Tax % on order lines**.

- To try it without touching your real store, tick **Test mode**.

- Click **Connect store**, then **Test connection**.

### 2. Match your products

- Click **Match products by SKU**. The **Product mapping** table shows which Daftiq products are linked to store products.

- For Shopify and WooCommerce, you can click **Create missing products in the store**. For Daraz, list new products in Daraz Seller Center first, then match again.

### 3. What syncs and when

- **Stock goes out:** stock levels of matched products are sent to the store.

- **Orders come in:** each online order becomes a posted sales invoice to the chosen customer, and the stock leaves the chosen warehouse. Paid orders are received into the chosen bank account.

- With **Sync every 15 minutes** on, this happens automatically. Shopify and WooCommerce can also send orders instantly with the **Instant orders (webhook)** option. Daraz orders are collected on each sync.

- Use **Send stock levels now** and **Pull orders now** any time.

If an order cannot be brought in, it shows as **Failed** with a **Retry** button. Orders where the invoice total and the store's total differ are flagged so you can check them.

### Tips

- Keep SKUs the same in Daftiq and in your online store. This is how products are matched.

- Use one warehouse for online stock, so online sales never sell what is promised to the shop counter.

- Start with test mode, check a few orders, then switch it off.

### Related guides

- [Inventory](https://daftiq.com/page/guide-inventory)

- [Sales and invoicing](https://daftiq.com/page/guide-sales-and-invoicing)

- [Point of Sale](https://daftiq.com/page/guide-pos)
