Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

fix(vendor): remove customer_group from promotion rule conditions

vholik46b5a427bb89
diff --git a/packages/vendor/src/pages/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx b/packages/vendor/src/pages/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx
index 49fb400d8..6b1332b7b 100644
--- a/packages/vendor/src/pages/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx
+++ b/packages/vendor/src/pages/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx
@@ -45,7 +45,7 @@ export const RulesFormField = ({
const filteredAttributes =
attributes?.filter(
({ id }) =>
- id === "customer_group" || id === "country" || id === "product"
+ id === "country" || id === "product"
) || []
const { fields, append, remove, update, replace } = useFieldArray({