Skip to content

Instantly share code, notes, and snippets.

@arif98741
Last active July 28, 2022 12:45
Show Gist options
  • Save arif98741/4da8ec94b1ce572ae696975c533f36dd to your computer and use it in GitHub Desktop.
Save arif98741/4da8ec94b1ce572ae696975c533f36dd to your computer and use it in GitHub Desktop.
Get PRoduct and Details all Related to Products
[
{
"categories_id": 2,
"category_name": "Women",
"category_description": null,
"categories_image": 36,
"categories_icon": 584,
"size_chart": "images/media/2022/03/HsD6r21410.webp",
"parent_id": 0,
"sort_order": null,
"meta_keywords": null,
"meta_description": null,
"meta_title": null,
"alt_tag_text": null,
"date_added": null,
"last_modified": null,
"categories_slug": "women",
"categories_status": 0,
"is_home_category": 0,
"is_new_category": 0,
"is_home_block": 1,
"round_banner": "images/media/2022/03/MTh7P08409.jpg",
"sort_ordering": "2",
"updated_at": "2022-06-27T06:52:08.000000Z",
"created_at": "2022-02-17T16:20:23.000000Z",
"category_image": {
"id": 36,
"image_id": null,
"image_type": "ACTUAL",
"height": 275,
"width": 183,
"path": "storage/file/images/media/category/2022/06/28/cat_1656393742-images22.jpg",
"created_at": "2022-06-27T06:19:11.000000Z",
"updated_at": "2022-06-27T23:22:22.000000Z"
},
"products_to_cat": [
{
"products_to_categories_id": 75,
"products_id": 2,
"categories_id": 1,
"products": {
"products_id": 2,
"products_quantity": 0,
"products_model": "sdfsdf",
"product_collection_id": null,
"bar_code": "bbbbbbbb",
"products_image": "5541",
"product_sizechart": "5542",
"fit_guide": null,
"products_video_link": "bbbbbb",
"products_price": "3000.00",
"products_date_added": null,
"products_last_modified": null,
"products_date_available": null,
"products_weight": null,
"products_weight_unit": "gm",
"products_status": 1,
"is_current": 1,
"tax": 7.5,
"products_tax_class_id": null,
"manufacturers_id": null,
"products_ordered": 0,
"products_liked": null,
"low_limit": 0,
"is_feature": 0,
"is_newarraival": 0,
"products_slug": "bbbbbbbbbbb",
"products_type": 0,
"products_min_order": 1,
"products_max_stock": 9999,
"sort_ordering": null,
"brand_id": 5,
"created_at": "2022-07-26T11:35:45.000000Z",
"updated_at": null,
"product_description": {
"id": 2,
"products_id": 2,
"bar_code": null,
"language_id": 1,
"products_name": "bbbbbbbbbbb",
"products_meta_title": null,
"products_keyword": null,
"products_alt_tag": null,
"products_meta_keyword": null,
"products_meta_description": null,
"meta_descriptios": null,
"products_description": "bb",
"product_tagline": "bb",
"material": "bb",
"technical_info": null,
"products_url": null,
"products_viewed": 0,
"products_left_banner": null,
"products_left_banner_start_date": null,
"products_left_banner_expire_date": null,
"products_right_banner": null,
"products_right_banner_start_date": null,
"products_right_banner_expire_date": null,
"product_images": [
{
"id": 38,
"products_id": 2,
"image": "5607",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 37,
"products_id": 2,
"image": "5606",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 36,
"products_id": 2,
"image": "5605",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 35,
"products_id": 2,
"image": "5604",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 28,
"products_id": 2,
"image": "5574",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 31,
"products_id": 2,
"image": "5580",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 32,
"products_id": 2,
"image": "5581",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 34,
"products_id": 2,
"image": "5603",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 39,
"products_id": 2,
"image": "5608",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 6,
"image_path": null
},
{
"id": 40,
"products_id": 2,
"image": "5609",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 6,
"image_path": null
},
{
"id": 41,
"products_id": 2,
"image": "5610",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 6,
"image_path": null
},
{
"id": 42,
"products_id": 2,
"image": "5611",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 43,
"products_id": 2,
"image": "5612",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 44,
"products_id": 2,
"image": "5613",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 45,
"products_id": 2,
"image": "140",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 46,
"products_id": 2,
"image": "141",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 47,
"products_id": 2,
"image": "142",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": null
},
{
"id": 48,
"products_id": 2,
"image": "143",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 8,
"image_path": {
"id": 143,
"image_id": null,
"image_type": "ACTUAL",
"height": 1400,
"width": 1000,
"path": "storage/file/images/media/products/multipleimage/2022/07/26/pm_1658835381-salwar-kameez-kamiz-three-3-piece-women-girls-ladies-fashion-dress-kurta-bangladesh-pakistani-indian-georget-Embroide",
"created_at": "2022-07-26T11:36:21.000000Z",
"updated_at": "2022-07-26T11:36:21.000000Z"
}
}
]
}
}
}
]
},
{
"categories_id": 3,
"category_name": "Kidss",
"category_description": null,
"categories_image": 37,
"categories_icon": 119,
"size_chart": null,
"parent_id": 335,
"sort_order": null,
"meta_keywords": null,
"meta_description": null,
"meta_title": null,
"alt_tag_text": null,
"date_added": null,
"last_modified": null,
"categories_slug": "kids",
"categories_status": 0,
"is_home_category": 1,
"is_new_category": 0,
"is_home_block": 1,
"round_banner": null,
"sort_ordering": "3",
"updated_at": "2022-06-29T23:18:56.000000Z",
"created_at": "2022-02-17T16:15:24.000000Z",
"category_image": {
"id": 37,
"image_id": null,
"image_type": "ACTUAL",
"height": 183,
"width": 275,
"path": "storage/file/images/media/category/2022/06/28/cat_1656397850-images19.jpg",
"created_at": "2022-06-27T06:37:57.000000Z",
"updated_at": "2022-06-28T00:30:50.000000Z"
},
"products_to_cat": [
{
"products_to_categories_id": 49,
"products_id": 3,
"categories_id": 2,
"products": {
"products_id": 3,
"products_quantity": 0,
"products_model": "thjtyjh",
"product_collection_id": null,
"bar_code": "jthj",
"products_image": "5578",
"product_sizechart": "",
"fit_guide": null,
"products_video_link": "tjhytj",
"products_price": "3000.00",
"products_date_added": null,
"products_last_modified": null,
"products_date_available": null,
"products_weight": null,
"products_weight_unit": "gm",
"products_status": 1,
"is_current": 1,
"tax": 7.5,
"products_tax_class_id": null,
"manufacturers_id": null,
"products_ordered": 0,
"products_liked": null,
"low_limit": 0,
"is_feature": 0,
"is_newarraival": 0,
"products_slug": "yjyj",
"products_type": 0,
"products_min_order": 1,
"products_max_stock": 9999,
"sort_ordering": null,
"brand_id": null,
"created_at": "2022-07-07T01:03:11.000000Z",
"updated_at": null,
"product_description": {
"id": 3,
"products_id": 3,
"bar_code": null,
"language_id": 1,
"products_name": "yjyj",
"products_meta_title": null,
"products_keyword": null,
"products_alt_tag": null,
"products_meta_keyword": null,
"products_meta_description": null,
"meta_descriptios": null,
"products_description": "jy",
"product_tagline": "yjy",
"material": "jyj",
"technical_info": null,
"products_url": null,
"products_viewed": 0,
"products_left_banner": null,
"products_left_banner_start_date": null,
"products_left_banner_expire_date": null,
"products_right_banner": null,
"products_right_banner_start_date": null,
"products_right_banner_expire_date": null,
"product_images": [
{
"id": 15,
"products_id": 3,
"image": "5561",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 16,
"products_id": 3,
"image": "5562",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 17,
"products_id": 3,
"image": "5563",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 18,
"products_id": 3,
"image": "5564",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 19,
"products_id": 3,
"image": "5565",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 20,
"products_id": 3,
"image": "5566",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 21,
"products_id": 3,
"image": "5567",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
},
{
"id": 22,
"products_id": 3,
"image": "5568",
"multi_image_alter_tag": null,
"htmlcontent": "",
"sort_order": 0,
"color_values_id": 0,
"image_path": null
}
]
}
}
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment