Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Randomly sort products on category page in magento 2
Blog

Randomly sort products on category page in magento 2

by Rubin|Published May 23, 2025

I need to randomly show the products on a category page, like everytime the page is opened, random products are shown.

I try to this –
Random sort order in category page?

but here product filter not working

  • Magento
  • Magento1
  • Magento2

You may also like

Cannot install as user an app that was uninstalled with admin through wmic [closed]
Published May 26, 2026

Cannot install as user an app that was uninstalled with admin through wmic [closed]

I have uninstalled an app with wmic command within a script with admin privileges and now when I try to install the […]

.NET application seems not to be executing some operations when left to sit idle – laggy after sitting idle
Published February 14, 2020

.NET application seems not to be executing some operations when left to sit idle – laggy after sitting idle

I have a .NET application which basically does the following: Is connected to a bunch of serial devices (~32) via COM ports, […]

Find parents that are K level above given node for Q queries
Published October 27, 2022

Find parents that are K level above given node for Q queries

Given a tree with N nodes where node 1 is the root, the task is to solve the queries of form {u, […]

Magento2.4.2 (Exception): Notice: Trying to get property ‘Message’ of non-object in vendor/magento/module-fedex/Model/Carrier.php
Published August 27, 2021

Magento2.4.2 (Exception): Notice: Trying to get property ‘Message’ of non-object in vendor/magento/module-fedex/Model/Carrier.php

I am getting a strange error with Magento Fedex module and not sure how to go about fixing. When I go to […]

Interesting

  • Zoom Window disappears when monitors change
  • Windows 10 black screen with cursor after cloning MBR HDD to GPT NVMe SSD using Macrium Reflect
  • SuperUser Browser Compatibility on Windows 10? [migrated]
  • How do I configure a service in IncusOS?
  • Windows 11 26H2 new Start menu settings appear and disappear unpredictably
  • Why doesn’t macOS Monterey allow camera and microphone permissions? [closed]
  • Php WebRTC Integration on Jitsi Stand alone Server [closed]
  • Gtk3 change progress bar wthin existing theme, Adwaita-dark

Post navigation

  • Previous post Magento 2 Luma loads “loader-1.gif” on every request: How to remove?
  • Back to post list
  • Next post Product AddToCart Button not working on PDP & its working on PLP
——————-
  • Zoom Window disappears when monitors change
  • Windows 10 black screen with cursor after cloning MBR HDD to GPT NVMe SSD using Macrium Reflect
  • SuperUser Browser Compatibility on Windows 10? [migrated]
  • How do I configure a service in IncusOS?
  • Windows 11 26H2 new Start menu settings appear and disappear unpredictably
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme