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

Magento 2.4.5 Community upgrade in the lock file but not in remote repositories Composer Error
Published November 19, 2022

Magento 2.4.5 Community upgrade in the lock file but not in remote repositories Composer Error

Thank you for taking time to read this. I have been trying to upgrade Magento 2.4.3 to 2.4.5 but getting these errors […]

Longest Palindromic Substring using hashing in O(nlogn)
Published December 22, 2022

Longest Palindromic Substring using hashing in O(nlogn)

Given a string S, The task is to find the longest substring which is a palindrome using hashing in O(N log N) […]

Magento 2 – Order Scalar Extension Attributes – Where to store
Published April 20, 2020

Magento 2 – Order Scalar Extension Attributes – Where to store

I need to store few disjoint scalar custom information on a completed sales Order in Magento 2 and display them in a […]

Default store view on frontend not working?
Published March 28, 2025

Default store view on frontend not working?

Magento 2.4.6 I have 3 store views for the same website, EN, DE and FR. On shop level the “Standard Store View” […]

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