Shopping List ionic [closed]

0

Good night, guys.

I'm making an application by ionic that consists of a cash register. The customer selects the item that will buy and at the end the total value of the purchase appears, but I have no idea where it starts. Anyone have any ideas?

    
asked by anonymous 26.11.2017 / 00:00

1 answer

1

Samuel, what version of Ionic are you using? Will you persist this data in a database? Or is it all local?

In general, what you need is to have a screen for the list of available products in which you have a search bar (for product filtering), where each item in this listing (via ng -repeat or ngFor , depends on your version) will be a unique product, you can put his name and a "+" button (to add) to your list. The click event of this button will execute a function that has the item of the product as parameter, and this parameter will be added in the last position ( .push () ) of the product array.

A very simple type of application that can help you out is the toDo lists (to-do list). You may end up relying on one of them to make yours.

    
28.11.2017 / 03:13