Show products default in list mode on mobile version



  • 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 ..



  • Hi @LilD,

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


Log in to reply