Bagisto Forum

    Bagisto

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

    Show products default in list mode on mobile version

    General Discussion
    2
    2
    121
    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.
    • L
      LilD last edited by

      Hello, how I can show all products in list mode default and not in Grid on mobile version?
      I tried this

      <template v-else-if="products.length > 0 && isMobile">
                                      <div class="product-list">
                                          <product-card
                                              list=true
                                              :key="index"
                                              :product="product"
                                              v-for="(product, index) in products">
                                          </product-card>
                                      </div>
                                  @if ($toolbarHelper->getCurrentMode() != 'list')
                                      <div class="row col-12 remove-padding-margin">
                                          <product-card
                                              :key="index"
                                              :product="product"
                                              v-for="(product, index) in products">
                                          </product-card>
                                      </div>
                                  @endif
      

      But show grid and list ..

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by

        Hi @LilD,

        Check this config,
        https://prnt.sc/130t8r4

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