Navigate TShirtShop while logged in as administrator, and notice the Edit buttons that show up, as shown in
Figures 11-6 and 11-7.
CHAPTER 11 ?– CATALOG ADMINISTRATION: PRODUCTS AND ATTRIBUTES 358
Figure 11-7. Administering product details
How It Works: In-Store Administration Links
In this exercise, we created Edit buttons throughout the product catalog that are displayed only when the current
user is logged in as an administrator. This way, an administrator who notices, say, a product description that needs
to be updated can click the Edit button for that product right from the catalog, rather than having to browse the
administration pages to find that product.
Implementing this feature wasn??™t probably the most exciting coding exercise you??™ve ever completed, but it??™s a really
useful feature that your clients will certainly appreciate!
CHAPTER 11 ?– CATALOG ADMINISTRATION: PRODUCTS AND ATTRIBUTES 359
Summary
In this chapter, you implemented the administrative features for your products, including
features for adding or editing product attributes, assigning products to categories, uploading
product pictures, and so on. You??™ve also updated TShirtShop to include edit buttons in the
catalog pages, so administrators can much more easily access the administration pages for
updating the catalog information.
Now that the dry part of developing the administration end of our site is finished, we are
finally ready to move on the really exciting features.
Pages:
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469