Skip to content

Product Sizes

Manage product size attributes and size charts for your Litekart store. Size management helps customers find the right fit and improves the shopping experience.

Size Attributes Overview

Product sizes are crucial for apparel, footwear, and other sized products. Litekart provides flexible size management with support for:

  • Standard Sizes: XS, S, M, L, XL, etc.
  • Numeric Sizes: 6, 8, 10, 12, etc.
  • Custom Sizes: Brand-specific sizing
  • Size Charts: Visual size guides
  • Size Recommendations: AI-powered fit suggestions

Creating Size Attributes

Basic Size Setup

  1. Navigate to Products > Attributes
  2. Create new attribute "Size"
  3. Configure size options
json
{
  "name": "Size",
  "type": "select",
  "display_type": "buttons",
  "required": true,
  "options": [
    { "value": "xs", "label": "Extra Small", "sort_order": 1 },
    { "value": "s", "label": "Small", "sort_order": 2 },
    { "value": "m", "label": "Medium", "sort_order": 3 },
    { "value": "l", "label": "Large", "sort_order": 4 },
    { "value": "xl", "label": "Extra Large", "sort_order": 5 },
    { "value": "xxl", "label": "XX Large", "sort_order": 6 }
  ]
}

Size Categories

Organize sizes by category for better management:

json
{
  "size_categories": {
    "apparel": {
      "label": "Clothing Sizes",
      "sizes": ["XS", "S", "M", "L", "XL", "XXL"],
      "measurements": ["chest", "waist", "hips"]
    },
    "footwear": {
      "label": "Shoe Sizes",
      "sizes": ["5", "6", "7", "8", "9", "10", "11", "12"],
      "measurements": ["length", "width"]
    },
    "jewelry": {
      "label": "Ring Sizes",
      "sizes": ["5", "6", "7", "8", "9", "10"],
      "measurements": ["diameter", "circumference"]
    }
  }
}

Size Charts

Creating Size Charts

Size charts help customers find their perfect fit:

  1. Go to Products > Size Charts
  2. Create new size chart
  3. Add measurements and size mappings
json
{
  "name": "Women's T-Shirt Size Chart",
  "category": "apparel",
  "measurements": {
    "chest": {
      "unit": "inches",
      "sizes": {
        "XS": "31-32",
        "S": "33-34",
        "M": "35-36",
        "L": "37-39",
        "XL": "40-42"
      }
    },
    "waist": {
      "unit": "inches",
      "sizes": {
        "XS": "23-24",
        "S": "25-26",
        "M": "27-28",
        "L": "29-31",
        "XL": "32-34"
      }
    }
  }
}

Visual Size Charts

Upload images for visual size guides:

json
{
  "visual_charts": {
    "enabled": true,
    "images": {
      "measurement_guide": "https://example.com/size-guide.jpg",
      "size_chart": "https://example.com/size-chart.png"
    },
    "instructions": "Measure yourself and compare with our size chart"
  }
}

Size Variants

Automatic Variant Generation

Generate product variants based on sizes:

json
{
  "variant_generation": {
    "auto_create": true,
    "size_attribute": "size",
    "pricing": {
      "base_price": 29.99,
      "size_adjustments": {
        "XS": -2.00,
        "S": 0.00,
        "M": 0.00,
        "L": 1.00,
        "XL": 2.00,
        "XXL": 3.00
      }
    }
  }
}

Size-Specific Inventory

Track inventory per size variant:

json
{
  "inventory_tracking": {
    "per_size": true,
    "size_stock": {
      "XS": { "quantity": 25, "low_stock": 5 },
      "S": { "quantity": 40, "low_stock": 8 },
      "M": { "quantity": 35, "low_stock": 7 },
      "L": { "quantity": 20, "low_stock": 4 },
      "XL": { "quantity": 15, "low_stock": 3 }
    }
  }
}

International Sizing

Size Conversions

Support multiple sizing standards:

json
{
  "international_sizing": {
    "conversions": {
      "US": {
        "6": { "UK": "8", "EU": "34", "JP": "7" },
        "8": { "UK": "10", "EU": "36", "JP": "9" },
        "10": { "UK": "12", "EU": "38", "JP": "11" }
      }
    },
    "default_region": "US",
    "show_conversions": true
  }
}

Localized Size Labels

Display sizes in customer's local format:

json
{
  "localized_sizes": {
    "en-US": { "XS": "Extra Small", "S": "Small" },
    "en-GB": { "XS": "Extra Small", "S": "Small" },
    "de-DE": { "XS": "Extra Klein", "S": "Klein" },
    "fr-FR": { "XS": "Très Petit", "S": "Petit" }
  }
}

Size Recommendations

AI-Powered Fit Suggestions

Provide personalized size recommendations:

json
{
  "size_recommendations": {
    "enabled": true,
    "based_on": ["previous_purchases", "body_measurements", "reviews"],
    "confidence_threshold": 0.8,
    "fallback_size": "M"
  }
}

Customer Size Profiles

Allow customers to save their size preferences:

json
{
  "customer_profiles": {
    "enabled": true,
    "measurements": {
      "chest": { "unit": "inches", "required": false },
      "waist": { "unit": "inches", "required": false },
      "hips": { "unit": "inches", "required": false },
      "inseam": { "unit": "inches", "required": false }
    },
    "privacy": {
      "data_retention": "indefinite",
      "share_with_brands": false
    }
  }
}

Size Filtering

Storefront Filters

Configure size filtering on category pages:

json
{
  "size_filtering": {
    "enabled": true,
    "display_type": "buttons", // "buttons", "dropdown", "checkboxes"
    "sort_order": ["XS", "S", "M", "L", "XL", "XXL"],
    "show_unavailable": false,
    "size_groups": {
      "Regular": ["XS", "S", "M", "L", "XL"],
      "Plus": ["1X", "2X", "3X"]
    }
  }
}

Size Availability Display

Show size availability on product pages:

json
{
  "availability_display": {
    "show_stock_levels": true,
    "low_stock_indicator": "Only X left",
    "out_of_stock_sizes": {
      "show": true,
      "strikethrough": true,
      "message": "Out of stock"
    }
  }
}

Bulk Size Operations

Bulk Size Updates

Update sizes across multiple products:

json
{
  "bulk_operations": {
    "enabled": true,
    "operations": [
      "add_sizes",
      "remove_sizes",
      "update_measurements",
      "sync_inventory"
    ],
    "confirmation_required": true,
    "rollback_enabled": true
  }
}

Size Templates

Create reusable size templates:

json
{
  "size_templates": [
    {
      "name": "Standard T-Shirt",
      "category": "apparel",
      "sizes": ["S", "M", "L", "XL", "XXL"],
      "measurements": {
        "chest": ["36-38", "38-40", "40-42", "42-44", "44-46"],
        "length": ["28", "29", "30", "31", "32"]
      }
    }
  ]
}

Size Analytics

Size Performance Tracking

Monitor which sizes sell best:

json
{
  "analytics": {
    "enabled": true,
    "metrics": {
      "size_popularity": true,
      "size_conversion_rates": true,
      "size_returns": true,
      "size_recommendation_accuracy": true
    },
    "reporting": {
      "period": "monthly",
      "export_formats": ["csv", "xlsx"]
    }
  }
}

Size Optimization

Use analytics to optimize size offerings:

json
{
  "optimization": {
    "auto_adjust_inventory": {
      "enabled": false,
      "threshold": 0.7, // reorder when below 70% of average
      "lead_time_days": 14
    },
    "discontinued_sizes": {
      "auto_archive": false,
      "low_sales_threshold": 0, // sales per month
      "inactive_months": 6
    }
  }
}

Size Import/Export

Size Data Import

Import size data from spreadsheets:

json
{
  "import_export": {
    "import": {
      "formats": ["csv", "xlsx"],
      "templates": {
        "size_chart": "size_chart_template.csv",
        "measurements": "measurements_template.csv"
      },
      "validation": {
        "required_fields": ["size", "measurement"],
        "data_types": {
          "measurement": "number"
        }
      }
    }
  }
}

Mobile Optimization

Touch-Friendly Size Selection

Optimize size selection for mobile devices:

json
{
  "mobile_optimization": {
    "touch_targets": {
      "min_size": "44px",
      "spacing": "8px"
    },
    "swipe_gestures": {
      "size_scrolling": true,
      "quick_select": true
    },
    "accessibility": {
      "screen_reader_support": true,
      "high_contrast_support": true
    }
  }
}

Integration with Brands

Brand-Specific Sizing

Support different sizing standards per brand:

json
{
  "brand_integration": {
    "custom_sizing": {
      "enabled": true,
      "brands": {
        "nike": {
          "size_system": "us_shoe",
          "conversion_table": "nike_size_conversion.json"
        },
        "levis": {
          "size_system": "waist_length",
          "custom_measurements": ["waist", "inseam"]
        }
      }
    }
  }
}

Troubleshooting

Common Size Issues

Sizes not displaying correctly

  • Check size attribute configuration
  • Verify product variant setup
  • Review theme customization

Size chart not showing

  • Confirm size chart is assigned to product
  • Check image URLs and permissions
  • Verify chart format compatibility

Size recommendations inaccurate

  • Review customer measurement data
  • Check algorithm parameters
  • Validate training data quality

Size Data Validation

Ensure size data integrity:

sql
-- Check for orphaned size data
SELECT * FROM product_sizes
WHERE product_id NOT IN (SELECT id FROM products);

-- Validate size measurements
SELECT * FROM size_measurements
WHERE measurement_value < 0 OR measurement_value > 500;

Performance Monitoring

Monitor size-related performance:

sql
-- Size query performance
EXPLAIN ANALYZE
SELECT * FROM product_sizes
WHERE product_id = $1;

-- Size chart load times
SELECT avg(load_time) as avg_load_time
FROM size_chart_analytics
WHERE date >= CURRENT_DATE - INTERVAL '30 days';

Best Practices

Size Management Guidelines

  1. Consistent Sizing: Use standard size labels across products
  2. Clear Size Charts: Provide detailed measurement guides
  3. Mobile Friendly: Optimize size selection for mobile users
  4. International Support: Include size conversions for global customers
  5. Regular Updates: Keep size charts current and accurate
  6. Customer Education: Explain sizing and fit information clearly

Performance Optimization

  1. Lazy Load Size Charts: Load size chart images on demand
  2. Cache Size Data: Cache frequently accessed size information
  3. Optimize Images: Compress size chart images for faster loading
  4. Database Indexing: Index size-related database fields
  5. CDN Delivery: Serve size chart images via CDN