You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/tutorials/guides/how-to-collect-product-variations.md
+130-2Lines changed: 130 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,11 @@ In this tutorial, we will introduce you to the two use cases you may encounter f
97
97
-**Use case 2**: Collect all product variation information on 1 level only)
98
98
99
99
::: info
100
-
We noticed that many e-commerce solutions understand product variation on only one level. This means that for Akeneo a special recollection of the variations must be done to have them all on the same level.
100
+
**Use case 2**
101
+
<br>
102
+
We noticed that many e-commerce solutions understand product variation on only one level. This means that for Akeneo **a special recollection of the variations must be done to have them all on the same level.**
103
+
<br>
104
+
Stay tuned! Our teams are currently working on this specific use case and should release it very soon.
101
105
:::
102
106
103
107
### 0 - Initialization
@@ -278,4 +282,128 @@ function getProductVariants(): array
278
282
279
283
```
280
284
281
-
Again, treat each product like a simple product. Please refer to the guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families and attributes</a>
285
+
Again, treat each product like a simple product. Please refer to the guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families and attributes</a>
286
+
287
+
### Use case 2: Collect product variation information - set it all on 1 level
288
+
289
+
#### 1. Collect product models
290
+
291
+
##### 1.1 You are following the App workflow?
292
+
293
+
In the guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families and attributes</a>, we have stored a **family_code_list**. It’s time to use it!
##### 1.2 - You are not following the App workflow?
349
+
350
+
::: warning
351
+
Make sure to get the list of your family variants before continuing like in <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families and attributes</a>
Parse and store the product model like in [**2.1. Parse and store the product model**](/tutorials/how-to-collect-product-variations.html#21-parse-and-store-the-product-model)
406
+
407
+
##### 2.2. Collect its product variants
408
+
409
+
Collect product variants the same way than in [**2.2. Collect its product variants**](/tutorials/how-to-collect-product-variations.html#22-collect-its-product-variants)
0 commit comments