Part of the Modern Retail Onboarding process is to create variable product option names in the backend of WooCommerce. Our developers look at option names attached to your initial product upload, create the WooCommerce attributes, and properly map those attributes for your products.
For example, if you're using Size and Color option names, Modern Retail will create the WooCommerce attributes for Size and Color, and map those options to products that use them.
But what happens if you add an additional option to your products after your initial product sync? For example, what if you add Style to a product that already has the Size and Color option? If you only have Size and Color defined as attributes in WooCommerce, and Style does not exist, there is no place for the integrator to put the Style values. A new attribute will need to be manually created, and the XML value will need to be mapped. The next section explains how to do this.
Creating a New Product Option in WooCommerce
Before you add a new option name to an existing variable/gridded item in your POS, or before adding a new POS product with new option names, you must do three things in WooCommerce.
NOTE: You need to do this BEFORE you add the new option name in your POS or the attribute will not be mapped or populated as expected.
Step 1: Add the Attribute
Under the Product menu, navigate to Attributes
In the Name field, add the Display Name for the Attribute (ie. what your customers will see on the website)
In the Slug field, add the Slug Name for the Attribute. This slug field can be idential to the Display Name, but it must be all lowercase with no spaces
Click Add Attribute
Step 2: Create the New XML Node
Under the Modern Retail WooCommerce Integrator plugin, navigate to Settings > Mapping
Click Product Variation and scroll to the bottom
In the New XML Node field, enter the name of the new option field as it is listed in your POS. Ensure it is all lowercase, and contains no spaces.
For example, if you are adding a shirt Style attribute but in your POS the field is listed as STYLE (all caps), you need to fill in the New XML node field as style
Save Changes
Step 3: Map the New XML Node to the New Attribute
Once the screen refreshes, the new XML node will be added to the master list
Click on the dropdown menu next to it
Select the option slug you wish to map to the attribute
Save Changes
If you have any questions about adding additional attributes in WooCommerce, please open a Support Ticket and we'll be happy to assist you.