Define Commerce Categories Basic Settings
You define commerce categories on the Commerce Categories page at Lists > Website > Commerce Categories. You'll find the basic settings for a commerce category in the category header.
To add a Commerce Category:
-
Go to Commerce > Content Management > Catalog & Categories > Commerce Categories > New.
-
Enter the following information in the header:
Note:Required fields are marked with an *.
Field Name
Field ID — SuiteCommerce Configuration
Description
Name*
name
Enter a name for the category. This name identifies the category in NetSuite and can be used publicly on your site in category navigation.
Description
description
Add a description for the category. This lets you give more details about it.
Catalog*
–
Select the catalog for this category. Remember the catalog determines which website the category is available on, and each website can only have one catalog.
Primary Parent
–
If you're creating a subcategory, select the main parent category you want to assign it to. The new category will show up as a subcategory under the parent you specify here. All subcategory override values start out blank, but you can change them on the Subcategory subtab for the parent category record. For more information, see Create Subcategories for a Commerce Category.
Leave this field empty if you don't want to assign a primary parent category.
If a subcategory has more than one parent, the same content can be accessed through different URLs. For SEO best practice, the primary parent flag is used to build the canonical link tag which tells web crawlers that this is the preferred URL for accessing the content.
Page Title
pagetitle
Enter a title for the page. This fills in the
<title>
element for an SuiteCommerce Advanced category page. You can also use this value to populate the<title>
element in a custom SSP application.Heading
pageheading
This field lets you set a heading that shows at the top of the categories page. The page template needs to be set up to show the heading. You can also use this field to display a heading for the category in your custom SSP application.
Sequence Number
sequencenumber
The sequence number you enter here sets the order of categories in the Site Management Tools category list. If you use the Move option in Site Management Tools to reorder the category list, the sequence number on the Commerce Category record updates automatically to reflect the new order.
URL Fragment*
urlfragment
The URL Fragment lets you set the part of the URL used to get to the category page. If it's a subcategory, the URL includes fragments from all parent categories in the hierarchy.
Enter the URL without slashes. For example, for a category called shoes, enter shoes. If shoes is a subcategory of mens, and mens has a URL fragment of mens, the full URL to the shoes page is /mens/shoes.
URLs are case sensitive, so be consistent with your fragments. It's best to always use lowercase.
For more information about category URLs, see Category URLs.
Page Banner
pagebannerurl
The page banner field lets you pick an image file from the file cabinet to show as the banner on a category page on a SuiteCommerce Advanced site. The page template needs to be set up to display the banner. You can also use this for banners in your custom SSP app.
To show a page banner, go to the SC Configuration record and select the pagebannerurl field ID for Category Fields..
Thumbnail Image
thumbnailurl
The thumbnail image field lets you pick a file from the file cabinet to use as the thumbnail for this category.
To show a thumbnail image, go to the SC Configuration record and select the thumbnailurl field ID for Category Fields.
Addition to <HEAD>
addtohead
The addition to head field lets you add code like HTML, CSS, or JavaScript between the
<head></head>
tags on this category page.Meta Keywords
metakeywords
This field lets you add meta keywords for the page.
Meta Description
metadescription
The description you enter here is important for SEO. It's usually what shows up on search results pages. For best practices about writing meta descriptions, see SEO and Meta Descriptions.
Sitemap Priority
sitemappriority
The value you enter here fills in the
<priority></priority>
element in your XML sitemap. You can use values from 0.0 to 1.0. If you don't set a priority, the default is 0.5. These priorities help you rank your pages. Search results pages may consider this ranking when presenting multiple pages from your site and order the pages based on the priority.Display in Web Site
displayinsite
The Display in Web Site box lets you choose if a category should be visible to visitors. If you don't check it, the category won't show up on your SuiteCommerce Advanced site.
Inactive
isinactive
Mark a category as inactive if you want to hide it from your website and stop any other actions with it. For example, an inactive category can't be assigned as a subcategory. You can't mark a category as inactive if it already has subcategories assigned to it.
Note:When a category is inactive, it won't show up in the Commerce Categories list. To see inactive categories, check the Show Inactives box on the categories list page.
-
Add any subcategories you need. For more information, see Create Subcategories for a Commerce Category.
-
Assign any items to the category. For more information, see Assign Items to a Commerce Category.
-
Click Save to finish.