ZunekoLabs
ZUNEKOLABS
Zuneko Labs
Zuneko Labsby Emdee Digitronics
Get Started
Back to Case Studies Hub

Engagement stage: Delivered and live in production. The system described below is operational. Capability claims are stated as delivered. No business-outcome metrics (revenue, time saved, error rates) are claimed, because they were not measured at the time of writing; where a benefit is directional, it is framed as such.

Case Study

Shopify ERPNext Integration: A Preeti Bora Retail Case Study

A Shopify ERPNext integration makes one ERP the single source of truth for stock sold across an online store and a physical shop. For Preeti Bora, a custom Frappe/ERPNext app does exactly this: every product flows through quality inspection into a Mother Warehouse, then distributes to Shopify and POS warehouses, so both channels draw from one live inventory count.

Engagement Snapshot

ClientPreeti Bora (boutique fashion retail)
SectorApparel / boutique retail, omnichannel
ChannelsShopify online store + physical store (Frappe POS)
Built byZuneko Labs
Core platformCustom Frappe / ERPNext app, ERP as single source of truth
DeliveryTwo phases: boutique foundation, then deep Shopify sync

How to Integrate Shopify with ERPNext for Omnichannel Retail

A Shopify ERPNext integration makes one ERP the single source of truth for stock sold across an online store and a physical shop. For Preeti Bora, a custom Frappe/ERPNext app does exactly this: every product flows through quality inspection into a Mother Warehouse, then distributes to Shopify and POS warehouses, so both channels draw from one live inventory count.

The boutique that sold in two places and tracked stock in none

A boutique sells the same dress in two worlds. One customer buys it online through Shopify at midnight. Another walks into the store and buys it the next morning. For the business, these are the same garment, the same stock, the same money. For the systems running each channel, they were two unconnected events.

Before this build, Preeti Bora had no system that treated stock as one thing.

Purchases from suppliers arrived with no structured way to record quantity, order date, or storage location. Inventory lived partly in Shopify, partly in the store's own counting, and partly in people's heads. The gaps were not cosmetic. They created real inventory drift and GST compliance exposure, because a sale or a receipt that is not recorded cleanly is a tax document that does not reconcile.

"When the same item exists in two systems that never talk, every sale quietly widens the gap between what you think you have and what you actually have."

This is the condition the project set out to defeat: not a lazy team or a bad tool, but a structural absence of a single place where stock, purchases, and sales were all true at once.

Why a boutique's stock is harder than it looks

Selling online and in-store simultaneously turns manual reconciliation into a daily risk, because both channels draw from one physical stock pool that has to stay correct in real time. A garment sold in the store but still live on Shopify is an oversell; the reverse is a lost sale. The root cause is the absence of a system of record.

The trigger was growth across both channels at once. Fashion retail compounds the problem in three ways:

  • Variants multiply everything. A single style exists in many colour and size combinations. Each combination is its own stockable unit, its own barcode, its own line on a tax return. Tracking them by hand does not scale past a small rail.
  • Two channels, one pool of stock. Online and offline both draw from the same physical inventory, so the count has to be correct in real time, not at the end of the day.
  • Compliance rides on accuracy. GST in India needs HSN-coded, properly documented inward and outward supply. If the underlying stock and sales records are loose, the tax reporting built on top of them inherits the looseness.

The honest cost-of-inaction here is directional, not a figure: oversells, dead stock sitting unseen in one channel, and the slow tax-reconciliation burden of records that never quite agree. The project's job was to remove the cause, not to chase the symptoms.

For related context, see our note on ERPNext for retail inventory.

Frequently Asked Questions

Online and in-store counts drift apart when each channel tracks stock separately instead of drawing from one shared record. A sale in the shop does not lower the Shopify count, and a Shopify sale does not lower the shop's, so both slowly become wrong. The fix is a single source of truth: one system that owns the real stock figure, with both channels reading from and writing to it. Then a sale anywhere updates the one count everyone relies on, and oversells stop happening.
Manage variants by treating each colour and size combination as its own stockable unit with its own identifier, governed in one system. In this build, each product is an ERPNext item template with colour and size attributes, and every combination becomes a distinct variant with a unique barcode. Variants are created in the ERP and pushed to Shopify automatically, so the two platforms never disagree about which size or colour exists or how many are in stock. Managing variants in one place is what keeps a large fashion catalogue consistent across channels.

The solution: ERPNext as the single source of truth

Zuneko Labs built a custom Frappe/ERPNext application that makes the ERP the one place where stock, purchases, and sales are all true. Shopify becomes a display and sales channel; the physical store runs on Frappe POS; and both draw from the same inventory the ERP governs. Stock is created once, inspected once, and then distributed to whichever channel needs it.

The turning point in the design was a single principle: stock has one origin and one owner. Everything received flows through a controlled path before it can be sold anywhere.

The warehouse flow that anchors everything

All stock follows one route from supplier to sale.

Stock has one origin

Supplier
Stores QA Warehouse
(Purchase Receipt lands here)
Quality
Inspection
Rejected
Rejected Warehouse
Accepted
Mother Warehouse
(single source of truth)
Shopify Warehouse
(qty shown on Shopify)
Online sale
(Shopify order to ERP)
POS Warehouse
(qty shown in Frappe POS)
In-store sale
(Frappe POS + UPI)

Figure 1. Stock has one origin. Everything enters through QA, settles in the Mother Warehouse, then distributes to the channel warehouses that feed each sales surface.

Nothing reaches a sales channel without passing quality inspection first. Accepted goods move to the Mother Warehouse, the source-of-truth stock. From there, the team distributes to the Shopify Warehouse and the POS Warehouse based on selling need, guided by reports that show what to send where. Rejected goods are quarantined in a separate warehouse so they never pollute the sellable count.

Phase one: the boutique foundation

The first phase built the spine: a disciplined purchase flow and the inventory backbone.

The purchase flow runs Purchase Order to Purchase Receipt to Purchase Invoice. When stock is received, an entry verifies quantity, variants, purchase rate, and supplier details, which is also what makes the downstream GST records clean. A custom override forces every receipt to land in the QA warehouse first; direct submission is blocked, so inspection cannot be skipped.

Quality inspection is the gate. On submission, it validates every line, moves accepted items to the Mother Warehouse and rejected items to quarantine, and generates a unique EAN-13 barcode for each newly accepted item. The barcode encodes the product template, colour, and size, so every variant down to the size is individually scannable.

"Every product, every variant, every size carries its own barcode. The barcode is the thread that ties a physical garment to its record in the system."

This phase also delivered automated dispatch. When a sale completes, the system generates the invoice and delivery documents and sends them to the customer over WhatsApp and email automatically, removing a manual step that used to sit between sale and customer.

Phase two: deep Shopify sync and the storefront mirror

The second phase connected the spine to the outside world in real time.

Product creation and variant management happen in the ERP and push to Shopify automatically. A new product appears on Shopify as a draft; the team adds photos and copy, then publishes; and stock quantity only goes live once stock is actually transferred to the Shopify Warehouse. This ordering prevents the classic error of advertising stock that is not really there.

Selling runs in both directions:

ChannelWhat the system does
Shopify (online)Pulls orders into the ERP in real time, updates payment status, generates invoices, sends them via WhatsApp and email, and updates inventory automatically once an order is fulfilled
Frappe POS (in-store)Handles barcode scanning, customer management, GST calculation, and Paytm UPI QR plus cash and card payment, then generates and shares the invoice

To make the system easy for staff to adopt, the team redesigned the Frappe UI to resemble Shopify, so the screens employees already knew were the screens they kept using. Orders, fulfilment status, and reserved-versus-available quantity all appear in a Shopify-style view inside the ERP.

The honest friction: payment rails the system cannot fully own

One acknowledged constraint shaped the POS design. Bank EDC terminals use proprietary protocols with no public developer API, so an in-store card payment cannot be fully automated end to end; a transaction reference is captured into the ERP rather than pulled silently from the terminal. The build answers this deliberately: the UPI path is fully automated with a live QR and status polling, and a manual confirmation override exists for the cases the rails will not expose. The system automates what it can own and stays honest about the seam it cannot.

Frequently Asked Questions

Yes. ERPNext can integrate with Shopify so that products, inventory, and orders stay in sync between the two. In this build, a custom Frappe/ERPNext app pushes products and variants to Shopify, updates Shopify inventory when stock moves to the Shopify warehouse, and pulls Shopify orders back into the ERP in real time. ERPNext acts as the single source of truth, and Shopify becomes the storefront. The integration can be the official Frappe connector or a custom app where the standard one falls short, as it does for fine-grained variant control.
Real-time sync works through two directions of automatic updates. When stock moves to the Shopify warehouse in the ERP, the system pushes the new quantity to Shopify so the storefront shows what is truly available. When a Shopify order comes in, a webhook pushes it into the ERP, which creates the sale, reserves or consumes stock, and lowers the count. A scheduled reconciliation also runs periodically to catch any drift. The result is that a sale on either channel adjusts the one shared inventory figure.
Yes, and that is the core of this build. Both the Shopify online store and the in-store Frappe POS draw from the same ERP-governed inventory. Each channel has its own warehouse fed from a shared Mother Warehouse, so stock is allocated deliberately rather than double-counted. A sale online or in the shop updates the same underlying record. Running both from one system is what stops the two channels from overselling the same garment or hiding stock from each other.
Barcode generation assigns a unique, scannable code to each stockable unit so physical items map cleanly to system records. In this build, an EAN-13 barcode is generated automatically when an item passes quality inspection, and it encodes the product template, colour, and size. That means every variant, down to a specific size in a specific colour, has its own barcode. At the POS, scanning the barcode pulls up the exact variant, which keeps inventory counts and sales accurate without manual lookups.

What the system delivers in production

The system is live. Its delivered outcomes are described here as capabilities in operation, not as measured business metrics, because those metrics were not captured at the time of writing.

The before-and-after shift is structural. Before, stock was tracked in no single place and online and offline counts drifted apart. After, ERPNext holds one authoritative count, and every sale on either channel draws from it and updates it.

Delivered capabilities:

  • Real-time omnichannel stock. A sale on Shopify or at the POS updates the same underlying inventory, so the two channels no longer disagree about what is in stock.
  • Quality-gated receiving. No stock becomes sellable until it passes inspection, which keeps rejected goods out of the live count entirely.
  • Per-variant barcoding. Every product, variant, and size has a unique EAN-13 barcode, making physical stock individually traceable and scannable at the POS.
  • End-to-end GST. HSN-based GST calculation runs across the flow, with reporting including e-Invoice Summary, HSN-wise inward and outward supply, GSTR-3B details, Bill of Entry summary, and e-Way bills.
  • Automated customer communication. Invoices and delivery slips reach customers over WhatsApp and email without manual sending.
  • Automated shipment labels. Dispatch labels generate from the system, removing the old manual design step.
  • Role-based operation. Employee roles, permissions, and hierarchy are defined in the ERP, so the right people see and do the right things.
"The defensible claim is concrete: Preeti Bora now runs both sales channels from one stock record, with quality control, barcoding, GST, and customer dispatch automated end to end. The value of that is real; the rupee figure is for a later measurement pass."

Frequently Asked Questions

Handle GST on Shopify orders by mapping each order's tax lines to proper GST accounts in your accounting system and generating compliant documents from there. In this build, the ERP maps Shopify tax lines to ERPNext tax accounts using HSN codes, then produces GST reporting including e-Invoice Summary, HSN-wise inward and outward supply, GSTR-3B details, Bill of Entry summary, and e-Way bills. Because the sale records flow automatically from Shopify into the ERP, the tax documents are built on accurate underlying data rather than manual re-entry.
ERPNext suits retail and fashion businesses, especially when stock spans an online store and a physical shop, because it can act as one source of truth across both. For fashion specifically, its item template and variant model handles the colour and size combinations that define apparel catalogues. In this build, ERPNext runs purchasing, quality-gated receiving, per-variant barcoding, GST, POS, and Shopify sync from a single system. A custom app filled the gaps where the standard tooling was too coarse, particularly around variant-level control.

What this case shows

The transferable lesson is that omnichannel is an inventory problem before it is a sales problem. The temptation is to bolt a sync tool between Shopify and a store and call it integration. This build did the harder, more durable thing: it made one system the owner of stock, forced all goods through a single quality-gated path, and let the channels be mere windows onto that single truth.

For any multi-channel retailer, the principle holds: decide where stock is true before you decide how it is displayed. A single source of truth, with discipline at the point goods enter, is what lets two sales channels run without quietly contradicting each other.

The next step is to capture measured outcomes from the live system, oversell rate, reconciliation time, GST filing effort, and use them to quantify what the structure already delivers.

To discuss a similar build, see our ERP and e-commerce integration services.

Frequently Asked Questions

Sync Shopify inventory with a physical store by making one system own the real stock count and having both channels read from it. In practice, an ERP holds the authoritative inventory; it pushes available quantity to Shopify and receives Shopify orders back automatically, while the in-store POS draws from the same ERP stock. A sale in either place updates the one shared count. This single-source-of-truth approach is what prevents the online store and the shop from overselling or hiding stock from each other.
A Frappe POS can handle cash, card, and UPI payments. In this build, the in-store POS supports Paytm UPI through a live QR code that the customer scans, with the system polling for payment confirmation and closing the sale automatically on success. Cash and card are also supported, with a manual confirmation step for card payments because bank terminals do not expose a public API. After payment, the POS generates the invoice and shares it with the customer.
Use the official connector when standard product, order, and inventory sync is enough, and a custom integration when you need control the standard app does not give. The common gap is variant-level handling: fashion and apparel catalogues with many colour and size combinations often outgrow the official connector's variant support. This build used a custom Frappe/ERPNext app specifically to govern variants, barcoding, and quality-gated stock flow precisely, while still drawing on official tooling where it was sufficient.

Author: [supply author name and credential before publishing]. Published: [supply date]. Last updated: [supply date].

Assumptions noted: maturity confirmed delivered/live; impact stated as delivered capability, no outcome metric claimed because none measured in source; two technical docs treated as two phases of one build; functional framing, no invented person or quote; spec figures taken directly from technical documentation.

More case studies

Amit Metaliks

AI-powered steel procurement management that enforces margin discipline at the buying desk.

Read case study →

Dholakia Ventures

Agentic OCR pipeline that clears pitch deck noise and frees analyst hours for real judgement.

Read case study →

Carbon Resources

AI reconciliation of multi-invoice credit-card spend — posted directly into SAP FB60.

Read case study →

Jeco Agrovet

AI shipping invoice validation: how Jeco Agrovet catches overcharges before payment.

Read case study →

M-Swasth (M-Insure)

WhatsApp claim ingestion pipeline gives health TPA M-Swasth automatic document capture.

Read case study →

Teleconsultation Platform

Multi-role teleconsultation platform: enforced roles, realtime case routing, and full audit trail.

Read case study →

Bhandari Automobiles

Automated Interest Calculation Across 31 Bank Facilities.

Read case study →

Alliance Properties

Real Estate CRM for a Small Brokerage: How Alliance Properties Is Rebuilding on One System

Read case study →

CFOLogic

Automatic Time Tracking That Turns Work Into Billable Hours: How CFOLogic Replaced Manual Timesheets

Read case study →

OneCare

Insurance Claims on WhatsApp: How OneCare Built a Rural Claims System

Read case study →

Bhandari VMS

Multi-location visitor management system built for automotive dealerships.

Read case study →

Amit Metaliks ESMA

A custom ESMA integration for Amit Metaliks.

Read case study →

CRPL CV

Edge AI computer vision on existing CCTV feeds for heavy industry safety.

Read case study →

Bhandari ANPR

Searchable gate intelligence using custom ANPR pipelines.

Read case study →

Prevenzo

Digital school health platform for longitudinal pediatric screening.

Read case study →

Tally Invoice Automation

Automating Tally at scale using OCR and a custom sync bridge.

Read case study →