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

ACTIONS (cart): Create “cartActions.js” file in action folders. Write “addToCart” and “removeFromCart” functions and set Item of "cartItems" into localStorage for both functions. #56

Open
trimakichan opened this issue May 4, 2023 · 1 comment
Assignees

Comments

@trimakichan
Copy link
Collaborator

trimakichan commented May 4, 2023

For the addToCart’s payload, add these keys as shown below;
-event (this is for event id)
-name
-image
-fee
-openSpots
-qty

@trimakichan trimakichan converted this from a draft issue May 4, 2023
@trimakichan trimakichan changed the title ACTIONS (cart): Create “CartActions.js” file in action folders. Write “addToCart” and “removeFromCart” functions and set Item of "cartItems" into localStorage for both functions. ACTIONS (cart): Create “cartActions.js” file in action folders. Write “addToCart” and “removeFromCart” functions and set Item of "cartItems" into localStorage for both functions. May 4, 2023
@ImranS19 ImranS19 moved this from Todo to In Progress in Kal - Event Page May 8, 2023
@ImranS19 ImranS19 moved this from In Progress to Todo in Kal - Event Page May 8, 2023
@vuquanh
Copy link
Owner

vuquanh commented May 8, 2023

added cartActions.js in ANH_cartAction.js

@vuquanh vuquanh moved this from Todo to In Progress in Kal - Event Page May 8, 2023
@trimakichan trimakichan moved this from In Progress to Redux Back-End Done in Kal - Event Page May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Back-End Done -SM: Makiko
Development

No branches or pull requests

2 participants