-
Notifications
You must be signed in to change notification settings - Fork 216
Description
Is your feature request related to a problem? Please describe.
Currently, Dokan shows all WooCommerce attributes to vendors, regardless of which category they choose when creating a product. This can be confusing and time-consuming for vendors, especially on large marketplaces.
The requested feature is to use WooCommerce’s existing product attributes, but allow marketplace admins to map attributes to categories so that only relevant ones are shown.
Describe the solution you'd like
Admin Functionality:
Add a new settings screen (or extend category edit screen) to allow mapping WooCommerce attributes to product categories.
Example setup:
Shoes: Color, Size, Type
Furniture: Material, Dimensions, Color
Electronics: Brand, Model, Warranty
Attributes should remain standard WooCommerce attributes for maximum compatibility.
Support mapping attributes to multiple categories if needed.
Vendor Functionality:
When vendors create or edit a product:
After selecting a category, only the attributes mapped to that category should appear dynamically.
If the vendor changes the category, the attributes update without reloading the page.
This makes the product creation form cleaner and prevents irrelevant data entry.
Frontend Functionality:
Provide a Dokan widget/block that displays the attributes relevant to the current category as filters.
Buyers should see only those filters that make sense for the selected category.
The widget should integrate with WooCommerce layered navigation for compatibility with themes and search.
Example:
On the “Shoes” category page → filters show Color, Size, Type.
On “Furniture” → filters show Material, Dimensions, Color.
Describe alternatives you've considered
No response
Additional context
Benefits:
Better vendor experience: Fewer fields, less confusion, faster product creation.
Better buyer experience: More relevant and dynamic filtering, easier product discovery.
More consistent product data: Prevents vendors from misusing attributes.
WooCommerce compatible: Uses the native attribute system for maximum flexibility.