Article

Case Study: Rebuilding a Shopify Store as a Custom Web Application

·7 min read·👁 0
Dharmendra Singh Yadav

Dharmendra Singh Yadav

Founder, Dharmsy Innovations

E-commerce custom platform migration from Shopify

Why This Company Left Shopify

A Mumbai-based fashion accessories brand had been on Shopify for three years. Revenue had grown to ₹8 crore annually, they had an established customer base, and the business was operationally efficient. Shopify had served them well.

But they were hitting a set of limits that Shopify couldn't solve cleanly:

  • Pricing logic complexity: Their B2B wholesale channel needed volume-based pricing rules (different prices for different quantities, different prices for different buyer tiers, automatic discounts for registered wholesalers) that required expensive third-party Shopify apps that kept breaking with theme updates
  • App fees: They were paying ₹1.8 lakhs per year in Shopify app subscriptions across seven different apps for features they considered basic
  • Platform fees at scale: Shopify's transaction fees (even on advanced plans) were meaningful at their order volume
  • Customisation limits: Their product personalisation feature — customers could customise products with names, monograms, and colour choices — required increasingly hacky workarounds in the Shopify theme

They came to us to understand whether building a custom platform made financial sense and, if so, to build it.

The Decision Analysis

Before agreeing to build, we worked with them on the numbers. A custom platform would cost roughly ₹18–22 lakhs to build and ₹2–3 lakhs per year to maintain. The Shopify savings (app fees + reduced transaction fees at their volume) were approximately ₹4–5 lakhs per year. Break-even at approximately 4–5 years, with the additional value of full ownership and no platform dependency.

For a business planning to be around in 10+ years, the economics made sense. We were honest that for a smaller or younger business, it probably wouldn't.

What We Built

The platform was a Next.js web application with a Node.js backend and PostgreSQL database. Key components:

Customer-facing storefront: Product catalogue, search, filtering, product personalisation interface (the custom monogram/name feature, rebuilt properly), cart, checkout with Razorpay and UPI support, order tracking.

B2B wholesale portal: Separate login for wholesale buyers, volume-based pricing rules engine, bulk ordering interface, wholesale-specific payment terms (net-30 invoice generation).

Inventory and order management: Internal dashboard for the operations team — inventory levels, order fulfilment, return processing, customer communication.

Data migration: 3 years of customer data, order history, and product catalogue migrated from Shopify with data integrity verification at each step.

Technical Approach

We used Next.js for the storefront primarily for SEO — server-side rendered product pages are significantly better for organic search than client-side rendered alternatives, which matters at their catalog size. The B2B portal was a separate Next.js app sharing the same backend API, keeping the codebases independent while reusing business logic.

PostgreSQL was the right database choice here because of the structured, relational nature of e-commerce data — products, variants, orders, customers, and the complex pricing rules all have clear relationships that a relational database handles cleanly.

The personalisation engine — the feature that had been most painful on Shopify — was rebuilt as a first-class system. Customers can configure products through a visual interface, the configuration is stored with the order, and it flows through to production instructions for the fulfilment team automatically.

The Migration

Migrating a live e-commerce store without disrupting the business is the most stressful part of a project like this. We ran both platforms in parallel for six weeks — orders continued on Shopify while the new platform was tested and seeded with data. The cutover was done on a Tuesday morning (lowest traffic day for this brand) with a 4-hour maintenance window that was communicated to customers in advance.

Total downtime: 90 minutes. No orders were lost.

Outcomes

Twelve months after launch, the brand is operating entirely on the custom platform. The product personalisation feature — now working properly — has become a meaningful revenue driver; personalised products now account for 22% of D2C revenue, up from 11% when the Shopify workaround was frustrating customers. B2B wholesale revenue has grown 40% in the first year, in part attributed to the smoother wholesale portal experience.

If you're on Shopify or WooCommerce and wondering whether a custom platform is worth it for your business, we're happy to work through the numbers honestly with you.

Frequently Asked Questions

Why This Company Left Shopify?+

A Mumbai-based fashion accessories brand had been on Shopify for three years. Revenue had grown to ₹8 crore annually, they had an established customer base, and the business was operationally efficient. Shopify had served them well.

What is the Decision Analysis?+

Before agreeing to build, we worked with them on the numbers. A custom platform would cost roughly ₹18–22 lakhs to build and ₹2–3 lakhs per year to maintain. The Shopify savings (app fees + reduced transaction fees at their volume) were approximately ₹4–5 lakhs per year.

What We Built?+

The platform was a Next.js web application with a Node.js backend and PostgreSQL database. Key components:

What is Technical Approach?+

We used Next.js for the storefront primarily for SEO — server-side rendered product pages are significantly better for organic search than client-side rendered alternatives, which matters at their catalog size.

What is the Migration?+

Migrating a live e-commerce store without disrupting the business is the most stressful part of a project like this. We ran both platforms in parallel for six weeks — orders continued on Shopify while the new platform was tested and seeded with data.

What is Outcomes?+

Twelve months after launch, the brand is operating entirely on the custom platform. The product personalisation feature — now working properly — has become a meaningful revenue driver; personalised products now account for 22% of D2C revenue, up from 11% when the Shopify workaround was frustrating customers.

Work with Dharmsy Innovations

Turn Your SaaS or App Idea Into a Real Product — Faster & Affordable

Dharmsy Innovations helps founders and businesses turn ideas into production-ready products — from MVP and prototypes to scalable platforms in web, mobile, and AI.

No sales pressure — just honest guidance on cost, timeline & tech stack.