| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <?php
- return [
- /*
- |--------------------------------------------------------------------------
- | Flexible Variant Configuration
- |--------------------------------------------------------------------------
- |
- | Configuration for the Flexible Variant product type
- |
- */
- /*
- * Enable or disable flexible variant functionality
- */
- 'enabled' => env('FLEXIBLE_VARIANT_ENABLED', true),
- /*
- * Default option types
- */
- 'option_types' => [
- 'select' => 'Select Dropdown',
- 'radio' => 'Radio Buttons',
- 'checkbox' => 'Checkboxes',
- 'color' => 'Color Swatches',
- 'button' => 'Button Select',
- ],
- /*
- * Auto-generate variant SKU based on parent SKU + option codes
- */
- 'auto_generate_sku' => env('FLEXIBLE_VARIANT_AUTO_SKU', false),
- /*
- * SKU separator for auto-generated SKUs
- * Example: PARENT-SKU-RED-LARGE
- */
- 'sku_separator' => '-',
- /*
- * Default sort order for new variants
- */
- 'default_sort_order' => 0,
- /*
- * Enable soft deletes for variants
- */
- 'soft_delete' => true,
- /*
- * Maximum number of options per product
- */
- 'max_options_per_product' => 10,
- /*
- * Maximum number of values per option
- */
- 'max_values_per_option' => 50,
- /*
- * Maximum number of variants per product
- */
- 'max_variants_per_product' => 500,
- /*
- * Default image placeholder for variants without images
- */
- 'default_variant_image' => null,
- /*
- * Enable inventory tracking for variants
- */
- 'track_inventory' => true,
- /*
- * Allow backorders for out-of-stock variants
- */
- 'allow_backorders' => false,
- /*
- * Automatically disable variants when quantity reaches zero
- */
- 'auto_disable_on_zero_stock' => false,
- ];
|