• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Engaging in eCommerce > Extending the Model to Include a Shopping C...

Extending the Model to Include a Shopping Cart

Now that you’ve seen how to develop a simple single-transaction system, you can extend that system to allow the visitor to order multiple items in the same order session. To accomplish this, you’re going to use an UltraDev Extension created by Rick Crawford, President of PowerClimb (www.powerclimb.com) called the UltraDev Shopping Cart. This extension was originally developed for UltraDev 1, but a patch that updates the software to be compatible with UltraDev 4 was developed by Joseph Scavitto, a third-party developer.

Using the patched version of the UltraDev Shopping cart, you can allow your visitors to add items to their shopping carts, where they are stored in session variables until they are ready to check out. When they initiate the checkout process, the visitors follow similar steps to those in the single transaction model. In fact, the only major difference comes when the visitor submits the final form. At this time, one of the shopping cart behaviors inserts each of the items in the shopping cart into the tbLineitem table and associates the previously created order ID with each of the items.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint