Giter VIP home page Giter VIP logo

magento2-add-custom-sorting-option-on-categery-page's Introduction

Magento2 Add Custom Sorting option on categery page(A - Z, Z - A, High to Low Price, Low to High Price)

Magento2 Category page or Listing page by default provides us with 3 sorting options Position, Name & Price. Here, we have added new custom options named as

A - Z (Alphabetical Order Sorting)
Z - A (Reverse Alphabetical Order Sorting)
Low to High Price (Price Low to High Order Sorting)
High to Low Price (Price High to Low Order Sorting)

   

Since there is mainly a need to have a custom option from client to add & display more sorting options. In that case..

   

Wondering how to achieve that? Don't worry we have got the solution for it.

Install our module Binstellar/Sorting & get 4 sorting options as mentioned above.

   

Installation Steps

Step 1 : Download the Zip file from Github & Unzip it
Step 2 : Create a directory under app/code/Binstellar/Sorting
Step 3 : Upload the files & folders from extracted package to app/code/Binstellar/Sorting
Step 4 : Go to the Magento2 Root directory & run following commands

php bin/magento setup:upgrade

php bin/magento setup:di:compile

php bin/magento setup:static-content:deploy -f

php bin/magento cache:flush

   

image1

   

Note : We have tested this option in Magento ver. 2.4.5-p1

magento2-add-custom-sorting-option-on-categery-page's People

Contributors

arjunkanani avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.