Suggested Site-Wide Modifications

Several of the earlier sections describing the scripts that implement the PseudEcom site have suggested modifications that pertain to individual applications. This section suggests some changes that are more general and affect the operation of the site as a whole.

Modify the boilerplate routine add_boilerplate() to indicate whether the customer currently has a pet shop session open, and to report the number of items in the shopping cart if so. This serves as a reminder that the customer has some unfinished business to take care of—that is, to complete the ongoing purchase and send us some money!

You can use your storefront to provide your customers with access to information that is not actually stored on your ...

Get MySQL and Perl for the Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.