foodcoops / foodsoft

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

Make foodcoop price markup in percent available per supplier/article #289

Open marcopenhacking opened 10 years ago

marcopenhacking commented 10 years ago

At the moment there is the config "price_markup" which drives the price markup of all articles and suppliers at the same time.

In our foodcoop we have a higher price markup for non regional suppliers/articles to support regional products more and reduce transport.

It would be nice to have this in foodsoft as well.

At the moment we just make the distinction per supplier but as some suppliers deliver non regional products as well it would make sense to have a higher price markup at the article level as well.

wvengen commented 10 years ago

True. We have a need for a minimum sales price as well. Ideas:

marcopenhacking commented 10 years ago

Sounds good: "Margin per foodcoop, per supplier, per article (later one takes precedence)". The margin per supplier would be good and most important for us - and it's maybe less effort to integrate in the code than the article margin. We support the local supplier with less margin and charge more for the wholesale non local ones. The article margin is something we do not practice at the moment and may be is less used as it generates additional effort to the foodcoop members to think about the different article margins. Nevertheless it would make sense for some products that are not regional or cause more difficulties if they are ordered inside a supplier sales mix. I could imagine a search for an origin of an article or make a free search of all fields of each article, that gives a list of all matching articles in the database. Have them all selected initially and bulk deselect them from that list. Entering a number or switch back to supplier or to general foodcoop margin (I think we would not need a margin list). The search should be able to retrieve all articles that have a specific margin set to have the possibility to unset it. This all sounds more complicated than the supplier margin. "Minimum sales price for article" - I do not understand this one. "Margin could even be fee or percentage (e.g. like this). Any use for this?" - Percentage is what we use.

wvengen commented 10 years ago

Thanks for the ideas. I think adding a per-supplier margin would be a good start. This does become a bit more complicated when combined with #286, because there now is a combination of (foodcoop-)supplier-ordergroup resulting in a margin.

p.s. minimum sales price = minimum fc_price (some suppliers require this)