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
<li>Step 3. <a href="how-to-get-families-and-attributes.html" target="_blank" rel="noopener noreferrer">How to get families and attributes</a></li>
52
+
<li>Step 3. <a href="how-to-get-families-and-attributes.html" target="_blank" rel="noopener noreferrer">How to get families, family variants, and attributes</a></li>
53
53
<li>Step 4. <a href="how-to-get-pim-product-information.html" target="_blank" rel="noopener noreferrer">How to get PIM product information</a></li>
54
54
</ul>
55
55
</div>
@@ -63,7 +63,7 @@ In the PIM we handle product models and product variations.
Before digging into the code you can find out more about these concepts in our <ahref="https://help.akeneo.com/pim/serenity/articles/what-about-products-variants.html#about-products-with-variants"class="endpoint-link"target="_blank"rel="noopener noreferrer">helpcenter</a>
66
+
Before digging into the code you can find out more about these concepts in our <ahref="https://help.akeneo.com/pim/serenity/articles/what-about-products-variants.html#about-products-with-variants"target="_blank"rel="noopener noreferrer">helpcenter</a>
67
67
:::
68
68
69
69
Here are quick definitions:
@@ -130,7 +130,7 @@ function buildApiClient(): GuzzleHttp\Client
130
130
#### 1. Collect product models
131
131
##### 1.1 You are following the App workflow?
132
132
133
-
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!
133
+
In the guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families, family variants, and attributes</a>, we have stored a **family_code_list**. It’s time to use it!
134
134
135
135
```php [activate:PHP]
136
136
@@ -146,7 +146,7 @@ function getProductModels(): array
@@ -209,12 +216,12 @@ function getProductModels(): array
209
216
210
217
#### 2. Process product model
211
218
##### 2.1. Parse and store the product model
212
-
Parse and store a product or a product model is definitely the same thing. Please have a how to our guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families and attributes</a>.
219
+
Parse and store a product or a product model is definitely the same thing. Please have a how to our guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families, family variants, and attributes</a>.
213
220
214
221
##### 2.2. Collect its family variant
215
222
###### 2.2.1 You are following the App workflow?
216
223
217
-
Good news: you already store the family variant 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>. Go ahead!
224
+
Good news: you already store the family variant in the guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families, family variants, and attributes</a>. Go ahead!
218
225
219
226
###### 2.2.2 You are not following the App workflow?
220
227
Query the API.
@@ -282,15 +289,15 @@ function getProductVariants(): array
282
289
283
290
```
284
291
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>
292
+
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, family variants, and attributes</a>
286
293
287
294
### Use case 2: Collect product variation information - set it all on 1 level
288
295
289
296
#### 1. Collect product models
290
297
291
298
##### 1.1 You are following the App workflow?
292
299
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!
300
+
In the guided tutorial <ahref="/tutorials/how-to-get-families-and-attributes.html"target="_blank"rel="noopener noreferrer">How to get families, family variants, and attributes</a>, we have stored a **family_code_list**. It’s time to use it!
294
301
295
302
```php [activate:PHP]
296
303
@@ -302,9 +309,10 @@ function getProductModels(): array
@@ -348,7 +363,7 @@ function getProductModels(): array
348
363
##### 1.2 - You are not following the App workflow?
349
364
350
365
::: 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>
366
+
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, family variants, and attributes</a>
0 commit comments