File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
app/code/Meta/Catalog/Model/Product/Feed/ProductRetriever Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -124,15 +124,15 @@ public function retrieve($offset = 1, $limit = self::LIMIT): array
124
124
$ attributeLabel = $ productAttribute ->getSource ()->getOptionText ($ attributeValue );
125
125
$ configurableSettings [$ attributeCode ] = $ attributeLabel ;
126
126
}
127
- // Assign parent product name to all child products' name (used as variant name is Meta catalog)
128
- // https://developers.facebook.com/docs/commerce-platform/catalog/variants
129
- $ childProduct ->setName ($ product ->getName ());
130
- $ childProduct ->setConfigurableSettings ($ configurableSettings );
131
- $ childProduct ->setParentProductUrl ($ product ->getProductUrl ());
132
- if (!$ childProduct ->getDescription ()) {
133
- $ childProduct ->setDescription ($ product ->getDescription ());
134
- }
135
- $ simpleProducts [] = $ childProduct ;
127
+ // Assign parent product name to all child products' name (used as variant name is Meta catalog)
128
+ // https://developers.facebook.com/docs/commerce-platform/catalog/variants
129
+ $ childProduct ->setName ($ product ->getName ());
130
+ $ childProduct ->setConfigurableSettings ($ configurableSettings );
131
+ $ childProduct ->setParentProductUrl ($ product ->getProductUrl ());
132
+ if (!$ childProduct ->getDescription ()) {
133
+ $ childProduct ->setDescription ($ product ->getDescription ());
134
+ }
135
+ $ simpleProducts [] = $ childProduct ;
136
136
}
137
137
}
138
138
}
You can’t perform that action at this time.
0 commit comments