V
V
valitskiydmitriy2015-12-18 08:53:59
JavaScript
valitskiydmitriy, 2015-12-18 08:53:59

Shopping cart in html5/cordova app?

There is a product catalog in the cordova application on Android. You need to implement a shopping cart. That is, a person looks at the catalog, presses a button and the goods fall into his basket. Then, in the main menu of the application, he enters the "Purchase List" section and looks at what is there.
How do I want to release. Make an xml file, when you click on the button next to the product, the product and its quantity will be added to it. And in the "Purchase List" section, just display the xml file.
Or what other options can you suggest? Tried sql plugins but couldn't get them to work :C

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yakov Vylegzhanin, 2015-12-18
@vylegzhanin

Store in localStorage as JSON.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question