Empty list of products without notice

LiteCart Fan
Tól től United States
Tagság dec. 2016 óta

Hi all,
    When there are no matching attributes to show in the category list it just shows a blank page. Is there anyway to show a message or image such as below?
    Thanks

Designer
Tól től Turkey
Tagság ápr. 2019 óta

i will check this.

LiteCart Fan
Tól től United States
Tagság dec. 2016 óta

Alins,
    This is a standard in the Litecart. It has nothing to do with your template. Just for your information. Appreciate you coming up with something. 
Grant

Designer
Tól től Turkey
Tagság ápr. 2019 óta

Yes, Tim never works enough :)


            <div class="text-center">
            <svg class="svg-icon" style="width: 105px; height:150px" viewBox="0 0 20 20">
                    <path fill="none" d="M18.109,17.776l-3.082-3.081c-0.059-0.059-0.135-0.077-0.211-0.087c1.373-1.38,2.221-3.28,2.221-5.379c0-4.212-3.414-7.626-7.625-7.626c-4.212,0-7.626,3.414-7.626,7.626s3.414,7.627,7.626,7.627c1.918,0,3.665-0.713,5.004-1.882c0.006,0.085,0.033,0.17,0.098,0.234l3.082,3.081c0.143,0.142,0.371,0.142,0.514,0C18.25,18.148,18.25,17.918,18.109,17.776zM9.412,16.13c-3.811,0-6.9-3.089-6.9-6.9c0-3.81,3.089-6.899,6.9-6.899c3.811,0,6.901,3.09,6.901,6.899C16.312,13.041,13.223,16.13,9.412,16.13z"> </path>
                </svg>
            <br>
            <strong><?php echo language::translate('text_no_matching_filters', 'Sorry, we dont see any items that match your filters'); ?></strong>
            </div>            
            <?php } ?>```
Add this after this line (in theme category.inc.php)
```<?php foreach ($products as $product) echo functions::draw_listing_product($product, ['category_id']); ?>```

This will show you what you want. İ think you can edit your own html content.

Let me know if it works.
LiteCart Fan
Tól től United States
Tagság dec. 2016 óta

Alins,
Yes, THANK YOU. worked perfectly. Greatly appreciate that.
Grant

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

@alins hey be nice, I work day and night with this platform. ;)

The filter bar should be hidden if there are no items. I will fix that.

Designer
Tól től Turkey
Tagság ápr. 2019 óta

@tim God bless you lol

Ezt a témát a hosszú inaktivitás miatt bezártuk. A hozzászólás nem lehetséges.
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.