Bagisto Forum

    Bagisto

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

    How can I show root category as a single row in shop front page.

    General Discussion
    2
    10
    324
    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.
    • phyothiha
      phyothiha last edited by

      I would like to show each category of product lists in a single row. How can I achieve this? I try to create root category and attach item to it but I will show in the new product row on shop front page.

      Screenshot 2023-11-08 at 2.06.06 PM.jpg

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

        Hi @pth

        Could you please confirm, Are you want to view all the root category products in a single row in the new products.

        Thanks.

        phyothiha 1 Reply Last reply Reply Quote 0
        • phyothiha
          phyothiha @Amitk-Webkul last edited by

          @Amitk-Webkul Sorry to confuse you. Maybe I have root category or root's child category. Let's say I have Promotion and New arrival category and there are products inside those categories. I would like to show a separate row for those category items in front page. The default theme is already included with Featured and New Products row like a screenshot below.

          Screenshot 2023-11-08 at 3.18.48 PM.png

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

            Hello there,

            You can create a carousel for the same. Please follow the below steps.

            -Reach on Theme customization on the Admin panel

            1. Setting-> Theme-> Create theme
            2. fill all the required fields and select Type product carousel and save
            3. here add Filter In Key provide category slug and give 1 in value and save it.
            4. Save it.
            5. Go to the shop

            If you facing the issue please let us know.

            phyothiha 1 Reply Last reply Reply Quote 0
            • phyothiha
              phyothiha @Amitk-Webkul last edited by

              @Amitk-Webkul Sorry my current version is 1.5 and I can't find the step 1.

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

                Hi @pth,

                For the Bagisot version 1.5.1. or below. Just go on the below path.

                1. Settings-> Velocity-> Homepage content.
                2. Open the homepage content in the source code view
                3. Here add your Category in the Blade file for example:-
                @include('shop::home.category', ['category' => 'women'])
                
                1. and Save it.

                It will view your category on the homepage.

                phyothiha 1 Reply Last reply Reply Quote 0
                • phyothiha
                  phyothiha @Amitk-Webkul last edited by

                  @Amitk-Webkul Thanks for quick response. It does work with Bagisto version 2.0 what you mentioned about product_carousel theme customization but promotion carousel listed all products on the front page. In this picture testing product has no category (may be root category), Dog food is assigned to Promotion (slug - promotion) category, Electronic products is assigned to New Arrivals (slug - new-arrivals) category.

                  Screenshot 2023-11-09 at 12.55.41 PM.png

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

                    Hello @phyothiha,

                    If you want to create a promotion carousel. In this case, create promotions for the particular category create a product carouse, and provide a category slug in the carousel.

                    It will appear promotions products in that carousel.

                    phyothiha 1 Reply Last reply Reply Quote 0
                    • phyothiha
                      phyothiha @Amitk-Webkul last edited by

                      @Amitk-Webkul I have no chance. I follow your steps but it stills show all products in Moonsoon category.

                      Category
                      Screenshot 2023-11-30 at 10.35.12 PM.png

                      Product
                      Screenshot 2023-11-30 at 10.31.47 PM.png

                      Theme
                      Screenshot 2023-11-30 at 10.32.06 PM.png

                      Category slug
                      Screenshot 2023-11-30 at 10.32.25 PM.png

                      Shop homepage with Moonsoon product_carousel
                      Screenshot 2023-11-30 at 10.33.40 PM.png

                      phyothiha 1 Reply Last reply Reply Quote 0
                      • phyothiha
                        phyothiha @phyothiha last edited by phyothiha

                        @phyothiha It works now. I remove moonsoon slug from filter and add category_id key with respective id value

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