• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. Storefronts and Shopping Carts > 55. Add Dynamic Storefront Details

Add Dynamic Storefront Details

Extend a dynamic storefront by creating a product details page for each product you sell.

The product details page allows you to provide detailed information on a specific product, such as a description, weight, availability, or other tidbits to educate customers and increase sales.

Start with the code from [Hack #54] , which loops through all the products you have in your database table and displays them on your web page. For each product, the code displays the product name, price, and a corresponding purchase button.

First, add a line to display a link to another web page on which detailed product information for the item is displayed. In the link, pass the unique identifying field for that product to the details page in the id query string parameter, like this:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint