Notice: You are browsing the documentation for PrestaShop 8, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 1.7.

Resources for Product options

Product_option

Name Format Required Max size Description
is_color_group isBool
group_type ✔️
position isInt
name isGenericName ✔️ 128
public_name isGenericName ✔️ 64
associations

Blank schema

<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
  <product_option>
    <id><![CDATA[]]></id>
    <is_color_group><![CDATA[]]></is_color_group>
    <group_type><![CDATA[]]></group_type>
    <position><![CDATA[]]></position>
    <name>
      <language id="1"><![CDATA[]]></language>
      <language id="2"><![CDATA[]]></language>
    </name>
    <public_name>
      <language id="1"><![CDATA[]]></language>
      <language id="2"><![CDATA[]]></language>
    </public_name>
    <associations>
      <product_option_values>
        <product_option_value>
          <id><![CDATA[]]></id>
        </product_option_value>
      </product_option_values>
    </associations>
  </product_option>
</prestashop>