Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Product Attributes

Jonathan Moore edited this page Jun 5, 2017 · 7 revisions

Tip - Use Product Attributes

Here's a good tip - use product attributes. In fact use first categories, tags and the built-in meta fields and then put all the rest of the product data in Product Attributes.

For example:

  • Codes like ASIN, ISBN
  • Numeric style fields like Volume, Net Weight/Product Dimensions (as opposed to the Shipping meta which is really gross dimensions of packed product for calculating shipping)
  • Select fields used for creating product Variations like Colour, Clothing size etc
  • Common text fields like Manufacturer, Materials - could be Tag or Product Attribute depending on your use case

Believe us, you don't want all this in your product description, and then have to translate text like Manufacturer etc over and over again for however many hundreds of products you are listing. Get all the data set up right and translated once, then you just get left with a short description text to translate for each product, which will be quicker and cheaper however you do it.

How to use Product Attributes

Product Attributes have a Name which is translatable and a set of Terms which are optionally Translatable. Product Attributes

All Product Attribute Names are added for translation to Polylang Strings Translations Product Attribute Title translation

Term translation works the same way as the screens for Product Categories and Tags.

Term translation can be turned on or off for each individual Product Attribute: attributes are added to Polylang settings page Languages, Settings, Custom post types and Taxonomies /wp-admin/admin.php?page=mlang_settings: here you can choose which individual attributes to translate. For example you have have some attributes which are codes or numeric values which don't need translation, other attributes may be language strings which need to be translated. Enable individual attributes for translation in Polylang Languages, Settings, Custom Post Types and Taxonomies

If you don't see the Product attributes here, check that Translate Attributes is enabled in admin menu Settings, WooPoly, Features, (/wp-admin/options-general.php?page=hyyan-wpi Features tab).

Clone this wiki locally