You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In the current Vendure implementation, product options and option groups are not channel-aware. Our production data analysis shows severe data duplication:
From 1.3M product options, 1.17M (88.7%) are duplicates
From 263K option groups, 263.9K (99.9%) are duplicates
From 10.2M option translations, 10.1M (98.3%) are duplicates
From 2.6M option group translations, 2.63M (99.9%) are duplicates
This leads to:
Massive database bloat
Performance degradation due to duplicate data
Maintenance overhead when updating options across channels
Consistency issues when managing the same options in different channels
Describe the solution you'd like
Make ProductOptionGroup, ProductOptionGroupTranslation, ProductOption, and ProductOptionTranslation entities channel-aware by:
Adding Many-to-Many relationships with Channel entity
Updating GraphQL schema to support channel operations
Providing migration path for existing data
Updating admin UI to support channel-specific option management
This would allow users to manage options per channel without creating duplicates.
Additional context
SQL query used for analysis:
SELECT
(SELECTCOUNT(*) FROM product_option) AS product_option,
(SELECTCOUNT(*) FROM product_option_translation) AS product_option_translation,
(SELECTCOUNT(*) FROM product_option_group) AS product_option_group,
(SELECTCOUNT(*) FROM product_option_group_translation) AS product_option_group_translation,
(SELECTCOUNT(*) -COUNT(DISTINCT code) FROM product_option) AS duplicate_codes_in_product_option,
(SELECTCOUNT(*) -COUNT(DISTINCT code) FROM product_option_group) AS duplicate_codes_in_product_option_group,
(SELECTCOUNT(*) -COUNT(DISTINCT name) FROM product_option_translation) AS duplicate_names_in_product_option_translation,
(SELECTCOUNT(*) -COUNT(DISTINCT name) FROM product_option_group_translation) AS duplicate_names_in_product_option_group_translation;
Is your feature request related to a problem? Please describe.
In the current Vendure implementation, product options and option groups are not channel-aware. Our production data analysis shows severe data duplication:
This leads to:
Describe the solution you'd like
Make ProductOptionGroup, ProductOptionGroupTranslation, ProductOption, and ProductOptionTranslation entities channel-aware by:
This would allow users to manage options per channel without creating duplicates.
Additional context
SQL query used for analysis:
Results showing the scale of duplication:
The text was updated successfully, but these errors were encountered: