Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promotion/sale function #90

Open
AXYZE9 opened this issue Jul 26, 2021 · 0 comments
Open

Promotion/sale function #90

AXYZE9 opened this issue Jul 26, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@AXYZE9
Copy link
Collaborator

AXYZE9 commented Jul 26, 2021

Extra module for homepage.

'sale' table in database:
EAN, priceSale, price, startOn, endOn, shop

Properties of product (ex. numbers of CPU cores) should be inherited from 'products' table by searching for EAN.

If startOn value >= current date&time then REST API should serve it
If endOn value >= current date&time then REST API should not serve it anymore & this promotion should go into separate 'SaleArchive' table for archiving and debugging purposes.

@misiek231 misiek231 added the documentation Improvements or additions to documentation label Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants