Prev | Current Page 567 | Next

Emilian Balanescu and Cristian Darie

"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"


The $mEditEnabled class member enters or exits edit mode, depending on whether or not the submitEdit
parameter from the query string is set. When entering edit mode, all text boxes and the Update and Cancel buttons
become enabled, but the Edit button is disabled. The reverse happens when exiting edit mode, which happens
when either the Cancel or Update button is clicked.
Summary
We covered a lot of ground in this chapter. In two separate stages, you implemented a system
for taking orders and manually administering them. You added a Place Order button to the
shopping cart control to allow the visitor to order the products in the shopping cart. You
implemented a simple orders administration page, in which the site administrator can view
and handle pending orders.
Because order data is now stored in the database, you can do various statistics and calculations
based on the items sold. In the next chapter, you??™ll learn how to implement a dynamic
product recommendations feature, which wouldn??™t have been possible without the order data
stored in the database.
CHAPTER 14 ?–  ACCEPTING CUSTOMER ORDERS 460
Product Recommendations
One of the most important advantages of an Internet store, compared to a brick-and-mortar
location, is the capability to customize the web site for each visitor based on his or her preferences
or on preferences based on data gathered from similar visitors.


Pages:
555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579
narzędzia pneumatyczne wczasy zasady pokera teksty piosenek pozycjonowanie stron