-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
[FEATURE] API for add to cart functionality #708
Comments
Hello, @PatilHarshh, thank you for opening an issue.Soon the maintainers/owner will review it and provide you with feedback/suggestions. |
This is a great feature - however I would like to have some of the previous tasks in #370 completed first, as folks are working on those, there might be huge conflicts. So for that reason I am putting this on hold, will be opened as time comes. |
Hi @PatilHarshh , you can start to work on this ! |
Hi @PatilHarshh I need some clarifications on the issue too, let's just make sure we are on the same page.
|
so, my issue was about whenever client wish to buy product so he will generally click on "cart" so it will update the page the product page that client add products and finally payment gateway... @tamalCodes |
Interesting, so I think it will be better to go step by step. For example, we have no current way of tracking the cart, there's no proper schema, or API defined for it in the backend. So here's how you can proceed
So what I suggest is to wait for a while ! How does this sounds ? |
Sure no problem...
β¦On Sat, 3 June 2023, 7:38 pm Tamal Das, ***@***.***> wrote:
Interesting, so I think it will be better to go step by step. For example,
we have no current way of tracking the cart, there's no proper schema, or
API defined for it in the backend.
So here's how you can proceed
- let us first make sure there's an API to fetch a single product,
which is currently being worked on in #804
<#804>
- Then when we have an API we can make our API add single / multiple
product to the cart
- Then we can have proper FE for the same.
So what I suggest is to wait for a while !
Once that issue is done/API is ready, you can start working on this.
How does this sounds ?
β
Reply to this email directly, view it on GitHub
<#708 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4UJ2WXO7Y34DDYC4N2OFWLXJNANTANCNFSM6AAAAAAYJGKDTY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Cool. |
Hi @PatilHarshh , #804 has been completed, we now have an API to fetch a single product, you can now start with making an API that has the ability to add any product to the cart.
Assigning this to you. |
@tamalCodes ok |
hey @tamalCodes how you want to add the cart on click on cart button passing user id and product id with request this need to change the user Schema for that . Or Alternative of this will be to work on frontent react tools only |
Hi @PatilHarshh , this issue is related to making an API for adding a product to a cart. For example, in our schema, we can add a new array to the User's schema where we have an array. So whenever the user calls the add-to-cart API, we push the product itself in that API which in turn get's added to that array. Check this schema. |
hey @tamalCodes !! I tried to messege you on discord but you didn't replied ... |
Please can you raise a PR ? and make sure to add a screen-record to it ? |
ok |
We just made a new organization, Invitation sent to join the GitHub Organisation. Welcome to the community π |
@tamalCodes merge !? |
Description
when we click to item purchase not showing adding option along with need to form items added in the navbar.
Screenshots
π₯¦ Browser
Google Chrome
Checklist β
The text was updated successfully, but these errors were encountered: