obtain product_id in a js

moyanoa
Excursionist
28 2 5

Hi there I need to get product_id in a collection list, I use this script and I've data with all product information, but I don't see product_id....

 
If I do a console.log(data) I get:
  1. " A staple in any wardrobe, the MONROW athletic tee… in., Hips: 34.5 in. Style #HT0343-22 Made in LA ", price_min_usd: 108, skus: Array(4), compare_at_price_max_usd: 0, available: true, …}
    1. available: true
    2. barcodes: Array(0)
      1. length: 0
      2. __proto__: Array(0)
    3. best_selling_rank: 999999
    4. body_html: " A staple in any wardrobe, the MONROW athletic tee combines the comfort of a boxy tee with the functionality of your favorite workout shirt. Made in our classic textured tri-blend fabric, this tee is cut with a purpose. The high neckline and perfectly fit shoulders keep this short sleeve tee from drooping while the not-quite-cropped hem keeps it flirty. Embroidered with "'I will take care of it.' -a woman," because we know who really runs things. 50% Polyester, 38% Cotton, 12% Rayon Machine wash cold, tumble dry low Model is wearing a size XS Model measurements: Height: 5 ft. 9 in., Bust: 30 in., Waist: 25 in., Hips: 34.5 in. Style #HT0343-22 Made in LA "
    5. collections: (11) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
    6. compare_at_price: 0
    7. compare_at_price_max: 0
    8. compare_at_price_max_usd: 0
    9. compare_at_price_min: 0
    10. compare_at_price_min_usd: 0
    11. content: " A staple in any wardrobe, the MONROW athletic tee combines the comfort of a boxy tee with the functionality of your favorite workout shirt. Made in our classic textured tri-blend fabric, this tee is cut with a purpose. The high neckline and perfectly fit shoulders keep this short sleeve tee from drooping while the not-quite-cropped hem keeps it flirty. Embroidered with "'I will take care of it.' -a woman," because we know who really runs things. 50% Polyester, 38% Cotton, 12% Rayon Machine wash cold, tumble dry low Model is wearing a size XS Model measurements: Height: 5 ft. 9 in., Bust: 30 in., Waist: 25 in., Hips: 34.5 in. Style #HT0343-22 Made in LA "
    12. created_at: "2021-02-25T10:22:38-08:00"
    13. description: " A staple in any wardrobe, the MONROW athletic tee combines the comfort of a boxy tee with the functionality of your favorite workout shirt. Made in our classic textured tri-blend fabric, this tee is cut with a purpose. The high neckline and perfectly fit shoulders keep this short sleeve tee from drooping while the not-quite-cropped hem keeps it flirty. Embroidered with "'I will take care of it.' -a woman," because we know who really runs things. 50% Polyester, 38% Cotton, 12% Rayon Machine wash cold, tumble dry low Model is wearing a size XS Model measurements: Height: 5 ft. 9 in., Bust: 30 in., Waist: 25 in., Hips: 34.5 in. Style #HT0343-22 Made in LA "
    14. featured_image: {src: "https://cdn.shopify.com/s/files/1/1501/5178/products/HT0343-22_GRANITE_1.jpg?v=1614707079", width: 2200, alt: "Women's Day Athletic Tee (6539025514678)", id: 27987793936566, position: 1, …}
    15. handle: "womens-day-athletic-tee-granite"
    16. html: {theme_id: 0, value: ""}
    17. id: 6539025514678
    18. images: (6) [{…}, {…}, {…}, {…}, {…}, {…}]
    19. images_info: (6) [{…}, {…}, {…}, {…}, {…}, {…}]
    20. media: []
    21. metafields: []
    22. options: (2) ["size", "color"]
    23. options_with_values: (2) [{…}, {…}]
    24. percent_sale_min: 0
    25. percent_sale_min_usd: 0
    26. price: 10800
    27. price_max: 10800
    28. price_max_usd: 108
    29. price_min: 10800
    30. price_min_usd: 108
    31. price_varies: false
    32. product_type: "TEE"
    33. published_at: "2021-03-02T12:34:23-08:00"
    34. published_scope: "web"
    35. review_count: 0
    36. review_ratings: 0
    37. selected_or_first_available_variant: {merged_options: Array(2), inventory_quantity: 8, image: null, presentment_prices: Array(1), compare_at_price: 0, …}
    38. skus: (4) ["WO-HT0343-22-GRANITE-XS", "WO-HT0343-22-GRANITE-S", "WO-HT0343-22-GRANITE-M", "WO-HT0343-22-GRANITE-L"]
    39. tags: (6) ["GREY", "WEB EXCLUSIVE", "WOMENS", "WOMENS DAY 2021", "WOMENS TOPS", "WOMENS TOPS TEES"]
    40. template_suffix: ""
    41. title: "Women's Day Athletic Tee"
    42. updated_at: "2021-03-04T15:40:59-08:00"
    43. url: "/products/womens-day-athletic-tee-granite"
    44. variants: (4) [{…}, {…}, {…}, {…}]
    45. vendor: "MONROW"
    46. __proto__: Object
0 Likes