foodcoops / foodsoft

Web-based software to manage a non-profit food coop (product catalog, ordering, accounting, job scheduling).
https://foodcoops.net/
Other
325 stars 146 forks source link

Adding ingredients of articles in the foodsoft order page #955

Open streckerl opened 2 years ago

streckerl commented 2 years ago

Hello,

We would like to write all ingredients for the articles in the order, so people see the ingredients at a glance when they order and do not need to browse websites of producers (which in half of the cases are not available because foodcoops tend to buy from small producers). This information is very important for people with allergies or food intolerances, vegans or people who need to do diets for medical reasons, etc. Also most people like to know what's in a product. So this information should be interesting to nearly everybody. That's why we'd love to see the ingredients information integrated in the order page of the foodsoft software.

At the moment there is this green area that appears when you do a mouse over a product in the order. But unfortunately there's not enough space to fit all ingredients there. E.g. the text field "Notizen/notes" which would allow 255 characters get truncated as you see in picture 1. I guess it is not an option to allow more room for this green area because it worsens the mobile use of the foodsoft.

There would be the field "Herkunft" where we could write alle ingredients, but then one would need to scroll a lot as you see in picture 1.

But a solution to this problem seems to exist already in the foodsoft. There is the order summary page in the foodsoft (which is shown after an order is saved) and there you can click on an article and see more information right below. Ingredients would fit perfectly here. You can see this in picture 2.

Would it possible to fit in the ingredients in the order page as it is already implemented in the order summary?

Is there somebody who wants to implement that? I can offer my help with testing or feedback in regards to looks/content

We use Foodsoft v4.7.99

1

2

aban1 commented 1 year ago

Hi I will be attempting to implement this soon!

wvengen commented 1 year ago

There is also a request for article pictures (#1009) and I can imagine there will be more things to note about an article (like barcode, description, allergens). Really not sure if we want all of this, but perhaps at some point an article could get its own view - so we don't need to cramp everything in the list of articles. This would might also more easily allow deface overrides for adding extra fields. I imagine this would work best as a popup (JS-based view). Probably something to discuss.