Comments (14)
Hi, I'd like to work on this feature
from freshcomm.
Hi, @Potato-29 Could you explain your approach to solving this problem?
from freshcomm.
I'm thinking firstly I'll remove the issue where if the admin adds for example 100kg then the selection has 100 options as kgs
then, I'm thinking something like fixed weight for veggies (250g, 500g, 1kg, 2kg, 5kg)
then, the measuring unit changing as per the product so if its oil then it changes to litres and so on
and all of this will be data that can be sent to the databse
from freshcomm.
Hey, @Potato-29 You can neglect the unexpected behavior rendering 1 to 100. Because you're going to build from scratch. As I explained in the problem statement we need two inputs for a product. One is pre-defined quantities and the other one is the actual quantity. The actual quantity is an integer. I highly encourage you to again go through the problem statement and raise queries (if any) before working on this feature.
from freshcomm.
@roopeshsn, if this is still open can I work on it? I would start with adding 2 input fields for the item, one would be dropdown of fixed quantity and other will be the user requested quantity of type text (number).
from freshcomm.
Hi, @akshat-rawat Have you gone through my intuition and what I want to be done through the above problem statement and conversations? What's your approach on the backend to implement this functionality?
from freshcomm.
Hi @roopeshsn, In backend we have to add a column availableQuantities
which will tell that the items is available in what all quantities like for 1kg, 2kg or in 500ml, 1 L and so on. Then we can have a dropdown menu for the same.
from freshcomm.
So is that an array of quantities or what? We have a page for admins to add products. How will you take care of that?
from freshcomm.
In that case, the admins will have the option to add the availableQuantities
which will be saved as an array in backend.
from freshcomm.
Will you take care of the product admin page too?
from freshcomm.
from freshcomm.
Go ahead @akshat-rawat
from freshcomm.
Hi, @akshat-rawat Any updates related to your work on this issue?
from freshcomm.
This issue is up for grabs!
from freshcomm.
Related Issues (20)
- Place Search bar on the Navbar HOT 16
- Page goes blank when we try to edit any product in admin/productlist page after editing one of the product before HOT 5
- Set pre-defined options in Category while creating new product HOT 1
- No. of total items are not added properly in cart. HOT 1
- Redesign or Rewrite profile page HOT 17
- Improve understandability of the profile screen HOT 1
- Implement the location (address) feature HOT 2
- Admin is able to set negative values for price mrp and count in stock in create and edit product HOT 2
- Bug in order page HOT 2
- User info are saved in local storage which is vulnerable to user HOT 10
- Create an functionality to add category in admin route HOT 2
- Create a Sort functionality HOT 9
- Add visual indication in the checkout process HOT 2
- Need more context about the delivery process HOT 1
- Need a single place to update the branding and theme color HOT 9
- Make search better!
- Can add more features inside the category page. HOT 3
- Separate backend and frontend directories HOT 2
- Add support for OpenTelemetry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freshcomm.