Products to Categories

This page allows you to manage the links between products and categories.

All products have a master category id, which links a product to its parent category. The master category value is shown in the Product Editing screen at the top.

Master Category for a product

A product is always displayed in its master category. It may also be displayed in other categories by linking it to those categories. A product which is linked to other categories is called a linked product.

This screen gives you a friendly interface to change a single product’s master category, or change a product’s linked categories.

Updating a single product’s master category

To change the master category of a product, follow these steps:

  1. select the product’s current master category,

P2C select category

  1. select the product within the category

P2C select product

  1. set the new master category by selecting the desired category from the dropdown, then pressing the Update button.

P2C select new master category

Note: Only linked categories appear in this dropdown. If you don’t see the desired category, link the product to this category first by following the directions below.

Updating a single product’s linked categories

To link a product to one or more categories, select the product using steps 1 and 2 as shown above, then use the checkboxes shown under Linked Categories to link it to the desired categories.

Press the large “Update Category Links” button to the right, and the linking is done.

P2C set linked categories

Updating multiple products at a time

A set of global tools is available to allow you to change multiple products at a time.

P2C Global Tools

Note that you may also reset the master category id for all products using the Store Manager page, which offers a Reset ALL Products Master Categories ID button.

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 October 11, 2021 by Scott C Wilson (d3e791b).