How To Create Product Attributes

How To Create Product Attributes

   A lot of times there is information that you want to show on the product's page that isn't there by default whether it is a color, category, where an item is from, etc. We can create product attributes in Counterpoint to sync to your website. For this how-to, we will show you how to get the products category on the product page.


Creating Product Attribute in Magento

1. Log into the Magento Admin Panel and navigate toStores>Attributes>Product. Once you are here, there is a button that creates a new attribute in the top right that says "Add New Attribute".


After clicking the button to add a new attribute, you will see a page like this (click to enlarge).

There are a lot of different properties so let's go over what they mean.


  Attribute Properties

  • Default Label: This is what will appear on the product page. 
  • Catalog Input Type for Store Owner: Determines the data type and input control that is used to manage the productfrom the store Admin. See Input Types
  • Values Required: To require that a value be entered in this field before the record can be saved, set Values Required to Yes 

   Advanced Attribute Properties

  • Attribute Code: This property will be what we reference in Counterpoint to create a map. The Attribute Code must begin with a letter but can include a combination of lowercase letters (a-z) and numbers (0-9). The code must be less than thirty characters in length and cannot include any special characters or spaces, although an underscore (_) can be used to indicate a space.
  • Scope:Limits the use of an attribute to a specific store view or website. Options: Store View / Website / Global.
  • Unique Value: Assigns a starting value to the attribute to help during data entry.
  • Add to Column:Options: Determines if the column appears in the product grid. Options: Yes / No
  • Use in Filter Options: Determines if the attribute is used as a filter control at the top of columns in the grid. Options: Yes / No.Note: The filter control is only displayed whenAdd to Column Optionsis enabled. 


2. We are going to fill these properties out as follows:

  • Default Label:CP Category
  • Catalog Input Type for Store Owner:Dropdown
  • Values Required: No
  • Attribute Code: cp_category
  • Scope:Global
  • Unique Value:No
  • Add to Column Options: Yes
  • Use in Filter options: Yes




 

























    • Related Articles

    • How to Upload Product Images

      This article covers how to upload images to products that will be shown on their product pages and be used as thumbnails previews. In order to upload images for general use across the website, see this article. CPC Sync If your website store uses CPC ...
    • Step 2) Create an eCommerce Category Structure

      To show you how to setup successful ecommerce categories for CP-Commerce. We recommend that you start with a small group of your best‐selling items, and then continue to add more items later. The sooner your store is up and running, the sooner you ...
    • Magento 2 - Porto: Add a Product Slider at the Bottom of the Product Landing Page

      This article will guide you through setting up a product slider at the bottom of your product landing pages. Step 1: Creating the Product Slider First, we need to create the product slider. Login to the Magento Admin Panel. Go to Content>Elements> ...
    • Creating a Product and Assigning it to a Category

      Instructions for creating a product and assigning it to a category Step-by-step guide: Step 1: Create the new product Step 2: Create a new Simple Product Step 3: E-commerce Tab Step 4: Custom Tab (CP-COMMERCE) Step 1: Create the new product Log into ...
    • Counterpoint: How to assign images to a product

      This article will describe how to name product images so the CP-Commerce integration will recognize them and sync them to the webstore. It will also go into detail on how to assign multiple images to the same product. TABLE OF CONTENTS Before you ...