Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Category Tree

    Bug Report
    1
    1
    28
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jrevell1976 last edited by

      We are building a 4 level deep category structure for a website.
      This works perfectly in the admin, but the frontend is only showing 2 levels deep in the api.

      xaazxxsa.png

      Can anyone assist with allowing the api to show the entire api for categories and sub categories please.

      Code from api is below
      [
      {
      "id": "4",
      "position": 2,
      "logoPath": null,
      "logoUrl": null,
      "status": true,
      "displayMode": "products_and_description",
      "lft": 12,
      "rgt": 13,
      "parentId": "1",
      "additional": null,
      "bannerPath": null,
      "bannerUrl": null,
      "name": "Vehicle Washing",
      "slug": "vehicle-washing",
      "urlPath": null,
      "description": "<p>test</p>",
      "metaTitle": "",
      "metaDescription": "",
      "metaKeywords": "",
      "localeId": null,
      "createdAt": "2025-10-14 19:26:14",
      "updatedAt": "2025-10-14 19:28:04",
      "filterableAttributes": [
      {
      "id": "25",
      "code": "brand",
      "adminName": "Brand",
      "type": "select",
      "position": 28
      }
      ],
      "children": []
      },
      {
      "id": "5",
      "position": 3,
      "logoPath": null,
      "logoUrl": null,
      "status": true,
      "displayMode": "products_and_description",
      "lft": 14,
      "rgt": 15,
      "parentId": "1",
      "additional": null,
      "bannerPath": null,
      "bannerUrl": null,
      "name": "Vehicle Valeting",
      "slug": "vehicle-valeting",
      "urlPath": null,
      "description": "<p>Test</p>",
      "metaTitle": "",
      "metaDescription": "",
      "metaKeywords": "",
      "localeId": null,
      "createdAt": "2025-10-14 19:30:18",
      "updatedAt": "2025-10-14 19:30:18",
      "filterableAttributes": [
      {
      "id": "25",
      "code": "brand",
      "adminName": "Brand",
      "type": "select",
      "position": 28
      }
      ],
      "children": []
      },
      {
      "id": "6",
      "position": 3,
      "logoPath": null,
      "logoUrl": null,
      "status": true,
      "displayMode": "products_and_description",
      "lft": 16,
      "rgt": 17,
      "parentId": "1",
      "additional": null,
      "bannerPath": null,
      "bannerUrl": null,
      "name": "Vehicle Polishing",
      "slug": "vehicle-polishing",
      "urlPath": null,
      "description": "<p>Test</p>",
      "metaTitle": "",
      "metaDescription": "",
      "metaKeywords": "",
      "localeId": null,
      "createdAt": "2025-10-14 19:30:53",
      "updatedAt": "2025-10-14 19:30:53",
      "filterableAttributes": [
      {
      "id": "25",
      "code": "brand",
      "adminName": "Brand",
      "type": "select",
      "position": 28
      }
      ],
      "children": []
      },
      {
      "id": "7",
      "position": 1,
      "logoPath": null,
      "logoUrl": null,
      "status": true,
      "displayMode": "products_and_description",
      "lft": 18,
      "rgt": 33,
      "parentId": "1",
      "additional": null,
      "bannerPath": null,
      "bannerUrl": null,
      "name": "Vinyl Graphics",
      "slug": "vinyl-graphics",
      "urlPath": null,
      "description": "<p>to follow</p>",
      "metaTitle": "Vehicle Vinyl Graphics - Race Car Graphics UK",
      "metaDescription": "Stunning vehicle vinyl graphics which with stand out. A great, cost effective way to brand you van with vehicle graphics.",
      "metaKeywords": "",
      "localeId": null,
      "createdAt": "2025-10-14 19:49:59",
      "updatedAt": "2025-10-14 19:49:59",
      "filterableAttributes": [
      {
      "id": "25",
      "code": "brand",
      "adminName": "Brand",
      "type": "select",
      "position": 28
      }
      ],
      "children": [
      {
      "id": "8",
      "position": 1,
      "logoPath": null,
      "logoUrl": null,
      "status": true,
      "displayMode": "products_and_description",
      "lft": 19,
      "rgt": 26,
      "parentId": "7",
      "additional": null,
      "bannerPath": null,
      "bannerUrl": null,
      "name": "Car Auto Graphics",
      "slug": "car-auto-graphics",
      "urlPath": null,
      "description": "<p>to follow</p>",
      "metaTitle": "Car Auto Graphics - Race Car Graphics UK",
      "metaDescription": "Car auto graphics which will set you apart from your competitors. Use our simple to use online builder.",
      "metaKeywords": "",
      "localeId": null,
      "createdAt": "2025-10-14 19:53:32",
      "updatedAt": "2025-10-16 15:48:07"
      },
      {
      "id": "14",
      "position": 1,
      "logoPath": null,
      "logoUrl": null,
      "status": true,
      "displayMode": "products_and_description",
      "lft": 27,
      "rgt": 32,
      "parentId": "7",
      "additional": null,
      "bannerPath": null,
      "bannerUrl": null,
      "name": "Van Signage",
      "slug": "van-signage",
      "urlPath": null,
      "description": "<p>test</p>",
      "metaTitle": "",
      "metaDescription": "",
      "metaKeywords": "",
      "localeId": null,
      "createdAt": "2025-10-16 20:21:32",
      "updatedAt": "2025-10-16 20:21:39"
      }
      ]
      }
      ]

      Is this a bug after the 2.3 upgrade

      thanks
      Justin

      1 Reply Last reply Reply Quote 0
      • First post
        Last post