Bagisto Forum

    Bagisto

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

    My Menu is Too Cluttered

    General Discussion
    3
    4
    238
    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.
    • D
      Douskou226 last edited by

      Hello, I would like to know how to reduce the number of categories displayed at the top of the page next to the Velocity logo.

      I only added 4 menu items, and it has already become very cluttered.

      I also want the subcategories to be displayed in the category carousel below the slider.!Capture d’écran du 2024-11-10 11-56-51.jpg

      ashish2409 1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 @Douskou226 last edited by

        @Douskou226

        Hello There,
        Thank you So Much for your query.

        Query Number 1 -> I also want the subcategories to be displayed in the category carousel below the slider.!

        You need to make some changes in below path and then you can see the details of Subcategories.

        packages/Webkul/Shop/src/Resources/views/components/categories/carousel.blade.php

        Query Number 2 -> I would like to know how to reduce the number of categories displayed at the top of the page next to the Velocity logo.

        You need to add limit here in below path.

        https://github.com/bagisto/bagisto/blob/5adb4a894b3809ac505ef9e9335abd425d1837e2/packages/Webkul/Shop/src/Resources/views/components/layouts/header/desktop/bottom.blade.php#L253-L372

        In case you find any issue please let us know. We would love to help you on the same.
        Thanks.

        1 Reply Last reply Reply Quote 0
        • D
          Douskou226 last edited by

          I'm working with Bagisto 2.2 and I'm trying to modify the category carousel to display subcategories instead of parent categories.

          I'm in the file as you told me: packages/Webkul/Shop/src/Resources/views/components/categories/carousel.blade.php

          Currently, the carousel displays parent categories using this method:

          getCategories() {
              this.$axios.get(this.src)
                  .then(response => {
                      this.isLoading = false;
                      this.categories = response.data.data;
                  }).catch(error => {
                      console.log(error);
                  });
          }
          

          I want to modify this to show all subcategories (children categories) instead of parent categories. I understand that in Bagisto's structure we have:

          A root category (main category)
          Parent categories inside the root category
          Subcategories inside parent categories

          How can I modify this file to display subcategories in the carousel instead of parent categories?

          1 Reply Last reply Reply Quote 0
          • Rishabh-Webkul
            Rishabh-Webkul last edited by

            Hello @Douskou226

            Here we will guide you with the file path if you want us to do further customization then it will be a paid service for this you can purchase our support hours from the link below.

            Support Hours: https://store.webkul.com/bagisto-hourly-customization-package.html

            Thanks & Regards

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