gray-mueller / gray-mueller/home-delivery-app-using-node-js

Enatega Admin Dashboard: Must require addons and options when adding a product on a store

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
bug Enatega Multivendor Admin Dashboard good first issue High Priority
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

When a customer adds a product to the cart from the store, mandatory add-ons and options (e.g., size, color, warranty, etc.) are not enforced as required fields. The system allows the product to be added to the cart without selecting these required options, leading to incomplete product configuration and potential order issues.

### To Reproduce
Steps to reproduce the behavior:

1. Go to 'Enatega Admin Dashboard'
2. Click on 'Store'
3. Now add a product on any store
4. Add its variations there and now the options and add-ons are not must required

### Expected behavior
Add-ons and Options field must be required fields

Desktop (please complete the following information):

> OS: [e.g. Windows]
> Browser [e.g. chrome, ]
> Version [e.g. Latest]

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Enatega Admin Dashboard through Store, product creation, variations, and the add-ons/options fields. Trace the validation used by this flow; it is done when products with mandatory add-ons or options cannot be added without selecting them, while optional fields remain usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.