Help Me Post Saved Cart Array (or JSON) Back To Cart (PHP + AJAX), ie. Re-Order button
Budget: $40 – $70 USD
Hi there. I have a cart using the old JCart PHP Cart (it's been a little updated over the years to be cleaner and more modern) and I already have a function, which automatically saves both the items of the Cart in an Array AND the items of the Cart in JSON built in - we even have those saving to a table in mysql.
I want to make a Re-Order button that "gets" these items (from a record) from that table and then re-adds/inserts them into my cart. There's alreay AJAX for add_item and add - and there's a get_contents function that I'm pretty sure can be used to loop through the items and add them to the Cart - I'm just not sure how to do this exactly.
I want this done asap because I know that someone good with Arrays and Ajax can do it in an hour easily - because I've had similar stuff done before.
Thanks!
I want to make a Re-Order button that "gets" these items (from a record) from that table and then re-adds/inserts them into my cart. There's alreay AJAX for add_item and add - and there's a get_contents function that I'm pretty sure can be used to loop through the items and add them to the Cart - I'm just not sure how to do this exactly.
I want this done asap because I know that someone good with Arrays and Ajax can do it in an hour easily - because I've had similar stuff done before.
Thanks!