Skip to content

Commit 7bb07d8

Browse files
authored
Merge pull request #710 from akeneo/API-1943-add-guided-tutorial-collect-product-information-to-documentation
Api 1943 add guided tutorial collect product information to documentation
2 parents 61dea5d + 0cd1aac commit 7bb07d8

File tree

4 files changed

+588
-9
lines changed

4 files changed

+588
-9
lines changed

content/tutorials/guides/how-to-get-families-and-attributes.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,32 @@ foreach ($rawAttributes as $rawAttribute) {
193193
saveAttributes($attributes);
194194
```
195195

196+
Retrieved attribute list follows this structure:
197+
```php
198+
199+
// Output
200+
[
201+
'attribute_code' => [
202+
'code' => 'attribute_code',
203+
'type' => 'pim_catalog_text',
204+
],
205+
]
206+
```
207+
196208
::: warning
197209
attribute_code_list may be significant, very big! If you get an <a href="https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.15" target="_blank" rel="noopener noreferrer">HTTP 414 error</a>
198210
, you probably hit these boundaries. A workaround is to split your attribute_code_list into different parts and call them independently.
199211
:::
212+
213+
<div class="block-next-steps block-next-steps-alt">
214+
<img src="/img/illustrations/illus--Attribute.svg" width="140px">
215+
<div class="block-next-steps-column">
216+
<div class="block-next-steps-title">Next Step</div>
217+
<div class="block-next-steps-text">Well done! Keep digging into the “App workflow” and follow the next tutorial!</div>
218+
<div>
219+
<ul>
220+
<li><a href="/tutorials/how-to-get-pim-product-information.html">How to get PIM product information</a></li>
221+
</ul>
222+
</div>
223+
</div>
224+
</div>

0 commit comments

Comments
 (0)