Overview
Modern Retail's WooCommerce integration supports the mapping of UPC codes as a customization in WooCommerce. In this article, we'll talk about how exactly Modern Retail accomplishes this on the WooCommerce side of things.
Mapping Attributes
To begin, we go to the Modern Retail integrator in the backend of your WooCommerce site. The "Settings" menu under the Modern Retail Integrator option has a set of several tabs, for a wide variety of settings. You can learn more about these in our screen by screen guide to the WooCommerce integrator.
From there, there are three key places we need to configure: the Simple Product tab, the Mapping tab, and the Update tab.
Mapping
The Mapping tab is where we'll start. This is where attributes can be mapped to one another, so the integrator knows which values from your POS system apply to which values in the ecommerce platform. If you scroll to the bottom, you'll see a textbox labelled "New XML node (will be added on save)". Let's create the UPC attribute here: type in "UPC" (be sure to use all capital letters), and then click on the Save Changes button below the textbox.
This will add a new attribute to the list located on this page. Locate the new "UPC" option on this list, and then enter or select "cpf_upc". Please be sure to use all lower-case letters.
Hit Save Changes again, and then let's move on to the next step.
Simple Product
Still on the Settings page under the Modern Retail Integrator, let's now head to the Simple Product tab.
On the Simple Product page, click on ProductItem at the top, beneath the list of tabs:
On the ProductItem page, you should see a list of checkboxes. Find the checkbox labelled UPC, and check it off. (If it was already checked, simply leave it alone). Click Save Changes at the bottom, and we can move on to the next step.
Update
Lastly, head to the Update tab. Just like we did on the mapping tab, enter "UPC" in the New XML node box, and hit save. Then select or enter "cpf_upc", (again, be sure to use the correct case for both entries, as they are case sensitive), and hit save again.
This is the last step to configuring UPC codes for WooCommerce! Please be sure to check in with Modern Retail if you need UPCs configured for your store, as depending on a variety of factors additional setup or configuration may be necessary. You can always get in touch with us by submitting a support request.