E-commerce Domain Knowledge Skill
Purpose
Equip AI assistants with comprehensive e-commerce domain knowledge to analyze requirements, ask relevant questions, and create appropriate solutions for online retail platforms.
E-commerce Business Models
B2C (Business-to-Consumer)
Examples: Amazon, Shopify stores, Nike.com
Characteristics:
- High volume, lower transaction value
- Focus on user experience and conversion
- Marketing and promotions heavy
- Customer reviews and ratings important
- Fast checkout essential
B2B (Business-to-Business)
Examples: Alibaba, ThomasNet, Grainger
Characteristics:
- Lower volume, higher transaction value
- Complex pricing (volume discounts, contracts)
- Quote and RFQ processes
- Account-based purchasing
- Approval workflows
- Net payment terms (Net 30, Net 60)
C2C (Consumer-to-Consumer)
Examples: eBay, Etsy, Facebook Marketplace
Characteristics:
- Platform facilitates transactions between individuals
- Seller verification and ratings critical
- Escrow or payment protection
- Dispute resolution processes
- Commission-based revenue
Marketplace
Examples: Amazon Marketplace, Shopee, Lazada
Characteristics:
- Multiple sellers on one platform
- Seller onboarding and management
- Commission and fee structures
- Inventory from multiple sources
- Seller performance metrics
- Platform vs. seller fulfillment
Core E-commerce Modules
1. Product Catalog Management
Key Concepts:
- Products: Individual items for sale
- Variants: Different versions (size, color, material)
- SKU: Stock Keeping Unit (unique identifier)
- Categories: Hierarchical organization
- Attributes: Product properties (brand, material, dimensions)
- Digital Assets: Images, videos, 360° views, PDFs
Common Requirements:
- Support for simple and configurable products
- Variant management (size, color combinations)
- Bulk product import/export
- Product relationships (upsells, cross-sells, related products)
- Inventory tracking per variant
- Product search and filtering
- SEO-friendly URLs and metadata
Example Requirement:
FR-CAT-001: Configurable Product Variants
System shall support configurable products with multiple variants:
- Product: T-Shirt
- Variant Attributes: Size (S, M, L, XL), Color (Red, Blue, Green)
- Each variant has unique SKU, price, inventory count
- Customer selects variant before adding to cart
- Out-of-stock variants are disabled but visible
2. Shopping Cart
Key Concepts:
- Session Cart: Temporary cart for guest users
- Persistent Cart: Saved cart for logged-in users
- Cart Abandonment: User leaves without purchasing
- Cart Recovery: Email reminders for abandoned carts
Common Requirements:
- Add/remove/update items
- Real-time inventory validation
- Cart expiration and cleanup
- Save cart for later
- Cart sharing (B2B)
- Mini cart preview
- Cart abandonment tracking
Business Rules:
- Reserve inventory when item added to cart (time-limited)
- Remove out-of-stock items automatically
- Apply quantity limits per product
- Minimum order value requirements
- Maximum cart size limits
3. Checkout & Payment
Checkout Flow Types:
- Single-Page: All steps on one page (modern, higher conversion)
- Multi-Step: Separate pages for shipping, payment, review
- Express Checkout: One-click with saved payment (Amazon, Apple Pay)
Key Features:
- Guest checkout
- Address validation and autocomplete
- Multiple shipping addresses (gift orders)
- Shipping method selection with real-time pricing
- Payment method selection
- Order review before submission
- Order confirmation
Payment Methods:
- Credit/Debit cards (Visa, Mastercard, Amex)
- Digital wallets (PayPal, Apple Pay, Google Pay)
- Buy Now Pay Later (Klarna, Afterpay, Affirm)
- Bank transfer
- Cash on Delivery (COD)
- Cryptocurrency (emerging)
Payment Gateway Integration:
- Stripe: Popular, developer-friendly, global
- PayPal: Trusted, high adoption, buyer protection
- Square: Good for omnichannel (online + POS)
- Adyen: Enterprise, multi-currency, global
- Local Gateways: VNPay (Vietnam), Razorpay (India)
Security Requirements:
- PCI DSS compliance (never store card numbers)
- 3D Secure authentication (SCA in Europe)
- Fraud detection and prevention
- SSL/TLS encryption
- Tokenization for saved cards
4. Order Management
Order Lifecycle:
Pending → Processing → Shipped → Delivered → Completed
↓
Cancelled (before shipping)
↓
Returned (after delivery)
Key Features:
- Order creation and confirmation
- Order status tracking
- Order history for customers
- Order search and filtering
- Order details (items, shipping, payment)
- Invoice generation
- Packing slips
- Shipping labels
- Order cancellation (before shipping)
- Order modification (limited)
Admin Features:
- Order dashboard
- Bulk order processing
- Order export (CSV, Excel)
- Refund processing
- Order notes and communication
5. Inventory Management
Inventory Tracking Methods:
- Real-time: Inventory updated immediately on order
- Batch: Inventory updated periodically
- Reserved: Inventory reserved when added to cart
Key Concepts:
- Stock Level: Current quantity available
- Low Stock Threshold: Alert when inventory low
- Backorder: Allow orders when out of stock
- Pre-order: Accept orders before product available
- Multi-warehouse: Inventory across multiple locations
Common Requirements:
- Real-time inventory updates
- Low stock alerts
- Backorder management
- Inventory reservations
- Multi-warehouse support
- Inventory sync with ERP/WMS
- Inventory reports and forecasting
6. Shipping & Fulfillment
Shipping Options:
- Standard shipping (5-7 days)
- Express shipping (2-3 days)
- Overnight shipping (1 day)
- In-store pickup (BOPIS - Buy Online Pickup In Store)
- Curbside pickup
- Same-day delivery (urban areas)
Shipping Calculation Methods:
- Flat Rate: Fixed price per order
- Weight-Based: Price based on total weight
- Price-Based: Free shipping over threshold
- Real-time Carrier Rates: API integration with carriers
- Zone-Based: Price by destination zone
Carrier Integrations:
- USPS, UPS, FedEx, DHL (US/Global)
- Local carriers (Giao Hàng Nhanh, J&T Vietnam)
- Shipping aggregators (ShipStation, EasyShip)
Tracking:
- Tracking number generation
- Real-time tracking updates
- Customer tracking page
- Email/SMS notifications
- Delivery confirmation
7. Promotions & Discounts
Promotion Types:
- Percentage Off: 20% off entire order
- Fixed Amount: $10 off orders over $50
- Buy X Get Y: Buy 2 get 1 free
- Free Shipping: Free shipping over $100
- Bundle Deals: Product bundles at discount
- Flash Sales: Time-limited offers
- Loyalty Rewards: Points-based discounts
Promo Code Features:
- Single-use vs. multi-use codes
- Usage limits per customer
- Expiration dates
- Minimum order value
- Specific products/categories
- Stackable vs. non-stackable
Business Rules:
- Discount application order (product → cart → shipping)
- Exclusions (sale items, specific brands)
- Limit one promo code per order
- Employee discounts
- Automatic discounts vs. code-required
8. Customer Management
Customer Data:
- Account information (name, email, phone)
- Shipping addresses (multiple)
- Billing addresses
- Order history
- Wishlist
- Saved payment methods
- Preferences and settings
Customer Segmentation:
- New vs. returning customers
- VIP/high-value customers
- Inactive customers (re-engagement)
- Geographic segments
- Purchase behavior segments
Loyalty Programs:
- Points accumulation
- Tier-based benefits (Silver, Gold, Platinum)
- Rewards redemption
- Referral programs
- Birthday rewards
9. Search & Navigation
Search Features:
- Keyword search
- Autocomplete suggestions
- Search results ranking (relevance, popularity, price)
- Filters (price, brand, category, rating, availability)
- Faceted search (multi-select filters)
- Search analytics (popular searches, no-results searches)
Navigation:
- Category hierarchy (mega menu)
- Breadcrumbs
- Related products
- Recently viewed
- Trending products
Search Technologies:
- Elasticsearch (powerful, scalable)
- Algolia (fast, typo-tolerant, hosted)
- Solr (open-source, enterprise)
10. Reviews & Ratings
Features:
- Star ratings (1-5 stars)
- Written reviews
- Review photos/videos
- Verified purchase badge
- Helpful votes
- Review moderation
- Response from seller
- Review incentives
Business Value:
- Increase conversion (social proof)
- Improve SEO (user-generated content)
- Product feedback for improvement
- Build trust and credibility
Customer Journey
Awareness → Consideration → Purchase → Retention
1. Awareness:
- SEO and content marketing
- Social media advertising
- Email marketing
- Affiliate marketing
2. Consideration:
- Product browsing
- Search and filtering
- Product comparison
- Reviews and ratings
- Wishlist
3. Purchase:
- Add to cart
- Checkout
- Payment
- Order confirmation
4. Retention:
- Order tracking
- Delivery
- Post-purchase email
- Review request
- Loyalty program
- Re-engagement campaigns
Key Metrics (KPIs)
Conversion Metrics
- Conversion Rate: (Orders / Visitors) × 100
- Cart Abandonment Rate: (Carts Created - Orders) / Carts Created × 100
- Average Order Value (AOV): Total Revenue / Number of Orders
- Revenue Per Visitor (RPV): Total Revenue / Total Visitors
Customer Metrics
- Customer Acquisition Cost (CAC): Marketing Spend / New Customers
- Customer Lifetime Value (LTV): Average Order Value × Purchase Frequency × Customer Lifespan
- Repeat Purchase Rate: Repeat Customers / Total Customers × 100
- Customer Retention Rate: ((CE - CN) / CS) × 100
Product Metrics
- Best Sellers: Top products by revenue or units
- Product Views: Page views per product
- Add-to-Cart Rate: Add to Cart / Product Views × 100
- Return Rate: Returns / Orders × 100
Operational Metrics
- Order Fulfillment Time: Time from order to shipment
- Inventory Turnover: Cost of Goods Sold / Average Inventory
- Stock-out Rate: Out of Stock Events / Total Products × 100
Common Requirements Patterns
Mobile Commerce (M-commerce)
- Responsive design (mobile-first)
- Touch-optimized UI
- Mobile payment methods (Apple Pay, Google Pay)
- Progressive Web App (PWA)
- Native mobile app
- Push notifications
- Offline browsing
Internationalization
- Multi-currency support
- Multi-language support
- Country-specific payment methods
- International shipping
- Tax calculation by country
- Localized content
Omnichannel
- Unified inventory across channels
- Buy online, pickup in store (BOPIS)
- Return online purchases in store
- Consistent pricing across channels
- Cross-channel customer data
Integration Points
Common Integrations
- Payment Gateway: Stripe, PayPal, Adyen
- Shipping: ShipStation, EasyShip, carrier APIs
- ERP: SAP, Oracle, NetSuite (inventory, orders)
- CRM: Salesforce, HubSpot (customer data)
- Email Marketing: Mailchimp, Klaviyo
- Analytics: Google Analytics, Mixpanel
- Reviews: Yotpo, Trustpilot
- Live Chat: Zendesk, Intercom
- Accounting: QuickBooks, Xero
Questions to Ask Stakeholders
Business Model
- What type of e-commerce? (B2C, B2B, Marketplace)
- Who are your target customers?
- What's your average order value?
- What's your current conversion rate?
Products
- How many products/SKUs?
- Simple or configurable products?
- Digital or physical products?
- How often do products change?
Checkout
- Guest checkout allowed?
- What payment methods?
- What shipping options?
- International shipping?
Integration
- Existing systems to integrate?
- ERP or inventory system?
- CRM system?
- Email marketing platform?
Scale
- Expected traffic?
- Peak season considerations?
- Number of orders per day?
- Growth projections?
References
- Shopify E-commerce Blog
- BigCommerce Resources
- Baymard Institute (UX research)
- E-commerce Platforms documentation
1---2name: e-commerce-domain-knowledge3description: Understand e-commerce business models, core modules, and requirements patterns for B2C, B2B, C2C, and Marketplace platforms4---56# E-commerce Domain Knowledge Skill78## Purpose9Equip AI assistants with comprehensive e-commerce domain knowledge to analyze requirements, ask relevant questions, and create appropriate solutions for online retail platforms.1011## E-commerce Business Models1213### B2C (Business-to-Consumer)14**Examples**: Amazon, Shopify stores, Nike.com15**Characteristics**:16- High volume, lower transaction value17- Focus on user experience and conversion18- Marketing and promotions heavy19- Customer reviews and ratings important20- Fast checkout essential2122### B2B (Business-to-Business)23**Examples**: Alibaba, ThomasNet, Grainger24**Characteristics**:25- Lower volume, higher transaction value26- Complex pricing (volume discounts, contracts)27- Quote and RFQ processes28- Account-based purchasing29- Approval workflows30- Net payment terms (Net 30, Net 60)3132### C2C (Consumer-to-Consumer)33**Examples**: eBay, Etsy, Facebook Marketplace34**Characteristics**:35- Platform facilitates transactions between individuals36- Seller verification and ratings critical37- Escrow or payment protection38- Dispute resolution processes39- Commission-based revenue4041### Marketplace42**Examples**: Amazon Marketplace, Shopee, Lazada43**Characteristics**:44- Multiple sellers on one platform45- Seller onboarding and management46- Commission and fee structures47- Inventory from multiple sources48- Seller performance metrics49- Platform vs. seller fulfillment5051## Core E-commerce Modules5253### 1. Product Catalog Management5455**Key Concepts**:56- **Products**: Individual items for sale57- **Variants**: Different versions (size, color, material)58- **SKU**: Stock Keeping Unit (unique identifier)59- **Categories**: Hierarchical organization60- **Attributes**: Product properties (brand, material, dimensions)61- **Digital Assets**: Images, videos, 360° views, PDFs6263**Common Requirements**:64- Support for simple and configurable products65- Variant management (size, color combinations)66- Bulk product import/export67- Product relationships (upsells, cross-sells, related products)68- Inventory tracking per variant69- Product search and filtering70- SEO-friendly URLs and metadata7172**Example Requirement**:73```74FR-CAT-001: Configurable Product Variants7576System shall support configurable products with multiple variants:77- Product: T-Shirt78- Variant Attributes: Size (S, M, L, XL), Color (Red, Blue, Green)79- Each variant has unique SKU, price, inventory count80- Customer selects variant before adding to cart81- Out-of-stock variants are disabled but visible82```8384### 2. Shopping Cart8586**Key Concepts**:87- **Session Cart**: Temporary cart for guest users88- **Persistent Cart**: Saved cart for logged-in users89- **Cart Abandonment**: User leaves without purchasing90- **Cart Recovery**: Email reminders for abandoned carts9192**Common Requirements**:93- Add/remove/update items94- Real-time inventory validation95- Cart expiration and cleanup96- Save cart for later97- Cart sharing (B2B)98- Mini cart preview99- Cart abandonment tracking100101**Business Rules**:102- Reserve inventory when item added to cart (time-limited)103- Remove out-of-stock items automatically104- Apply quantity limits per product105- Minimum order value requirements106- Maximum cart size limits107108### 3. Checkout & Payment109110**Checkout Flow Types**:111- **Single-Page**: All steps on one page (modern, higher conversion)112- **Multi-Step**: Separate pages for shipping, payment, review113- **Express Checkout**: One-click with saved payment (Amazon, Apple Pay)114115**Key Features**:116- Guest checkout117- Address validation and autocomplete118- Multiple shipping addresses (gift orders)119- Shipping method selection with real-time pricing120- Payment method selection121- Order review before submission122- Order confirmation123124**Payment Methods**:125- Credit/Debit cards (Visa, Mastercard, Amex)126- Digital wallets (PayPal, Apple Pay, Google Pay)127- Buy Now Pay Later (Klarna, Afterpay, Affirm)128- Bank transfer129- Cash on Delivery (COD)130- Cryptocurrency (emerging)131132**Payment Gateway Integration**:133- **Stripe**: Popular, developer-friendly, global134- **PayPal**: Trusted, high adoption, buyer protection135- **Square**: Good for omnichannel (online + POS)136- **Adyen**: Enterprise, multi-currency, global137- **Local Gateways**: VNPay (Vietnam), Razorpay (India)138139**Security Requirements**:140- PCI DSS compliance (never store card numbers)141- 3D Secure authentication (SCA in Europe)142- Fraud detection and prevention143- SSL/TLS encryption144- Tokenization for saved cards145146### 4. Order Management147148**Order Lifecycle**:149```150Pending → Processing → Shipped → Delivered → Completed151 ↓152 Cancelled (before shipping)153 ↓154 Returned (after delivery)155```156157**Key Features**:158- Order creation and confirmation159- Order status tracking160- Order history for customers161- Order search and filtering162- Order details (items, shipping, payment)163- Invoice generation164- Packing slips165- Shipping labels166- Order cancellation (before shipping)167- Order modification (limited)168169**Admin Features**:170- Order dashboard171- Bulk order processing172- Order export (CSV, Excel)173- Refund processing174- Order notes and communication175176### 5. Inventory Management177178**Inventory Tracking Methods**:179- **Real-time**: Inventory updated immediately on order180- **Batch**: Inventory updated periodically181- **Reserved**: Inventory reserved when added to cart182183**Key Concepts**:184- **Stock Level**: Current quantity available185- **Low Stock Threshold**: Alert when inventory low186- **Backorder**: Allow orders when out of stock187- **Pre-order**: Accept orders before product available188- **Multi-warehouse**: Inventory across multiple locations189190**Common Requirements**:191- Real-time inventory updates192- Low stock alerts193- Backorder management194- Inventory reservations195- Multi-warehouse support196- Inventory sync with ERP/WMS197- Inventory reports and forecasting198199### 6. Shipping & Fulfillment200201**Shipping Options**:202- Standard shipping (5-7 days)203- Express shipping (2-3 days)204- Overnight shipping (1 day)205- In-store pickup (BOPIS - Buy Online Pickup In Store)206- Curbside pickup207- Same-day delivery (urban areas)208209**Shipping Calculation Methods**:210- **Flat Rate**: Fixed price per order211- **Weight-Based**: Price based on total weight212- **Price-Based**: Free shipping over threshold213- **Real-time Carrier Rates**: API integration with carriers214- **Zone-Based**: Price by destination zone215216**Carrier Integrations**:217- USPS, UPS, FedEx, DHL (US/Global)218- Local carriers (Giao Hàng Nhanh, J&T Vietnam)219- Shipping aggregators (ShipStation, EasyShip)220221**Tracking**:222- Tracking number generation223- Real-time tracking updates224- Customer tracking page225- Email/SMS notifications226- Delivery confirmation227228### 7. Promotions & Discounts229230**Promotion Types**:231- **Percentage Off**: 20% off entire order232- **Fixed Amount**: $10 off orders over $50233- **Buy X Get Y**: Buy 2 get 1 free234- **Free Shipping**: Free shipping over $100235- **Bundle Deals**: Product bundles at discount236- **Flash Sales**: Time-limited offers237- **Loyalty Rewards**: Points-based discounts238239**Promo Code Features**:240- Single-use vs. multi-use codes241- Usage limits per customer242- Expiration dates243- Minimum order value244- Specific products/categories245- Stackable vs. non-stackable246247**Business Rules**:248- Discount application order (product → cart → shipping)249- Exclusions (sale items, specific brands)250- Limit one promo code per order251- Employee discounts252- Automatic discounts vs. code-required253254### 8. Customer Management255256**Customer Data**:257- Account information (name, email, phone)258- Shipping addresses (multiple)259- Billing addresses260- Order history261- Wishlist262- Saved payment methods263- Preferences and settings264265**Customer Segmentation**:266- New vs. returning customers267- VIP/high-value customers268- Inactive customers (re-engagement)269- Geographic segments270- Purchase behavior segments271272**Loyalty Programs**:273- Points accumulation274- Tier-based benefits (Silver, Gold, Platinum)275- Rewards redemption276- Referral programs277- Birthday rewards278279### 9. Search & Navigation280281**Search Features**:282- Keyword search283- Autocomplete suggestions284- Search results ranking (relevance, popularity, price)285- Filters (price, brand, category, rating, availability)286- Faceted search (multi-select filters)287- Search analytics (popular searches, no-results searches)288289**Navigation**:290- Category hierarchy (mega menu)291- Breadcrumbs292- Related products293- Recently viewed294- Trending products295296**Search Technologies**:297- Elasticsearch (powerful, scalable)298- Algolia (fast, typo-tolerant, hosted)299- Solr (open-source, enterprise)300301### 10. Reviews & Ratings302303**Features**:304- Star ratings (1-5 stars)305- Written reviews306- Review photos/videos307- Verified purchase badge308- Helpful votes309- Review moderation310- Response from seller311- Review incentives312313**Business Value**:314- Increase conversion (social proof)315- Improve SEO (user-generated content)316- Product feedback for improvement317- Build trust and credibility318319## Customer Journey320321### Awareness → Consideration → Purchase → Retention322323**1. Awareness**:324- SEO and content marketing325- Social media advertising326- Email marketing327- Affiliate marketing328329**2. Consideration**:330- Product browsing331- Search and filtering332- Product comparison333- Reviews and ratings334- Wishlist335336**3. Purchase**:337- Add to cart338- Checkout339- Payment340- Order confirmation341342**4. Retention**:343- Order tracking344- Delivery345- Post-purchase email346- Review request347- Loyalty program348- Re-engagement campaigns349350## Key Metrics (KPIs)351352### Conversion Metrics353- **Conversion Rate**: (Orders / Visitors) × 100354- **Cart Abandonment Rate**: (Carts Created - Orders) / Carts Created × 100355- **Average Order Value (AOV)**: Total Revenue / Number of Orders356- **Revenue Per Visitor (RPV)**: Total Revenue / Total Visitors357358### Customer Metrics359- **Customer Acquisition Cost (CAC)**: Marketing Spend / New Customers360- **Customer Lifetime Value (LTV)**: Average Order Value × Purchase Frequency × Customer Lifespan361- **Repeat Purchase Rate**: Repeat Customers / Total Customers × 100362- **Customer Retention Rate**: ((CE - CN) / CS) × 100363364### Product Metrics365- **Best Sellers**: Top products by revenue or units366- **Product Views**: Page views per product367- **Add-to-Cart Rate**: Add to Cart / Product Views × 100368- **Return Rate**: Returns / Orders × 100369370### Operational Metrics371- **Order Fulfillment Time**: Time from order to shipment372- **Inventory Turnover**: Cost of Goods Sold / Average Inventory373- **Stock-out Rate**: Out of Stock Events / Total Products × 100374375## Common Requirements Patterns376377### Mobile Commerce (M-commerce)378- Responsive design (mobile-first)379- Touch-optimized UI380- Mobile payment methods (Apple Pay, Google Pay)381- Progressive Web App (PWA)382- Native mobile app383- Push notifications384- Offline browsing385386### Internationalization387- Multi-currency support388- Multi-language support389- Country-specific payment methods390- International shipping391- Tax calculation by country392- Localized content393394### Omnichannel395- Unified inventory across channels396- Buy online, pickup in store (BOPIS)397- Return online purchases in store398- Consistent pricing across channels399- Cross-channel customer data400401## Integration Points402403### Common Integrations404- **Payment Gateway**: Stripe, PayPal, Adyen405- **Shipping**: ShipStation, EasyShip, carrier APIs406- **ERP**: SAP, Oracle, NetSuite (inventory, orders)407- **CRM**: Salesforce, HubSpot (customer data)408- **Email Marketing**: Mailchimp, Klaviyo409- **Analytics**: Google Analytics, Mixpanel410- **Reviews**: Yotpo, Trustpilot411- **Live Chat**: Zendesk, Intercom412- **Accounting**: QuickBooks, Xero413414## Questions to Ask Stakeholders415416### Business Model417- What type of e-commerce? (B2C, B2B, Marketplace)418- Who are your target customers?419- What's your average order value?420- What's your current conversion rate?421422### Products423- How many products/SKUs?424- Simple or configurable products?425- Digital or physical products?426- How often do products change?427428### Checkout429- Guest checkout allowed?430- What payment methods?431- What shipping options?432- International shipping?433434### Integration435- Existing systems to integrate?436- ERP or inventory system?437- CRM system?438- Email marketing platform?439440### Scale441- Expected traffic?442- Peak season considerations?443- Number of orders per day?444- Growth projections?445446## References447448- Shopify E-commerce Blog449- BigCommerce Resources450- Baymard Institute (UX research)451- E-commerce Platforms documentation