Skip to content

Commit 32dfe2e

Browse files
committed
chore: remove the internal commerce specific settings fields selection from product catalog call
Signed-off-by: sarthakjdev <jsarthak448@gmail.com>
1 parent 8d2ab13 commit 32dfe2e

1 file changed

Lines changed: 2 additions & 20 deletions

File tree

manager/catalog_manager.go

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -250,19 +250,17 @@ func (cm *CatalogManager) GetCatalogProducts(catalogId string) ([]ProductItem, e
250250

251251
fields := []string{
252252
"id",
253+
"price",
253254
"additional_image_cdn_urls",
254255
"additional_image_urls",
256+
"condition",
255257
"additional_variant_attributes",
256258
"age_group",
257-
"applinks",
258259
"availability",
259260
"brand",
260-
"capability_to_review_status",
261261
"category",
262262
"category_specific_fields",
263263
"color",
264-
"commerce_insights",
265-
"condition",
266264
"currency",
267265
"custom_data",
268266
"custom_label_0",
@@ -285,43 +283,27 @@ func (cm *CatalogManager) GetCatalogProducts(catalogId string) ([]ProductItem, e
285283
"image_fetch_status",
286284
"image_url",
287285
"images",
288-
"importer_address",
289-
"importer_name",
290-
"invalidation_errors",
291286
"inventory",
292-
"manufacturer_info",
293-
"manufacturer_part_number",
294-
"marked_for_product_launch",
295287
"material",
296-
"mobile_link",
297288
"name",
298289
"ordering_index",
299290
"origin_country",
300291
"parent_product_id",
301292
"pattern",
302-
"post_conversion_signal_based_enforcement_appeal_eligibility",
303-
"price",
304-
"product_feed",
305-
"product_group",
306293
"product_local_info",
307294
"product_type",
308295
"quantity_to_sell_on_facebook",
309296
"retailer_id",
310297
"retailer_product_group_id",
311-
"review_rejection_reasons",
312-
"review_status",
313298
"sale_price",
314299
"sale_price_end_date",
315300
"sale_price_start_date",
316-
"shipping_weight_unit",
317-
"shipping_weight_value",
318301
"short_description",
319302
"size",
320303
"start_date",
321304
"tags",
322305
"url",
323306
"vendor_id",
324-
"video_fetch_status",
325307
"visibility",
326308
"wa_compliance_category",
327309
}

0 commit comments

Comments
 (0)