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

SendForm - getting back product ID #532

Open
noxtras opened this issue Dec 15, 2017 · 1 comment
Open

SendForm - getting back product ID #532

noxtras opened this issue Dec 15, 2017 · 1 comment

Comments

@noxtras
Copy link

noxtras commented Dec 15, 2017

This cart is great, and it's only problem, as far as I can tell, is that it doesn't send product IDs at checkout, so you can validate with a database. An easy fix is to add 'item_id' element when adding to cart, and adding this line after line 1158:
data['item_id_' + counter] = item.get("id");

@jaggernaut08
Copy link

try adding
add input type hidden as simplecart can recognize it

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