• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
1.1k
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 3 Dec 2020, 09:32 3 Dec 2020, 09:31

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

    1 Reply Last reply Reply Quote 0
    • V
      Vaishali Agarwal last edited by 3 Dec 2020, 12:40

      @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 4 Dec 2020, 04:32 Reply Quote 0
      • bala
        bala @Vaishali Agarwal last edited by 4 Dec 2020, 04:32

        @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 4 Dec 2020, 04:38

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

          bala 1 Reply Last reply 4 Dec 2020, 04:50 Reply Quote 0
          • bala
            bala @Vaishali Agarwal last edited by 4 Dec 2020, 04:50

            @Vaishali-Agarwal v1.1.2

            1 Reply Last reply Reply Quote 0
            • V
              Vaishali Agarwal last edited by 4 Dec 2020, 05:00

              @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 4 Dec 2020, 07:06 Reply Quote 0
              • bala
                bala @Vaishali Agarwal last edited by 4 Dec 2020, 05:12

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

                1 Reply Last reply Reply Quote 0
                • bala
                  bala @Vaishali Agarwal last edited by 4 Dec 2020, 07:06

                  @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 4 Dec 2020, 09:57

                    @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 4 Dec 2020, 10:26 Reply Quote 0
                    • bala
                      bala @Vaishali Agarwal last edited by 4 Dec 2020, 10:26

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

                      1 Reply Last reply Reply Quote 0
                      • V
                        Vaishali Agarwal last edited by 4 Dec 2020, 11:44

                        @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 4 Dec 2020, 13:48

                          yeah sure

                          1 Reply Last reply Reply Quote 0
                          1 out of 12
                          • First post
                            1/12
                            Last post