Bagisto Forum

    Bagisto

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

    How to create category product grid column on home page Front-End like this

    General Discussion
    2
    12
    1026
    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.
    • bala
      bala last edited by bala

      381cf269-590d-44d2-870d-c3e0f0cdef1e-image.png

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        @bala
        you may create this by adding the below code in admin->velocity-> meta data->HomePageContent (click on source code icon)

        @include('shop::home.category', ['category' => 'electronics/cell-phones-smart-watches'])

        bala 1 Reply Last reply Reply Quote 0
        • bala
          bala @Vaishali Agarwal last edited by

          @Vaishali-Agarwal
          Thanks but i'm asking how can i show those products in two rows like mention above the image , there are only one row slider .

          1 Reply Last reply Reply Quote 0
          • V
            Vaishali Agarwal last edited by

            @bala
            can you please confirm me about your bagisto version?

            bala 1 Reply Last reply Reply Quote 0
            • bala
              bala @Vaishali Agarwal last edited by

              @Vaishali-Agarwal v1.1.2

              1 Reply Last reply Reply Quote 0
              • V
                Vaishali Agarwal last edited by

                @bala
                In Bagisto latest v1.2.0 version, there is a feature already implemented to increase the number of featured or new products on the Homepage, https://prnt.sc/vvhkv8. I recommend you to update your bagisto verison if you want more features.

                If you still want to do the changes in your existing project for increasing the category product no then changes in the below file;
                Here update the number you want to increase;
                https://github.com/bagisto/bagisto/blob/c88ca31b9460ea096b453bb62b8c6fa894558f7d/packages/Webkul/Velocity/src/Resources/views/shop/home/category.blade.php#L20

                update your method in this file
                https://github.com/bagisto/bagisto/blob/c88ca31b9460ea096b453bb62b8c6fa894558f7d/packages/Webkul/Velocity/src/Http/Controllers/Shop/ShopController.php#L137

                bala 2 Replies Last reply Reply Quote 0
                • bala
                  bala @Vaishali Agarwal last edited by

                  @Vaishali-Agarwal oh thank you so much 🙂 🙂 🙂

                  1 Reply Last reply Reply Quote 0
                  • bala
                    bala @Vaishali Agarwal last edited by

                    @Vaishali-Agarwal i tested the bagisto v1.2.0 demo from bagisto.com , there is no option for hompage configuration https://prnt.sc/vvjey0

                    1 Reply Last reply Reply Quote 0
                    • V
                      Vaishali Agarwal last edited by

                      @bala
                      Ohh Yes, earlier I was with the master project.
                      this feature is currently available only in master branch and will come in next release.

                      you can till update this with the file as provided above for category.

                      bala 1 Reply Last reply Reply Quote 0
                      • bala
                        bala @Vaishali Agarwal last edited by

                        @Vaishali-Agarwal is possible get pull from master >?

                        1 Reply Last reply Reply Quote 0
                        • V
                          Vaishali Agarwal last edited by

                          @bala
                          Yes you could take the master branch but it's a development branch..we recommend always update your code with latest release.

                          1 Reply Last reply Reply Quote 0
                          • bala
                            bala last edited by

                            yeah sure

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