@@ -28,24 +28,16 @@ within the Odoo *Sales* application.
2828 other similar records in Odoo.
2929
3030.. seealso ::
31- :ref: `ecommerce/products /product-variants `
31+ :ref: `Product variants in the eCommerce < ecommerce/categories_variants /product-variants > `
3232
3333Configuration
3434=============
3535
36- To use product variants, the *Variants * setting **must ** be activated in the Odoo *Sales *
37- application.
36+ To use product variants, go to :menuselection: `Sales --> Configuration --> Settings `, then enable
37+ the :guilabel: `Variants ` feature in the :guilabel: `Product Catalog ` section, and click
38+ :guilabel: `Save ` at the top of the :guilabel: `Settings ` page.
3839
39- To do that, go to :menuselection: `Sales app --> Configuration --> Settings `, and locate the
40- :guilabel: `Product Catalog ` section at the top of the page.
41-
42- In that section, check the box to enable the :guilabel: `Variants ` feature.
43-
44- .. image :: variants/activating-variants-setting.png
45- :align: center
46- :alt: Activating product variants on the Settings page of the Odoo Sales application.
47-
48- Then, click :guilabel: `Save ` at the top of the :guilabel: `Settings ` page.
40+ .. _products/variants/attributes :
4941
5042Attributes
5143==========
@@ -61,7 +53,6 @@ To create a new attribute from the :guilabel:`Attributes` page, click :guilabel:
6153reveals a blank attributes form that can be customized and configured in a number of ways.
6254
6355.. image :: variants/attribute-creation.png
64- :align: center
6556 :alt: A blank attribute creation form in the Odoo Sales application.
6657
6758First, create an :guilabel: `Attribute Name `, such as `Color ` or `Size `.
@@ -70,71 +61,71 @@ Next, select one of the options from the :guilabel:`Display Type` field. The :gu
7061Type ` determines how this product is shown on the online store, *Point of Sale * dashboard, and
7162*Product Configurator *.
7263
73- The :guilabel: `Display Type ` options are:
64+ The following :guilabel: `Display Type ` options are available :
7465
75- - :guilabel: `Pills `: options appear as selectable buttons on the product page of the online store.
76- - :guilabel: `Color `: options appear as small, colored squares, which reflect any HTML color codes
77- - :guilabel: `Radio `: options appear in a bullet-style list on the product page of the online store.
78- - :guilabel: `Select `: options appear in a drop-down menu on the product page of the online store.
79- set, on the product page of the online store.
80- - :guilabel: `Multi-checkbox (option) `: options appear as selectable checkboxes on the product page
81- of the online store. This allows customers to choose options for themselves and is good choice for
82- highly customizable products.
66+ .. tabs ::
8367
84- .. image :: variants/display-types.png
85- :align: center
86- :alt: Display Types on Product Configurator on the online store in Odoo.
68+ .. tab :: :guilabel:`Pills`
8769
88- The :guilabel: `Variant Creation Mode ` field informs Odoo when to automatically create a new variant
89- once an attribute is added to a product.
70+ Options appear as selectable buttons.
9071
91- .. note ::
92- The :guilabel: `Variant Creation Mode ` field **must ** be set to :guilabel: `Never (option) ` in
93- order for the :guilabel: `Multi-checkbox (option) ` to work properly as the :guilabel: `Display
94- Type `.
72+ .. image :: variants/pills-display-type.png
73+ :alt: Pills display type
9574
96- - :guilabel: `Instantly `: creates all possible variants as soon as attributes and values are added to
97- a product template.
98- - :guilabel: `Dynamically `: creates variants **only ** when corresponding attributes and values are
99- added to a sales order.
100- - :guilabel: `Never (option) `: never automatically creates variants.
75+ .. tab :: :guilabel:`Color`
10176
102- .. warning ::
103- Once added to a product, an attribute's :guilabel: `Variants Creation Mode ` cannot be edited.
77+ Options appear as small, colored circles; the colors can be defined using any HTML color code.
10478
105- The :guilabel: ` eCommerce Filter Visibility ` field determines whether or not these attribute options
106- are visible to the customer on the front-end, as they shop on the online store.
79+ .. image :: variants/color-display-type.png
80+ :alt: Pills display type
10781
108- - :guilabel: `Visible `: the attribute values are visible to customers on the front-end.
109- - :guilabel: `Hidden `: the attribute values are hidden from customers on the front-end.
82+ .. tab :: :guilabel:`Radio`
11083
111- Lastly, in the optional :guilabel: `eCommerce Category ` field, select a category from a drop-down
112- menu to group similar attributes under the same section for added specificity and organization.
84+ Options appear as radio buttons.
11385
114- .. note ::
115- To view the details related to the attribute category selected, click the internal link
116- :icon: `fa-arrow-right ` :guilabel: `(right arrow) ` icon to the far-right of the
117- :guilabel: `eCommerce Category ` field, once an option has been selected. Doing so reveals that
118- attribute category's detail form.
86+ .. image :: variants/radio-display-type.png
87+ :alt: Pills display type
11988
120- .. image :: variants/attribute-category-internal-link.png
121- :align: center
122- :alt: A standard attribute category detail page accessible via its internal link arrow icon.
89+ .. tab :: :guilabel:`Select`
12390
124- Here, the :guilabel: `Category Name ` and :guilabel: `Sequence ` is displayed at the top. Followed by
125- :guilabel: `Related Attributes ` associated with the category. These attributes can be
126- dragged-and-dropped into a desirable order of priority.
91+ Options appear in a drop-down menu.
12792
128- Attributes can be directly added to the category, as well, by clicking :guilabel: `Add a line `.
93+ .. image :: variants/select-display-type.png
94+ :alt: Pills display type
12995
130- .. tip ::
131- To create an attribute category directly from this field, start typing the name of the new
132- category, then select either :guilabel: `Create ` or :guilabel: `Create and edit... ` from the
133- drop-down menu that appears.
96+ .. tab :: :guilabel:`Image`
97+
98+ Options appear as images.
13499
135- Clicking :guilabel: `Create ` creates the category, which can be modified later. Clicking
136- :guilabel: `Create and edit... ` creates the category and reveals a :guilabel: `Create Category `
137- pop-up window, in which the new attribute category can be configured and customized.
100+ .. image :: variants/image-display-type.png
101+ :alt: Pills display type
102+
103+ .. tab :: :guilabel:`Multi-checkbox`
104+
105+ Options appear as selectable checkboxes. This allows customers to choose multiple options,
106+ e.g., to add extras to food orders or highly customizable products.
107+
108+ .. image :: variants/multi-checkbox-display-type.png
109+ :alt: Pills display type
110+
111+ The :guilabel: `Variant Creation ` field determines if/when a new variant is automatically created
112+ once an attribute is added to a product.
113+
114+ .. important ::
115+ If the attribute's :guilabel: `Display Type ` is :guilabel: `Multi-checkbox `, you **must ** set the
116+ :guilabel: `Variant Creation ` field to :guilabel: `Never `.
117+
118+ - :guilabel: `Instantly `: creates all possible variants as soon as attributes and values are added to
119+ a product template.
120+ - :guilabel: `Dynamically `: creates variants **only ** when corresponding attributes and values are
121+ added to a sales order.
122+ - :guilabel: `Never `: prevents automatic creation of variants.
123+
124+ .. warning ::
125+ Once added to a product, an attribute's :guilabel: `Variants Creation ` mode cannot be edited.
126+
127+ .. seealso ::
128+ :ref: `Ecommerce-specific settings for attributes <ecommerce/categories_variants/attributes >`
138129
139130Attribute values
140131----------------
@@ -170,12 +161,12 @@ Or, choose a specific color by clicking the *dropper* icon, and selecting a desi
170161currently clickable on the screen.
171162
172163Businesses can attach images to product variant attribute values for customers to view on an
173- eCommerce webite . To do so, click the :icon: `fa-camera ` :guilabel: `(camera) ` icon, then click the
164+ eCommerce website . To do so, click the :icon: `fa-camera ` :guilabel: `(camera) ` icon, then click the
174165:icon: `fa-pencil ` :guilabel: `(pencil) ` icon and select an image from your local drive. This image
175- will appear as a color option on the ecommerce product page .
166+ will appear as a color option for the relevant product.
176167
177- .. image :: variants/ecommerce- pattern-option .png
178- :alt: Pattern as color option on the ecommerce page .
168+ .. image :: variants/pattern-display .png
169+ :alt: Pattern as color option.
179170
180171.. tip ::
181172 Attributes can also be created directly from the product template by adding a new line and typing
@@ -258,6 +249,8 @@ In the :guilabel:`Exclude for` field, different :guilabel:`Product Templates` an
258249:guilabel: `Attribute Values ` can be added. When added, this specific attribute value will be
259250excluded from those specific products.
260251
252+ .. _products/variants/variants-smart-button :
253+
261254Variants smart button
262255---------------------
263256
0 commit comments