*

webcity

  • ****
  • 243 posts
Premium listings in Random Order
« on: June 12, 2022, 03:07:25 PM »
Hi,

In the Epsilon theme settings we have: "Show Latest Items in Random Order" on the home page.
Can we also have the same options for the premium listings?

Alternatively, can someone post the code to rotate the Premium listings in random order?

Many thanks

*

MB Themes

Re: Premium listings in Random Order
« Reply #1 on: June 13, 2022, 11:39:19 AM »
@webcity
Do you mean on home page block or on search page?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Luka93

  • ***
  • 56 posts
Re: Premium listings in Random Order
« Reply #2 on: June 13, 2022, 01:54:21 PM »
I was also thinking about it and later solved it with auto renewing 2 premium listings every XX hours (which reorder them every XX hours).

But it is a much better solution to display premium listings in random order everytime search page is loaded. Because it is unfair to "older" premium listings to be hidden behind scroll if there are multiple premium listings to show. To be fair, not many users will make a hassle to scroll to see more "promoted" content.

This way it is also easier to sell premium ads to users.


*

webcity

  • ****
  • 243 posts
Re: Premium listings in Random Order
« Reply #3 on: June 13, 2022, 06:03:02 PM »
@webcity
Do you mean on home page block or on search page?

Hi,

It would be great if we had the option on both the home page and search pages too.

Many thanks,
Spencer

*

webcity

  • ****
  • 243 posts
Re: Premium listings in Random Order
« Reply #4 on: June 13, 2022, 06:06:44 PM »
I was also thinking about it and later solved it with auto renewing 2 premium listings every XX hours (which reorder them every XX hours).

But it is a much better solution to display premium listings in random order everytime search page is loaded. Because it is unfair to "older" premium listings to be hidden behind scroll if there are multiple premium listings to show. To be fair, not many users will make a hassle to scroll to see more "promoted" content.

This way it is also easier to sell premium ads to users.



Thanks for the feedback. You are correct, it is unfair for some Premium ads not to be shown as they are hidden or older premium ads are showing and blocking the new premium ads.

Cheers

*

Brandso

  • ****
  • 108 posts
Re: Premium listings in Random Order
« Reply #5 on: June 13, 2022, 06:46:56 PM »
But it is a much better solution to display premium listings in random order everytime search page is loaded. Because it is unfair to "older" premium listings to be hidden behind scroll if there are multiple premium listings to show. To be fair, not many users will make a hassle to scroll to see more "promoted" content.

You are right, usually people have habit of scrolling vertically and for them Premium and normal listing is same so they will scroll vertically instead of scrolling horizontally just to see Premium listing. So, I also think having random premium listing is a good idea on every page load both on Home & Search page.

*

webcity

  • ****
  • 243 posts
Re: Premium listings in Random Order
« Reply #6 on: June 27, 2022, 10:36:31 AM »
Any solution?

*

mwindey

  • *****
  • 475 posts
Re: Premium listings in Random Order
« Reply #7 on: July 05, 2022, 02:06:18 PM »
You can make them scroll back and reverse on home using script
in style.css / underneath line:  /* ITEM GRID & LIST */ 
Code: [Select]
.products.q1 { display: flex; flex-wrap: nowrap; flex-direction: row; overflow-x: scroll; }

File main.php search for
Code: [Select]
<div id="premium-items" class="products grid nice-scroll no-visible-scroll">
And replace with:
Code: [Select]
<div id="q1" class="products grid nice-scroll q1 no-visible-scroll">

In same section after first </div> put
Code: [Select]
      <script>
function animatethis(targetElement, speed) {
    var scrollWidth = $(targetElement).get(0).scrollWidth;
    var clientWidth = $(targetElement).get(0).clientWidth;
    $(targetElement).animate({ scrollLeft: scrollWidth - clientWidth },
    {
        duration: speed,
        complete: function () {
            targetElement.animate({ scrollLeft: 0 },
            {
                duration: speed,
                complete: function () {
                    animatethis(targetElement, speed);
                }
            });
        }
    });
};
animatethis($('#q1'), 80000);
</script>

« Last Edit: July 05, 2022, 02:33:54 PM by mwindey »

*

Dan

  • ***
  • 52 posts
Re: Premium listings in Random Order
« Reply #8 on: July 05, 2022, 09:36:22 PM »
@ Luka93

How did you do , the auto renew of ads?

*

Luka93

  • ***
  • 56 posts
Re: Premium listings in Random Order
« Reply #9 on: July 05, 2022, 10:22:50 PM »
I ordered custom work by Osclasspoint

Regards

*

Remus

  • ***
  • 45 posts
Re: Premium listings in Random Order
« Reply #10 on: August 18, 2022, 07:42:33 PM »
I am also interested in this ... I just ordered the Epsilon theme !

*

MB Themes

Re: Premium listings in Random Order
« Reply #11 on: August 20, 2022, 01:31:53 PM »
Maybe we will create plugin for this (auto-renewals)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

atba

  • ****
  • 193 posts
Re: Premium listings in Random Order
« Reply #12 on: August 24, 2022, 12:03:38 AM »
Maybe we will create plugin for this (auto-renewals)
+1 :D
osclass.by

*

mwindey

  • *****
  • 475 posts
Re: Premium listings in Random Order
« Reply #13 on: August 24, 2022, 03:41:46 PM »
+2 :D

*

webcity

  • ****
  • 243 posts
Re: Premium listings in Random Order
« Reply #14 on: September 26, 2022, 05:18:29 PM »
Hi,

Any update on getting this to work, to randomly show the premium ads. The Epsilon theme already has this option for the latest ads on the home page. Can we use the same code for the premium ads?

A plugin or code modification would be great.

Many thanks