| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <?php
- /**
- * Asteria (Magento 1.x) → Bagisto migration.
- *
- * Product settings mirror shell/migrate_to_bagisto.php in the Asteria repo.
- */
- return [
- 'products' => [
- 'media_base_url' => env('ASTERIA_MEDIA_BASE_URL', 'https://img.asteriahair.com/media/catalog/product'),
- 'store_media_url' => env('ASTERIA_STORE_MEDIA_URL', 'https://img.asteriahair.com/media/'),
- // Empty = every Bagisto channel. Comma-separated codes override, e.g. default,eu
- 'channels' => array_values(array_filter(array_map(
- 'trim',
- explode(',', (string) env('ASTERIA_CHANNELS', ''))
- ))),
- // Optional single-code override used only when `channels` is empty.
- 'channel' => env('ASTERIA_CHANNEL', ''),
- // Empty = every locale attached to the selected channels.
- 'locales' => array_values(array_filter(array_map(
- 'trim',
- explode(',', (string) env('ASTERIA_LOCALES', ''))
- ))),
- 'locale' => env('ASTERIA_LOCALE', 'en'),
- // Bagisto attribute family code (catalog:sync uses "wigs"; the Magento export used "variant_product")
- 'attribute_family' => env('ASTERIA_ATTRIBUTE_FAMILY', 'wigs'),
- 'base_attributes' => [
- 'name', 'short_description', 'description',
- 'price', 'special_price', 'cost', 'weight',
- 'meta_title', 'meta_keyword', 'meta_description',
- 'url_key', 'status',
- ],
- 'include_eav_attributes' => [
- 'feature', 'gmc_color', 'gmc_product_type',
- 'hair_closure', 'hair_colorr', 'hair_density',
- 'hair_wavy', 'human_hair_type',
- 'lace_color', 'lace_sizes',
- 'sale_num', 'texturee',
- 'video', 'alone',
- ],
- // Empty = every drop_down / radio option except skip_option_titles
- 'variant_option_titles' => [],
- 'skip_option_titles' => [
- 'Lace', 'Wig Type', 'Shipping Option', 'Construction', 'Free Gift',
- 'Headband Color', 'Color', 'Customized Product', 'X-Mas Gift Random?',
- 'Custom Item', 'Hair Type', 'Layering Option', '4C Hairline', 'Customize Item',
- 'Free Headband', 'Hair Parting Styles', 'Limited Design',
- 'Mannequin Head', 'Texture', 'Time', 'Trim the Ends (Optional)', 'U Part Open Size',
- 'Wig Color', 'Wig Style',
- ],
- 'max_variants_warn' => 500,
- 'enabled_status' => 1,
- ],
- ];
|