Osclass Support Forums

Osclass theme support => Zara Osclass Responsive Theme => Topic started by: jcarrolo01 on October 03, 2019, 08:48:43 AM

Title: Simple question about functionality
Post by: jcarrolo01 on October 03, 2019, 08:48:43 AM
Dear all..

I have what i think is a easy question...

In premium block in home page the listings are shown in random order.. correct???


For latest listings block it used zara_random_items, and for premium block, the function is the same or use diferent function???

Im asking this because in main.pho before premium list loop i dont see any call to the function zara_random_items...

Best regards
Title: Re: Simple question about functionality
Post by: MB Themes on October 03, 2019, 03:48:19 PM
@jcarrolo01
Only latest items can be shown as random
Title: Re: Simple question about functionality
Post by: jcarrolo01 on October 03, 2019, 04:27:50 PM
Thanks allot for the reply...

I will double check

Thanks allot..

Best regards
Title: Re: Simple question about functionality
Post by: jcarrolo01 on October 03, 2019, 05:33:03 PM
Hello...

I check in your zara demo theme and you have 6 listings set as premium...

When the page is refreshed the 6 listings in premium block in home page are displayed randomly...

Best regards
Title: Re: Simple question about functionality
Post by: jcarrolo01 on October 04, 2019, 05:13:04 PM
So the original question still the same...

Best regards


Title: Re: Simple question about functionality
Post by: jcarrolo01 on October 09, 2019, 04:33:58 PM
Anyone can help???

Even in zara demo site the premium listings are displayed randomly...

Where this is defined, just for premium listings...

For sure is not in zara_random_item, i delete all funtion, latest listings stop the random visualization but premium listing still displaying randomly...

Best regards
Title: Re: Simple question about functionality
Post by: MB Themes on October 10, 2019, 09:55:11 AM
Osclass can shuffle listings,  theme should use osc_get_premiums function in main.php that is from core