> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wisepim.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Primary Category

> Bulk set the primary category for your products. Control which category drives breadcrumbs, canonical URLs, and product organization.

Set which category is the primary (main) one for your products. Many e-commerce platforms use the primary category for breadcrumbs and canonical URLs, so getting it right helps your SEO.

## Set the primary category

<img className="block dark:hidden" src="https://mintcdn.com/swiftsyncai/vT5bx0c0dDPVXf2p/images/marketing-screenshots/products/products-bulk-edit-set-primary-category-light-transparent.webp?fit=max&auto=format&n=vT5bx0c0dDPVXf2p&q=85&s=4d1ab726a9c8622a66d24fc315a7bd89" alt="Bulk editing, Set Primary Category across many products at once in WISEPIM" width="2252" height="2004" data-path="images/marketing-screenshots/products/products-bulk-edit-set-primary-category-light-transparent.webp" />

<img className="hidden dark:block" src="https://mintcdn.com/swiftsyncai/vT5bx0c0dDPVXf2p/images/marketing-screenshots/products/products-bulk-edit-set-primary-category-dark-transparent.webp?fit=max&auto=format&n=vT5bx0c0dDPVXf2p&q=85&s=0954ab7cd5eba373726b386102f89df9" alt="Bulk editing, Set Primary Category across many products at once in WISEPIM" width="2252" height="2004" data-path="images/marketing-screenshots/products/products-bulk-edit-set-primary-category-dark-transparent.webp" />

<Steps>
  <Step title="Select products">
    Check the products you want to update, or use filters and select all matching results.
  </Step>

  <Step title="Open Bulk Edit and choose Set Primary Category">
    Click **Bulk Edit**, then search for "Set Primary Category" or find it under **Categories & Organization**.
  </Step>

  <Step title="Pick the category">
    Choose one category to set as the primary for all selected products.
  </Step>

  <Step title="Set options and apply">
    Decide whether to add the category to products that are not in it yet, then click **Apply**.
  </Step>
</Steps>

## Options

| Option                                                         | What it does                                         | Default  |
| -------------------------------------------------------------- | ---------------------------------------------------- | -------- |
| **Primary category**                                           | The category to set as primary (single choice)       | Required |
| **Add category if not already assigned**                       | Adds the category to products that are not in it yet | On       |
| **Only set primary for products that already have categories** | Skips products with no categories                    | Off      |

## Tips

* Leave **Add category if not already assigned** on so every selected product ends up with the primary category, even if it was not in it before.
* The primary category drives breadcrumbs and canonical URLs on most platforms, so getting it right helps your SEO.
* Filter by category first, then set the primary. That way you only touch products already in the right category tree.

## Related

<CardGroup cols={2}>
  <Card title="Assign to Categories" icon="folder-plus" href="/en/essentials/bulk-editing/assign-categories">
    Add products to one or more categories.
  </Card>

  <Card title="Replace All Categories" icon="folder-sync" href="/en/essentials/bulk-editing/replace-categories">
    Swap a product's categories for a new set.
  </Card>
</CardGroup>
