Prev | Current Page 549 | Next

Emilian Balanescu and Cristian Darie

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

TShirtShop needs a carefully designed orders administration page,
where an administrator can quickly see the status of pending orders.
?– Note This chapter doesn??™t intend to help you create a perfect order administration system but rather
something that is simple and functional enough to get you on the right track.
CHAPTER 14 ?–  ACCEPTING CUSTOMER ORDERS 442
The orders administration part of the site will consist of two componentized templates
named admin_orders and admin_order_details.
When the administrator clicks the ORDERS ADMIN link, the admin.php page loads the
admin_orders componentized template that offers the capability to filter the orders. When first
loaded, it offers you various ways of selecting orders, as shown in Figure 14-5.
Figure 14-5. The orders administration page
After clicking one of the Go buttons, the matching orders appear in a table (see Figure 14-6).
Figure 14-6. Selecting the most recent orders in the orders administration page
When you click the View Details button for an order, you are sent to a page where you can
view and update order information, as shown in Figure 14-7.
CHAPTER 14 ?–  ACCEPTING CUSTOMER ORDERS 443
Figure 14-7. Administering order details
Before creating the admin_orders and the admin_order_details componentized templates,
we need to modify admin.php to load these componentized templates and also modify
admin_menu.


Pages:
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561
podłogi drewniane biuro rachunkowe gdańsk Na wylot sypialnia yerba mate