Prev | Current Page 450 | Next

Emilian Balanescu and Cristian Darie

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

Load your product details page, and ensure everything works the way it should. You have a lot of functionality
to test! Figures 11-4 and 11-5 show the product details admin page in action.
How It Works: Administering Product Details
No administrative feature is fun to implement, but what you??™ve accomplished so far is quite impressive. Your shop
administrators can now edit a product??™s name, description, and price; delete products from the database or from
just a category; assign a product to one or more categories; and manage product attributes and pictures.
At this moment you??™re offering all the important features that are necessary to administer a web site like TShirtShop.
We will, however, add yet another feature that will make the life of our shop administrators much easier: in-store
administration links.
Creating In-Store Administration Links
Right now, the administration page delivers all the important requirements: administrators can
manage the catalog departments, categories, products, and their attributes. In the last part of
this chapter, we implement an additional feature, which makes the administrator??™s task a little
bit easier. This feature consists of Edit buttons, such as the Edit Department Details and Edit
Product Details buttons you can see in Figure 11-6. These buttons show up only if the visitor is
authenticated as an administrator and take him or her directly to the item administrative page.


Pages:
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462
traktorki ogrodowe terapia magnetyczna Pompy zatapialne mapa Niemiec Wnętrza Poznań