Skip to main content
All CollectionsProducts and CatalogClasses & Attributes
Creating a Product Class and Assigning it to Products
Creating a Product Class and Assigning it to Products

Learn how to add product classes to products for better organization and management of your inventory.

Alex avatar
Written by Alex
Updated today

As we explained earlier, a product class lets you apply a common set of attributes, like size, color, or material, to multiple products with just one click.

Product class makes inventory management easier since you don’t have to set up attributes for each product individually. After all, wheels are wheels – no matter how you spin them, they’ll always have a diameter, width, finish, and bolt pattern.

Here, you'll learn how to create product classes, as well as how to assign and remove them for your products – whether you're updating them one by one or in bulk.


How to Create a Product Class?

You can create a product class in X-Cart in four ways:

  1. From the Classes & Attributes section, to create several product classes.

  2. Directly from the Product Details page, which assigns the class to a product.

  3. Using the bulk edit function, to assign it to multiple products.

  4. When creating a product variation.


1. Creating a Product Class from the Classes & Attributes Section

Use this method when you want to set up several product classes in advance, before adding products to your catalog.

In your X-Cart Admin:

  1. Go to Catalog › Classes & Attributes.

  2. Switch to the Product Classes tab and click New product class.

  3. Enter the name of the product class in the Name field.

  4. Click Save Changes to save the new product class.

  5. (Optional) Add attributes to the class.

Creating a Product Class


2. Creating and Assigning a Product Class to a Single Product

If you're editing a product and it requires a product class that doesn’t exist yet, you can create it directly from the product details page.

In your X-Cart Admin:

  1. Go to Catalog › Products.

  2. Select the product you want to update to open its Details.

  3. Go to the Attributes tab and click Global.

  4. Click Change next to Product class.

  5. Select a class from the dropdown or New product class to create one.

  6. Click Save changes.

Assigning a Product Class to a Single Product

Once you assign a product class, all attributes associated with that class will be linked to the product. You'll see them listed right under the product class name.

Product Class Attributes


3. Creating Product Classes and Assigning Them in Bulk

Use this method to quickly assign or create a product class for multiple products at once. It will save you time and keep similar products consistent without updating them one by one.

  1. In your X-Cart Admin, go to Catalog › Products.

  2. Select the products you want to update using the checkboxes .

  3. Click Bulk edit selected and choose Product classes.

  4. On the next page, click Click to specify.

  5. Select a class from the dropdown or New product class to create one.

  6. Click Save changes.

Once you choose a class, it will be applied to all selected products.

Assigning a Product Class in Bulk


4. Creating and Assigning a Product Classes to the Variation

Lastly, you can create and assign a product class while setting up a product variation. Learn more here.


Removing a Product Class

To remove the product class and all related attributes from a single product:

  1. Click Change next to Product class.

  2. Select No Class in the dropdown menu.

  3. Click Save changes.

  4. Click Ok in the pop-up.

To remove the product class and all related attributes from multiple products in bulk:

  1. In your X-Cart Admin, go to Catalog › Products.

  2. Select the products you want to update using the checkboxes.

  3. Click Bulk edit selected and choose Product classes.

  4. On the next page, click Click to specify.

  5. Select No product class from the dropdown.

  6. Click Save changes.

  7. Click Ok in the pop-up.


How to Make Sure Your Product Class Works?

For a product class to work, it needs at least one configured attribute. Attributes without values won’t appear in your store.

You can create a product class without attributes and add them later. Until then, No attributes assigned will appear under the Attributes tab.

📚 Learn how to add, edit, or remove a product class here.


Can't find answers you're looking for?

Email us at support@x-cart.com. We will be happy to help!


Did this answer your question?