How to Build an E-Commerce Website in India (Step by Step)
Why Build an E-Commerce Website in 2026
India's e-commerce market crossed $80 billion in 2024 and is growing at over 25% year-over-year. What has changed is not just the market size but who is buying online. Tier 2 and Tier 3 cities now account for over 60% of new online shoppers. UPI has made payments frictionless. And consumers increasingly search for niche products that Amazon and Flipkart do not specialize in.
This creates a massive opportunity for businesses that build their own e-commerce presence rather than relying solely on marketplace listings. Your own website means higher margins (no marketplace commission), direct customer relationships, brand building, and full control over the shopping experience.
Whether you are a manufacturer selling directly to consumers, a retailer expanding online, or a new D2C brand, this guide walks you through building an e-commerce website in India from scratch.
Step 1: Define Your E-Commerce Model
Before writing a single line of code or choosing a platform, clarify your business model:
Business-to-Consumer (B2C)
You sell products directly to end consumers. This is the most common e-commerce model — think online fashion stores, electronics, groceries, and specialty products.
Business-to-Business (B2B)
You sell to other businesses. B2B e-commerce requires features like bulk pricing, purchase orders, credit terms, and quotation workflows.
Direct-to-Consumer (D2C)
You are the manufacturer or brand owner selling directly without intermediaries. D2C is growing rapidly in India across categories like personal care, food, and fashion.
Marketplace
You provide a platform where multiple sellers list products and you take a commission. This is the most complex model, requiring vendor management, commission tracking, and dispute resolution.
Your model determines everything from platform choice to payment integration to compliance requirements.
Step 2: Choose Your Technology Platform
Option 1: Shopify (INR 2,000 to 15,000/month)
Best for: Small to mid-size stores launching quickly.
Pros:
- Hosted solution — no server management
- Beautiful themes and drag-and-drop editor
- Built-in payment processing (Shopify Payments works in India)
- App ecosystem for adding features
- Excellent mobile experience out of the box
Cons:
- Transaction fees on non-Shopify payments (2%)
- Limited customization without Liquid programming
- Recurring monthly cost increases with scale
- Data portability challenges if you want to migrate
Option 2: WooCommerce (WordPress) (INR 5,000 to 50,000 setup + hosting)
Best for: Businesses that want flexibility and content marketing integration.
Pros:
- Free core software (open source)
- Thousands of plugins for every feature
- Full control over code and data
- Strong for content marketing and blog-driven SEO
- One-time development cost, not recurring platform fees
Cons:
- Requires hosting management
- Security is your responsibility
- Performance requires optimization work
- Plugin conflicts can cause issues
Option 3: Custom-Built (INR 2,00,000 to 15,00,000+)
Best for: Businesses with unique requirements or high scale.
Pros:
- Complete flexibility for unique business logic
- Optimized performance for your specific use case
- No plugin dependencies or platform limitations
- Better scalability for high-traffic scenarios
- Full ownership and data control
Cons:
- Higher initial investment
- Longer development timeline
- Requires ongoing development team for maintenance
Platform Decision Framework
| Criteria | Shopify | WooCommerce | Custom |
|---|---|---|---|
| Budget | Low | Medium | High |
| Time to Launch | 1-2 weeks | 4-8 weeks | 3-6 months |
| Technical Skill Needed | Low | Medium | High (or hire team) |
| Customization | Limited | Good | Unlimited |
| Scaling Cost | Increases monthly | Server costs only | Server + dev costs |
| Best Product Count | Up to 5,000 | Up to 10,000 | Unlimited |
Step 3: Set Up Legal and Compliance
Indian e-commerce has specific legal requirements. Handle these before launch:
GST Registration
Mandatory if your annual turnover exceeds INR 40 lakhs (INR 20 lakhs for services). For e-commerce, some states require GST registration regardless of turnover if you sell through your own website.
Legal Entity
Register your business as a sole proprietorship, LLP, or private limited company. LLP is often the best balance of liability protection and simplicity for e-commerce.
Privacy Policy and Terms of Service
Required by Indian law. Your privacy policy must comply with the Information Technology Act and the upcoming Digital Personal Data Protection Act. Include details about data collection, usage, sharing, and user rights.
Consumer Protection (E-Commerce) Rules
Indian e-commerce rules require:
- Display of seller details (name, address, GSTIN)
- Clear return and refund policies
- Grievance officer contact details
- Country of origin for products
- No misleading advertisements
FSSAI License (for Food Products)
If you sell any food products, you need FSSAI registration or license depending on your turnover.
Step 4: Payment Gateway Integration
Payment processing is the backbone of your e-commerce site. In India, the major options are:
Razorpay
The most popular choice for Indian startups and SMEs. Supports UPI, cards, net banking, wallets, and EMI. Pricing: 2% per transaction.
Cashfree Payments
Strong alternative with instant settlements and good API documentation. Pricing: 1.90% per transaction.
PayU
Established player with extensive payment method support. Good for high-volume merchants. Pricing: starts at 2% per transaction.
CCAvenue
One of the oldest payment gateways in India. Wide payment method coverage including international cards. Pricing: starts at 2% per transaction plus setup fees.
Implementation tips:
- Always integrate at least two payment gateways for failover
- Enable UPI as the default payment method — it accounts for over 50% of online transactions in India
- Offer Cash on Delivery (COD) — it still drives 40 to 50% of orders in many categories
- Implement proper webhook handling to avoid order status mismatches
- Test refund flows thoroughly before launch
Step 5: Shipping and Logistics
Shipping is where most Indian e-commerce businesses face operational challenges. Plan this carefully:
Shipping Aggregators
Instead of integrating with individual courier companies, use a shipping aggregator:
- Shiprocket — integrates with 17+ courier partners, automated tracking, COD support
- Delhivery — strong network for pan-India delivery, good for D2C brands
- Ecom Express — reliable for e-commerce-specific logistics
- Shadowfax — fast hyperlocal and intercity delivery
Shipping Strategy
- Offer free shipping above a threshold (INR 499 or INR 999 is common)
- Display estimated delivery dates on product pages
- Implement pincode serviceability check before checkout
- Set up automated tracking notifications via SMS and WhatsApp
- Plan for returns — reverse logistics is as important as forward logistics
COD Management
Cash on delivery introduces unique challenges:
- Higher return-to-origin (RTO) rates (15 to 30%)
- Cash handling and reconciliation
- Delayed revenue recognition
Mitigate COD RTO by verifying orders via automated IVR calls, offering discounts for prepaid payments, and blocking repeat RTO addresses.
Step 6: Product Catalog and Content
Your product catalog directly impacts conversions and SEO:
Product Photography
Invest in quality product images. You need at minimum:
- White background product shots
- Lifestyle images showing products in use
- Multiple angles
- Size reference images for applicable products
Professional product photography costs INR 100 to 500 per product depending on complexity.
Product Descriptions
Write unique descriptions for every product. Avoid copying manufacturer descriptions — duplicate content hurts SEO. Include:
- Key features and benefits
- Specifications (material, dimensions, weight)
- Use cases
- Care instructions
Category Structure
Plan your category hierarchy before adding products. A logical structure helps both users and search engines:
- Maximum 3 levels deep (Category > Subcategory > Product)
- Use clear, keyword-rich category names
- Add category descriptions for SEO
Step 7: SEO and Marketing Setup
An e-commerce website without traffic is just an expense. Set up these marketing foundations before launch:
Technical SEO
- Proper URL structure (
/category/product-name, not/product?id=123) - XML sitemap submitted to Google Search Console
- Schema markup for products (price, availability, reviews)
- Canonical tags to prevent duplicate content
- Fast page load times (under 3 seconds)
- Mobile-optimized experience
Content Marketing
- Start a blog covering topics your customers search for
- Create buying guides and comparison content
- Build FAQ pages for common product questions
Google Merchant Center
List your products on Google Shopping. Free product listings are available in India and drive significant traffic.
Social Commerce
- Set up Instagram Shopping if applicable
- Create WhatsApp Business catalog
- Use Facebook Shops for social selling
Step 8: Launch Checklist
Before going live, verify every item on this list:
- All products have images, descriptions, and correct pricing
- Payment gateway is working with live credentials (not test mode)
- Order confirmation emails are being sent
- Shipping rates and estimated delivery times are accurate
- Return and refund policy is published
- Privacy policy and terms of service are published
- GST details are displayed correctly
- Mobile checkout flow works smoothly
- Site loads in under 3 seconds on 4G connections
- Contact information (phone, email, address) is visible
- Google Analytics and Search Console are configured
- SSL certificate is active (HTTPS)
- 404 page is set up with navigation back to store
- Inventory tracking is enabled to prevent overselling
Common Mistakes to Avoid
- Launching without testing on mobile — over 75% of Indian e-commerce traffic comes from mobile devices
- Ignoring page speed — every additional second of load time reduces conversions by 7%
- Complicated checkout — aim for 3 steps or fewer from cart to order confirmation
- No return policy — Indian consumers are cautious online shoppers. A clear return policy builds trust
- Treating it as a one-time project — e-commerce websites need ongoing optimization, content updates, and feature additions
The Bottom Line
Building an e-commerce website in India is more accessible than ever, but success requires more than just putting products online. The businesses that thrive online are those that invest in user experience, logistics efficiency, and continuous optimization.
Start with the simplest technology that meets your current needs, focus on getting your first 100 orders, and iterate from there. Do not over-engineer the initial version.
At Codingclave, we help Indian businesses build e-commerce platforms across all scales — from Shopify stores to custom-built marketplaces. We handle the technology so you can focus on your products and customers.
Ready to launch your e-commerce website? Get a free consultation — we will help you choose the right approach and provide a detailed roadmap.