On product summary page if a product doesn't have exact "Color" and "Size" feature attributes, the variant selector doesn't work. Users have no way to switch between products then. Hence Implemented support for dynamic features for product variants in product summary page.
Removed the hardcoded logic for "color" and "size" attributes.
Written logic to display only the next available features based on features available as of now.
Written logic to update variant based on selected features dynamically.
Screenshots of Visual Changes before/after (If There Are Any)
IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance
Related Issues
Closes #166
Short Description and Why It's Useful
On product summary page if a product doesn't have exact "Color" and "Size" feature attributes, the variant selector doesn't work. Users have no way to switch between products then. Hence Implemented support for dynamic features for product variants in product summary page.
Screenshots of Visual Changes before/after (If There Are Any)
IMPORTANT NOTICE - Remember to update
CHANGELOG.md
with description of your changeContribution and Currently Important Rules Acceptance