Product Types > Layout Settings

Zen Cart is flexible enough to allow multiple product types so that stores with special needs can create a custom product with the required data fields and behaviors. However, the most common product type is Product - General, and this is the only product type that most stores use.

Each product type can choose to show or hide specific fields.

The Product Types Layout Settings page has a series of flags that allow you to enable or disable the fields that are shown on the Product Info page for the currently selected product type. These augment the product-type-independent fields which are set on Admin > Configuration > Layout Settings.

Layout Settings page

For example:

  • To turn off the display of Model number, click Show Model Number, click the dropdown and select False, and then press Update.

There are also settings that control the meta data which is shown on the product info page. For example:

  • To turn off the inclusion of product price in the <title> tag, click Product page <title> tag - default: use Product Price, click the dropdown and select False, and then press Update.

Issue: I am turning off the display of fields in Layout Settings, but they are still displayed on my product info page.

This can occur when template authors choose not to respect the flags that Zen Cart uses. To fix this, edit includes/templates/YOURTEMPLATE/templates/tpl_product_info_display.php and modify the code that handles the display of the field you wish to turn off.

If you are a developer, see technical information on product types.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified March 26, 2021 by Scott C Wilson (2522b9b).