Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#813909
I have a requirement to implement a system with PM with shopping cart function. The steps will be:
1. User input keyword to search for product
2. System query database table with the keyword and display product list (incld prod id, name, price and other info), each row with a check box
3. User tick the check box to choose products and click button to add selected items to cart
4. User can view cart, delete items in cart, or go back to search and add more item, or check out and proceed to next step

I'm quite new to PM, not sure whether it's doable, if yes:
1. what type of variable shall I use to hold the "cart" items? Array?
2. is grid suitable for displaying the search result, as well as the cart? how to sync the selection/deletion in grid row with the cart variable?
3. i plan to have two forms, one for search and show search result, the other for cart management, doable?

Any sample codes will be much appreciated! Thanks!

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]