foodcoop-adam / foodsoft

DEPRECATED, being merged in upstream. Web-based software for foodcoops - as used in NL.
http://foodcoop-adam.github.io/
Other
10 stars 3 forks source link

Allow adding a free price to member order #159

Closed wvengen closed 9 years ago

wvengen commented 9 years ago

This is needed for the checkout / receive>ordergroup screen.

New approach

Use supplier with foodcoops-specific articles (see https://github.com/foodcoop-adam/foodsoft/issues/159#issuecomment-137209467). No changes required :)

Old approach

What needs to be done? (See first comment for an explanation.)

First implement this upstream, then merge in this fork.

wvengen commented 9 years ago

This could be done by creating a sort of dummy article called "vrije verkoop" with an fc-price of €1. When set to not-available, it will not show up in member's lists when ordering.

What remains, is to be able to choose this article from current_orders/ordergroups. Currently a list is shown with all articles in the current orders. This needs to be expanded to also show articles not in the current orders (restricted to all suppliers taking part in the current orders).

foodsoft_-_articles_for_bar_rie_-_2015-08-25_21 10 29

wvengen commented 9 years ago

New idea requiring no changes: creating a "Foodcoop" supplier with a "Vrije verkoop" product. Open the order on the pickup day, and close it right away. Then it will be available.

Con: you can't add articles that weren't ordered this month.