• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
124
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 14 May 2021, 20:29

    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 17 May 2021, 04:00

      Hi @LilD,

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

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