Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Tutorials
Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Catalog
Products and SKUs
Product specifications attribute – Google Shopping XML
Product specifications attribute – Google Shopping XML

Following the update released by Google  in September 2015, several attribute tags used in the product feed now have pre-defined values that are required in the English language and all of them in upper case.

This is to make it possible to integrate the products on Google Shopping and to improve the level of categorization.

As the VTEX platform allows each customer to structure and formulate this product range as they see fit, it is impossible to map them all and converge them into just a variation of two or three values.

That is, take the tag for the attribute gênero (for Google: gender), where we can have a variation ranging from “Male”/ “Female” to “Boys”/ “Girls”, “Little Boys”/ “Little Girls”, among others.

In the case of feeds with products in the Clothing and accessories category, it will be mandatory to insert the attributes:

  • 'gênero'[g:gender]
  • 'idade'[g:age_group]
  • 'disponibilidade'[g:availability]
  • 'condição'[g:condition]

Attributes like tamanho'[g:size] and 'cor' [g:color] should be filled out with the value of the specification created.

This demand should be dealt with using product specifications.

Creating a Group that includes the attributes described above so as to comply with the default value required for the XML of Google Shopping.

How to do it

Group

We will create a group with the name Atributos Google in the root category of the store:

  1. In the VTEX Admin, go to Catalog, or type Catalog in the search bar at the top of the page.
  2. Click on Categories.
  3. Click on the root category. After doing so, the selected category will also appear on the right portion of the screen. It will have an Actions button on its side.
  4. Click on the Actions button and then on Group.
  5. Click on the New Group button to add a new group.
  6. You will be redirected to a new screen, where you should fill the name and confirm the category of the new group.
  7. Click on the Save button.

Product field

Here you will have to create four fields for each attribute discussed above: gender, age_group, availability and condition.

How to create a product field

  1. In the VTEX Admin, go to Catalog, or type Catalog in the search bar at the top of the page.
  2. Click on Categories.
  3. Click on the root category. After doing so, the selected category will also appear on the right portion of the screen. It will have an Actions button on its side.
  4. Click on the Actions button and then on Field (Product).
  5. Click on the New Field button to add a new product field.

The following options show up:

  • Name: Gender/age_group/availability/condition.
  • Text: Description of the field.
  • Type: Radio.
  • Group: Select the group previously created “Atributos Google”.
  • Filter: To be used as a filter for browsing the site.
  • Required: Not required.
  • Show Specification: Not required.
  • Link in the Top Menu: Not required.
  • Link in the Side Menu: Not required.
  • Active: Enables or disables the field in the Product register.

Attribute values

Here we will have to register the predefined values that will comprise the Product register:

With the above field already created, click on the action button and then on Values. Then enter the values according to the following standard:

  • gender: can only be “male”, “female” and “unisex”;
  • age_group: can only be “newborn”, “infant”, “toddler”, “kids” and “adult”
  • availability: can only be “in stock”, “out of stock” and “preorder”
  • condition: can only be “new”, “used” and “refurbished”

The values can be created all at the same time, just enter a line break for each one.

Just save this and the values will become listed.

Now just define on Google Shopping XML the attributes as structured above.

See How to Configure Google Shopping XML for instructions on how to configure the XML.

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback