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

Stock control functionality #175

Open
wants to merge 22 commits into
base: staging
Choose a base branch
from

Conversation

noelreissig
Copy link
Contributor

Stock control functionality

Shows an alert when the product is running out of stock.
Check product stock value vs product quantity added in cart

Screenshots

Changes

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)

Dependencies

(Need this PR necessary be merged after other? )

Checklist

  • Make sure it can be merged into the target branch without conflicts.
  • Check if you are up to date with your origin
  • It was tested in your local database
  • The tests run properly (when apply)
  • Make sure the command npm run build runs without errors

@vercel
Copy link

vercel bot commented Jul 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
commit-swell-storefront ✅ Ready (Inspect) Visit Preview Jul 20, 2023 6:44pm

@noelreissig noelreissig marked this pull request as ready for review July 8, 2023 01:27
@noelreissig noelreissig changed the title Variants and stock refactor Stock control functionality Jul 8, 2023
* Reviews functionality

* Check if user is logged in and add error messages for inputs

* Add delete and edit funtionality

* Add layout to reviews

* Delete deprecated component

* Fix build errors

* Reviews functionality

* Check if user is logged in and add error messages for inputs

* Add delete and edit funtionality

* Add layout to reviews

* Delete deprecated component

* Fix build errors

* Rating functionality

* Add reviews counter

* add limit and page to getReviews function

* build fix

* Add pagination

* Add review rating to product

* fix hydration error

* Add default query value

* redirect anon users from account layout

* Reviews update

---------

Co-authored-by: JoaquinEtchegaray <[email protected]>
Co-authored-by: Martín M <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants