Now that you have created your product categories, you would probably like to know how to add products. But first, let's cover the why. Adding products to Categories will help organize the products on your website and make them easier for customers to find.
While you can add products to categories manually, importing products can be much faster and easier to do when working with a large number of products.
As a reminder as to how category structure works, refer to the screenshot below:
Note: when the site search indexer runs, a parent category will automatically display all products from their child categories. Even if the parent category is empty, it will still appear to have products.
In order to import your products, you will first need to export the products that are in your portal. This will give you the list of products that you need to categorize in order to import.
Note: if you are exporting a large amount of data, it may take a small amount of time to complete the export. The file with download and save to your computer.
The next step is to enter the category code for each product into the Categories columns. These category codes need to match the existing codes that you already have set up in the Portal.
You can also find a category code by using the Category Tree.
Now that you have your category codes, it is time to go through the exported sheet of products and update the products with the correct category code.
The best way to fill in the category code is by copying and pasting the exact category code from the PIM Portal as this will help reduce errors. If the category codes do not match what you have in the PIM Portal, the import will skip those products, the system will send an error, and the product will not be added to the desired category.
Enter the category code in the Category 1 column. If the product needs to appear in more than one category, use the additional category columns.
Once you have completed your updates, save the file as a .CSV file.
Note: every product should have at least one category code – or it should be in a primary category such as newProducts or do_not_display.
Here you can see an example of the updated spreadsheet with product categories that is ready to be imported.
Note: The columns of name, pimCategoryStatus, pimStatus, and pimAttribute status columns are all considered product data, and not category assignment data. These columns will not update with a category assignment import, and will need to be imported by using the data tab import. The only columns that will update with the category assignment import are the category columns.
The import function is quick - once you upload the selected file, the data in the file is created or updated. Please be sure that you select the correct file to import, and have your file prepared correctly.
Once you have imported your products with their assigned categories, updates or additions can be made at any time in the Portal.
Remember - the only data that will be updated with this import are the category columns.
You may have noticed that we recommended exporting the "Active" column. In order for products to be active on the commerce website, the products need to be marked as active in your ERP. This also applies to the Kodaris "Display" column – all products need to be set to "Yes" in the display column in order to be visible on the website.
If you do not want certain products to be seen on the website, we recommend updating the Primary Category Code column with "do_not_display". Any product you do not want to update for commerce use can be placed there. If you wish to use this category as mentioned, it will need to be created before importing your product sheet.
Note: if using the Primary Category Code, this column can only be cleared out or updated during import by using the "Data" tab; otherwise it has to be manually updated in the product grid, or by updating product details. Continue to the bottom of this help page for more information.
If you are using the PIM Workflow and would like to update the PIM Category Status and Primary Category Code by import, this can be done with the same spreadsheet as above, but this would be a separate import and will need to be completed by using the import option Data tab.
Using the same Product spreadsheet you will be importing, you will only need the code, pimCategoryStatus column and the primaryCategoryCode column to reflect the data that you would like. If you have assigned products to a category in the spreadsheet, you will no longer need the product assigned to the primary category, and it can be left blank for the import.
As noted earlier, the Primary Category Code column should only be used for new products and the "do_not_display" category if they are being used as part of the PIM Workflow.
As you add categories to products, this column should be updated as well. You can either do this as part of the import process as noted above, or manually update on the Data, Category Assignment or Attribute Assignment tabs.