Comments (6)
A well-known feature in many shops: Sell product if not on stock. Can be a bool value in product table.
Also a well-known feature using a bool value in product table: send eMail if product out of stock.
from foodcoopshop.
1) sell product if not on stock
i recommend using the existing column "Anzahl" for that and allow it to be negative, if the new option "sell product if not on stock" mentioned by @k-pd is set to true.
adding a checkbox "Allow further orders if quantity is set to 0" in the overlay where the "Anzahl" can be changed (Admin / Produkte). Maybe also add a maximum negative quantity (eg. -10). default to infinitive?
there are a some manufacturers that only have stock products. a new manufacturer option should define the default value for the new option for all products of a specific manufacturer. so new products do not need to be changed and adding the new option can not be forgotten.
todos
- CartsController (including CartsControllerTest, write new Test for the new option!)
- New migration for field in table product "sellProductIfNotOnStock", eventually remove unsigned flag from table StockAvailable.quantity - can be negative
- Add new flag in amount overlay
- Add manufacturer option (saved as json - no migration needed)
- Add default value in database configuration
2) send email if product out of stock
after implementing 1) it should be relatively simple to trigger an email to the manufacturer if the quantity is 0 (in CartsController)
from foodcoopshop.
At 2): Do not test for 0, must be first time quantity becomes <= 0.
from foodcoopshop.
Hi sorry, i was on holiday. all very very good
versteh ich nicht: "there are a some manufacturers that only have stock products. a new manufacturer option should define the default value for the new option for all products of a specific manufacturer. so new products do not need to be changed and adding the new option can not be forgotten"
from foodcoopshop.
Manche Hersteller haben nur Lagerprodukte. Es sollte also für Hersteller eine neue Option "ich bin ein Lagerprodukt-Hersteller" geben. Diese neue Option legt für neue Produkte dieses Herstellers automatisch fest, dass das neue Produkt die Einstellung "Produkt bestellbar, wenn nicht auf Lager" bekommt. Wie beim dem Standard-Steuersatz, der dem Hersteller zugewiesen werden kann, der dann auch genau diese Einstellung auf neue Produkte dieses Herstellers übernimmt. So kann das bei neuen Produkten nicht vergessen werden.
from foodcoopshop.
Finde ich auch sehr wichtig. Diese Option haben wir (RIADAREI.at) auch schon vermisst. Meine Ergänzung dazu: Man sollte auch einstellen können, ab welchem Lagerbestand man ein Erinnerungsmail bekommt. Das ist in solchen Systemen/Shops üblich und sinnvoll (<0, 0, 3, 5, 10 etc.). Das kann je nach Produkt sehr unterschiedlich sinnvoll sein.
Danke und Liebe Grüße,
Tobias
from foodcoopshop.
Related Issues (20)
- Nur die nächsten 2 Lieferpausen anzeigen (in Navigation) HOT 1
- Excel-Import von Produktdaten HOT 1
- Gutscheine
- Redesign Frontend
- Neue Filter: Sofort-Bestellung / Selbstbedienung / Lagerprodukte
- Neue Einstellung: Individueller Text für Startseite
- Fehler bei testen von Mailversand HOT 5
- Cookie-Banner ersetzen
- Verkaufspreis in Tooltip anzeigen, falls man als Einkaufspreis-User eingeloggt ist
- HelloCash API Umstellung auf Token Authorization
- Bearbeiten von Produkten über Excel-Export und -Import
- Problem bei Lieferrhythmus (edge case)
- Translate to Russian Language 🇷🇺 HOT 8
- Bestellerinnerung versenden wenn in Vorwoche vorbestellt wurde HOT 1
- Möglichkeit mehrerer Abholstationen
- Individualisierbare Nachrichten auf den Bestelllisten
- Artikel in Warenkorb trotz Liefersperre HOT 4
- Sofortbestellung während Lieferpause HOT 4
- Services Refactoring
- PHPStan auf Level 2 erhöhen
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 foodcoopshop.