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

Need to replace the "dom-to-model" bits in the cart notifications JS #2300

Open
jtsternberg opened this issue Mar 15, 2017 · 1 comment
Open
Assignees
Milestone

Comments

@jtsternberg
Copy link
Contributor

Currently (now that #2295 was merged), the JS cart modal stuff is depending on some brittle html bits in the dom in order to add an item to the cart and display it properly. We need to update this to output actual data models in the dom for every product shown on the screen.

@jtsternberg
Copy link
Contributor Author

Or, probably more ideally, using the REST API (WPSC_REST_Products_Controller) to do an ajax fetch when an item is added to the cart.

@jtsternberg jtsternberg self-assigned this Mar 15, 2017
@JustinSainton JustinSainton added this to the 4.0 milestone Mar 15, 2017
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

No branches or pull requests

2 participants