Product Overview
Each product in OpenCart contains comprehensive information including:- Basic information (name, model, SKU)
- Pricing and tax settings
- Images and media
- Descriptions and specifications
- Stock management
- Product options and variations
- SEO settings
- Related products and categories
Creating a New Product
Required Product Information
Basic Product Data Structure
Product Descriptions
Products support multi-language descriptions:Product Description Structure
Product Description Structure
Product Identifiers
OpenCart supports multiple product identification codes:Product identifiers can have custom validation rules defined via regular expressions. Invalid codes will be rejected during product save.
Stock Management
Inventory Tracking
Configure how OpenCart tracks product inventory:- Quantity - Current stock level
- Minimum Quantity - Minimum order quantity
- Subtract Stock - Enable/disable automatic stock deduction
- Stock Status - Status shown when out of stock
- Location - Physical warehouse location
Stock Status Configuration
Product Images
Main Product Image
Each product has one main image displayed on category and search pages:Additional Product Images
Add multiple images for product galleries:Images are stored in the
/image/ directory. Use the resize functionality in model/tool/image to generate thumbnails automatically.Product Options
Create product variations using options:Option Types
- Select - Dropdown selection
- Radio - Radio button selection
- Checkbox - Multiple selections allowed
- Text - Custom text input
- Textarea - Multi-line text input
- File - File upload
- Date - Date picker
- Time - Time picker
- Datetime - Date and time picker
Product Option Configuration Example
Product Option Configuration Example
Product Variants
OpenCart supports product variants through the master product system:Creating Variants
- Create a master product with options (e.g., T-Shirt with size and color)
- Add variants for specific combinations (e.g., Red T-Shirt - Size L)
- Each variant can have unique SKU, price, and stock
Product Categories
Assign products to multiple categories:Products can belong to multiple categories. The product will appear in all assigned categories on the storefront.
Product Attributes
Define product specifications using attributes:Product Discounts
Create quantity-based pricing tiers:Discount Configuration
Discount Configuration
Related Products
Link related products for cross-selling:Reward Points
Configure reward points per customer group:SEO Configuration
Create search engine friendly URLs:Product Filters
The product listing page supports comprehensive filtering:Available Filters
filter_name- Search by product namefilter_model- Search by model numberfilter_category_id- Filter by categoryfilter_manufacturer_id- Filter by manufacturerfilter_price_from/filter_price_to- Price rangefilter_quantity_from/filter_quantity_to- Stock rangefilter_store_id- Filter by storefilter_language_id- Filter by languagefilter_status- Show enabled/disabled products
Bulk Operations
Available Actions
Copy Products
Duplicate products with all settings and relationships
Enable/Disable
Bulk enable or disable multiple products
Delete Products
Remove multiple products at once
Export Data
Export product data for backup or migration
When copying products, all related data (descriptions, images, categories, options) are duplicated. SEO URLs are not copied to prevent conflicts.
Best Practices
- Use Clear Model Numbers - Create consistent SKU patterns
- Enable Stock Tracking - Set subtract to 1 for inventory management
- Add Multiple Images - Show products from different angles
- Write Detailed Descriptions - Include specifications and benefits
- Configure SEO Settings - Create unique, keyword-rich URLs
- Set Appropriate Options - Use options for variations instead of separate products
- Link Related Products - Increase cross-selling opportunities
- Use Attributes - Define technical specifications for comparison
- Configure Discounts - Set quantity-based pricing tiers
- Test Product Pages - Verify all features work correctly before launching
Technical Reference
Controller
Location:/upload/admin/controller/catalog/product.php
Key methods:
index()- Display product listingform()- Show add/edit product formsave()- Save product datadelete()- Delete productscopy()- Copy productsenable()/disable()- Toggle product status
Model
Location:/upload/admin/model/catalog/product.php
Key methods:
addProduct()- Create new producteditProduct()- Update productdeleteProduct()- Remove productgetProduct()- Fetch product datagetProducts()- Get product list with filters
Related Documentation
- Catalog Overview - Overall catalog management
- Category Management - Organizing products
- Order Management - Processing product orders

