product-{id}.php content template

content template used for a specific product.

The product-{id}.php content template file is used for a specific single product page. The product-{id}.php template is more specific than the product.php content template file, and will override its content.

Installation

This template file is used when located in the shopp subdirectory of your theme.

For instance, if your “My Theme” WordPress theme is located at:

/my-site/wp-content/themes/my-theme/

Any Shopp content templates should be added to:

/my-site/wp-content/themes/my-theme/shopp/

Some of the more general content templates have examples that can be installed in your theme, using the Content Template Starter Set. The Content Template Starter Set can be installed from your WordPress Admin by navigating to Shopp → Setup → Presentation → Theme Templates.

Example

product-100.php would be used for a product with ID 100.

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar