Array ( [0] => stdClass Object ( [id] => 382 [url_key] => natural-oils [category_name] => زيوت طبيعية [parent_id] => 381 ) ) Array ( [0] => stdClass Object ( [id] => 386 [url_key] => cereal-spices [category_name] => بهارات حب [parent_id] => 383 ) [1] => stdClass Object ( [id] => 385 [url_key] => dried-spices [category_name] => بهارات مجففة [parent_id] => 383 ) [2] => stdClass Object ( [id] => 384 [url_key] => mashed-spices [category_name] => بهارات مطحونة [parent_id] => 383 ) ) Array ( [0] => stdClass Object ( [id] => 388 [url_key] => natural-herbs [category_name] => أعشاب طبيعية [parent_id] => 387 ) [1] => stdClass Object ( [id] => 489 [url_key] => marinated-herbs [category_name] => اعشاب مطحونة [parent_id] => 387 ) [2] => stdClass Object ( [id] => 389 [url_key] => natural-seeds [category_name] => بذور طبيعية [parent_id] => 387 ) ) Array ( [0] => stdClass Object ( [id] => 493 [url_key] => dbs [category_name] => دبس [parent_id] => 395 ) ) Array ( [0] => stdClass Object ( [id] => 447 [url_key] => nuts [category_name] => المكسرات [parent_id] => 401 ) [1] => stdClass Object ( [id] => 438 [url_key] => sweets [category_name] => حلويات [parent_id] => 401 ) [2] => stdClass Object ( [id] => 491 [url_key] => other-sweets [category_name] => حلويات متنوعة [parent_id] => 401 ) [3] => stdClass Object ( [id] => 402 [url_key] => nuts-and-fruits [category_name] => مكسرات وفواكه مجففة [parent_id] => 401 ) ) Array ( [0] => stdClass Object ( [id] => 400 [url_key] => seeds-legumes [category_name] => بقوليات حب [parent_id] => 398 ) ) Array ( [0] => stdClass Object ( [id] => 392 [url_key] => natural-tea [category_name] => شاي طبيعي [parent_id] => 390 ) [1] => stdClass Object ( [id] => 394 [url_key] => ready-coffee [category_name] => قهوة جاهزة [parent_id] => 390 ) [2] => stdClass Object ( [id] => 391 [url_key] => hot-drinks [category_name] => مشروبات ساخنة [parent_id] => 390 ) ) Array ( [0] => stdClass Object ( [id] => 444 [url_key] => dates [category_name] => تمور [parent_id] => 443 ) [1] => stdClass Object ( [id] => 445 [url_key] => shabiat-and-bakery [category_name] => شعبيات ومخبوزات [parent_id] => 443 ) ) Array ( [0] => stdClass Object ( [id] => 498 [url_key] => hair-care [category_name] => hair care [parent_id] => 442 ) [1] => stdClass Object ( [id] => 495 [url_key] => other [category_name] => اخرى [parent_id] => 442 ) [2] => stdClass Object ( [id] => 446 [url_key] => others [category_name] => البخور والعطور [parent_id] => 442 ) )
Array
(
    [0] => Array
        (
            [category_id] => 381
            [url_key] => oils
            [category_name] => زيوت
            [image] => 381.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 382
                            [url_key] => natural-oils
                            [category_name] => زيوت طبيعية
                            [parent_id] => 381
                        )

                )

        )

    [1] => Array
        (
            [category_id] => 383
            [url_key] => spices
            [category_name] => البهارات
            [image] => 383.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 386
                            [url_key] => cereal-spices
                            [category_name] => بهارات حب
                            [parent_id] => 383
                        )

                    [1] => stdClass Object
                        (
                            [id] => 385
                            [url_key] => dried-spices
                            [category_name] => بهارات مجففة
                            [parent_id] => 383
                        )

                    [2] => stdClass Object
                        (
                            [id] => 384
                            [url_key] => mashed-spices
                            [category_name] => بهارات مطحونة
                            [parent_id] => 383
                        )

                )

        )

    [2] => Array
        (
            [category_id] => 387
            [url_key] => herbs
            [category_name] => أعشاب
            [image] => 387.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 388
                            [url_key] => natural-herbs
                            [category_name] => أعشاب طبيعية
                            [parent_id] => 387
                        )

                    [1] => stdClass Object
                        (
                            [id] => 489
                            [url_key] => marinated-herbs
                            [category_name] => اعشاب مطحونة 
                            [parent_id] => 387
                        )

                    [2] => stdClass Object
                        (
                            [id] => 389
                            [url_key] => natural-seeds
                            [category_name] => بذور طبيعية
                            [parent_id] => 387
                        )

                )

        )

    [3] => Array
        (
            [category_id] => 395
            [url_key] => honey-natural
            [category_name] => العسل الطبيعي
            [image] => 395.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 493
                            [url_key] => dbs
                            [category_name] => دبس
                            [parent_id] => 395
                        )

                )

        )

    [4] => Array
        (
            [category_id] => 401
            [url_key] => sweets-and-nuts
            [category_name] => حلويات ومكسرات
            [image] => 401.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 447
                            [url_key] => nuts
                            [category_name] => المكسرات
                            [parent_id] => 401
                        )

                    [1] => stdClass Object
                        (
                            [id] => 438
                            [url_key] => sweets
                            [category_name] => حلويات 
                            [parent_id] => 401
                        )

                    [2] => stdClass Object
                        (
                            [id] => 491
                            [url_key] => other-sweets
                            [category_name] => حلويات متنوعة
                            [parent_id] => 401
                        )

                    [3] => stdClass Object
                        (
                            [id] => 402
                            [url_key] => nuts-and-fruits
                            [category_name] => مكسرات وفواكه مجففة
                            [parent_id] => 401
                        )

                )

        )

    [5] => Array
        (
            [category_id] => 398
            [url_key] => legumes
            [category_name] => البقوليات
            [image] => 398.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 400
                            [url_key] => seeds-legumes
                            [category_name] => بقوليات حب
                            [parent_id] => 398
                        )

                )

        )

    [6] => Array
        (
            [category_id] => 390
            [url_key] => drinks
            [category_name] => المشروبات
            [image] => 390.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 392
                            [url_key] => natural-tea
                            [category_name] => شاي طبيعي
                            [parent_id] => 390
                        )

                    [1] => stdClass Object
                        (
                            [id] => 394
                            [url_key] => ready-coffee
                            [category_name] => قهوة جاهزة
                            [parent_id] => 390
                        )

                    [2] => stdClass Object
                        (
                            [id] => 391
                            [url_key] => hot-drinks
                            [category_name] => مشروبات ساخنة
                            [parent_id] => 390
                        )

                )

        )

    [7] => Array
        (
            [category_id] => 443
            [url_key] => shabiat
            [category_name] => شعبيات وتمور
            [image] => 443.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 444
                            [url_key] => dates
                            [category_name] => تمور
                            [parent_id] => 443
                        )

                    [1] => stdClass Object
                        (
                            [id] => 445
                            [url_key] => shabiat-and-bakery
                            [category_name] => شعبيات ومخبوزات
                            [parent_id] => 443
                        )

                )

        )

    [8] => Array
        (
            [category_id] => 442
            [url_key] => other-sections
            [category_name] => اخرى
            [image] => 442.jpg
            [subcategory] => Array
                (
                    [0] => stdClass Object
                        (
                            [id] => 498
                            [url_key] => hair-care
                            [category_name] => hair care
                            [parent_id] => 442
                        )

                    [1] => stdClass Object
                        (
                            [id] => 495
                            [url_key] => other
                            [category_name] => اخرى 
                            [parent_id] => 442
                        )

                    [2] => stdClass Object
                        (
                            [id] => 446
                            [url_key] => others
                            [category_name] => البخور والعطور
                            [parent_id] => 442
                        )

                )

        )

)