Bagisto Forum

    Bagisto

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

    How to show sub category items in home page in Velocity?

    Knowledge Base
    2
    4
    549
    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.
    • Z
      Zakir last edited by Zakir

      How to show sub category items in home page in Velocity?

      Say I want to show list of 'smart-phone' sub category items , relations are as follows electronics>'cell-phones-smart-watches'>smart-phone .

      I used to show them like this but not works?

      @include('shop::home.category', ['category' => 'electronics','cell-phones-smart-watches','smart-phone'])
      Can this achievable in this source? /var/www/html/packages/Webkul/Velocity/src/Resources/views/shop/home/category.blade.php

      Thanks.

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

        Hi @Zakir
        you can achieve this by adding the below code in admin->velocity-> meta data->HomePageContent

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

        1 Reply Last reply Reply Quote 0
        • Z
          Zakir last edited by

          Working fine thanks.
          @Vaishali-Agarwal one more , how to increase number of item show per line, currently it is 10 ?

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

            @Zakir
            you can achieve this from the store configuration settings inside Admin configuration->catalog->product->store configuration (Here add the number as per your requirement inside per page field)

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