Skip to content

Commit 8cdd2f7

Browse files
LevFlavienSamuel Gomis
authored andcommitted
fix(): fix json snippet formatting
1 parent 0acd11c commit 8cdd2f7

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

content/tutorials/guides/how-to-get-pim-product-information.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,33 +84,33 @@ This `data` field is composed of the product information you want to extract. Th
8484
In a nutshell:
8585

8686
<!-- todo find the right language for comments highlight -->
87-
```code
87+
```php
8888

8989
{
90-
"values": { # Contains all the product values, stored in associative arrays
91-
"an_attribute_code": [ # Key
92-
{ # AttributeValue object
93-
"data": {...}, # the data you want to extract...
90+
"values": { # Contains all the product values, stored in associative arrays
91+
"an_attribute_code": [ # Key
92+
{ # AttributeValue object
93+
"data": {...}, # the data you want to extract...
9494
"locale": "a_locale", # ... for a given locale...
9595
"scope": "a_channel" # ... and a channel.
9696
},
9797
{ # AttributeValue object
98-
"data": {...}, # the data you want to extract...
98+
"data": {...}, # the data you want to extract...
9999
"locale": "another_locale", # ... for a given locale...
100100
"scope": "another_channel", # ... and a channel.
101101
"linked_data": {
102-
"attribute": "attribute_code",
103-
"code": "an_option_code",
104-
"labels": {
102+
"attribute": "attribute_code",
103+
"code": "an_option_code",
104+
"labels": {
105105
"en_US": "option_code_label_for_locale_en_us",
106-
"fr_FR": "option_code_label_for_locale_fr_fr"
106+
"fr_FR": "option_code_label_for_locale_fr_fr"
107+
}
107108
}
108-
}
109109
},
110-
...
110+
...
111111
],
112-
"another_attribute_code": [...],
113-
...
112+
"another_attribute_code": [...],
113+
...
114114
}
115115
}
116116
```

0 commit comments

Comments
 (0)