B2C E-Commerce & Online Store Development: Headless Storefront
When you hit the performance, SEO, and campaign-flexibility wall of off-the-shelf platforms, we'd build a custom online store on a Next.js headless storefront with iyzico/PayTR virtual POS and courier integration: infrastructure designed for high conversion.
When you launch a B2C e-commerce business in Turkey, starting on Shopify, Ticimax, or IdeaSoft is usually the right decision: you go live fast, you see your first sales, you do not wrestle with infrastructure. The trouble begins as the business grows: the catalogue swells and pages slow down, you fall below Google's Core Web Vitals thresholds, organic traffic erodes; the campaigns the marketing team wants to run (cart-specific tiered discounts, bundles, membership levels, coupon logic) exceed what the platform allows; between theme on top of plugin and plugin on top of custom code, maintenance becomes impossible; monthly transaction fees and app subscriptions grow out of proportion to revenue. At this threshold the off-the-shelf platform stops being an accelerator and becomes a ceiling. This is exactly where we step in: custom and headless B2C storefront development, where performance, SEO, and campaign flexibility are not up for negotiation and conversion hinges on every millisecond.
The Cost of Hitting the Off-the-Shelf Ceiling
As the catalogue grows, page speed drops; LCP climbs to 4 to 6 seconds, Core Web Vitals turn red, and your Google organic ranking starts to erode: you lose your cheapest traffic channel.
The campaigns the marketing team wants (cart-specific tiered discounts, bundles, membership levels, conditional coupons) exceed the platform's engine; for every campaign you either buy a plugin or miss the sales opportunity.
Virtual POS, the instalment table, 3D Secure, and courier integration are patched together from a pile of plugins; payment confirmation trusts the browser, and a network outage produces a duplicate order or a lost payment.
Mobile conversion is low; the page is slow, the layout shifts, checkout is 5 steps: most of every 100 items added to cart are abandoned before reaching the payment screen.
Monthly transaction fees, the theme, and dozens of app subscriptions grow out of proportion to revenue; you are locked into the platform, and your data and storefront are not fully under your control.
Our Approach
When we start a B2C project, the first thing we do is honestly assess whether you should leave the off-the-shelf platform at all. Migrating a business of a few hundred orders a month with standard campaign logic to a headless architecture is usually over-engineering; for that business we'd rather say "stay on Shopify, let's just do these theme and checkout improvements." But if performance, SEO, and campaign flexibility are at the heart of your business model, that is, if a meaningful share of traffic is organic and campaign design is your competitive edge, then we recommend a Next.js-based headless storefront. The storefront comes fully under your control; the commerce logic (cart, order, pricing, stock) lives in Medusa.js or a custom commerce backend we design around your business model. We do the migration gradually rather than big-bang: the storefront moves to the new architecture first, SEO traffic is preserved, and then checkout is taken over. Revenue is never interrupted on any day.
The second critical decision is performance and SEO, which in B2C is a technical quality that converts directly into money. We recommend generating category and product pages statically with Next.js ISR (Incremental Static Regeneration) and serving them from a CDN (Cloudflare or Vercel Edge); this usually brings LCP below 1.5 seconds. Images are converted to AVIF/WebP, served at responsive sizes with lazy-load, and dimensions are reserved on all media to push layout shift (CLS) toward zero. Structured data (Product, Offer, BreadcrumbList JSON-LD), the canonical URL structure, automatic sitemaps, and hreflang for multilingual selling are designed in from day one. The goal is clear: a green score on Core Web Vitals and sustainable organic growth.
The third layer is search, campaigns, and conversion. On a catalogue of thousands of products, the on-site search experience is the strongest lever for conversion; so we recommend building search and filtering on Elasticsearch or Typesense: with typo tolerance, autocomplete, and faceted filtering, results return within milliseconds. On the campaign side we design a flexible discount and campaign engine the marketing team can configure without writing code: cart-specific tiered discounts, bundles, membership-level pricing, conditional coupons, and campaign-collision rules are modelled as core concepts. For frequently changing content (banners, collections, campaign pages, blog) we connect a headless CMS such as Strapi, so the marketing team can manage the storefront without needing a developer.
The final layer is payment, courier, and resilience. On virtual POS we work with iyzico, PayTR, and Stripe for international sales; 3D Secure, the bank-specific instalment table, BIN lookup, and the refund/partial-refund flow are set up as standard. We always confirm payment via a server-side webhook. We never trust the browser redirect. On the courier side, automatic shipment creation, label generation, and delivery of the tracking number to the customer are set up through Aras, Yurtiçi, and MNG integrations. Every payment and courier call is designed to be idempotent and retried; consistent order state in PostgreSQL, cart/session in Redis, and end-to-end error tracking with Sentry. Even on a network outage no duplicate order or lost payment occurs.
Process
Decision & Architecture Analysis
We review your current platform, traffic sources, campaign needs, and Core Web Vitals score. Stay on the off-the-shelf platform or move to headless: an honest decision and a gradual migration plan come out of it.
Headless Storefront (Next.js)
Next.js storefront, static category/product pages via ISR + CDN, an AVIF/WebP image pipeline, JSON-LD structured data, and SEO infrastructure. Target: LCP < 1.5s and green on Core Web Vitals.
Commerce Backend & Search
Medusa.js or a custom commerce backend; PostgreSQL for orders/stock, Redis for cart/session, faceted search on Elasticsearch/Typesense, and a flexible campaign and discount engine.
Payment & Courier Integration
iyzico/PayTR/Stripe virtual POS, 3D Secure, instalment table, server-side webhook confirmation; Aras/Yurtiçi/MNG courier automation, labels, and tracking: all idempotent and retried.
Migration, Measurement & Optimisation
Gradual go-live (storefront first, then checkout), SEO protection via 301 redirects, monitoring with Sentry, conversion-funnel measurement, and continuous performance and CRO improvement.
Our Preferred Technology Stack
We typically reach for the following, adapted per project to your existing platform, catalogue size, and traffic profile.
Sıkça Sorulan Sorular
Let's Talk About Your Online Store
Book a 15-to-30-minute discovery call, free, no commitment. We learn your current platform, traffic profile, and campaign needs, then come back with an honest direction on whether to stay off-the-shelf or move to headless, plus a clear cost range.
