Shopping cart
Posted: Tue Jul 21, 2009 8:43 am
Wonder if somebody could help me build a simple and easy 'shopping cart' like function for my software using studio 3.5.
Users will be able to select various mobile phone accessories from my application. I want to make it so that when a user highlights their chosen accessory they are then to click the 'add to cart' button, and for their selection to then be displayed in a 'list'.
Users will be able to add as many accessories as they like but for the life of me cannot work out the best way or best scrypt that tells runrev to add selections to a 'list' when 'add to cart' button is pressed.
It's easy to create the scrypt that adds one but how do you make it so that when another accessory is added that it displays directly under the previous selection? And also how to delete one of the lines?
Could someone guide me in the right direction? I heard the Data grid could be useful for this as long as the coding is simple.
Thanks
Dan
Users will be able to select various mobile phone accessories from my application. I want to make it so that when a user highlights their chosen accessory they are then to click the 'add to cart' button, and for their selection to then be displayed in a 'list'.
Users will be able to add as many accessories as they like but for the life of me cannot work out the best way or best scrypt that tells runrev to add selections to a 'list' when 'add to cart' button is pressed.
It's easy to create the scrypt that adds one but how do you make it so that when another accessory is added that it displays directly under the previous selection? And also how to delete one of the lines?
Could someone guide me in the right direction? I heard the Data grid could be useful for this as long as the coding is simple.
Thanks
Dan