AWPCP - Classifieds Plugin
[resolved] How to add front end sorting option (2 posts)

  1. Blindacme
    Posted 2 years ago #

    Thank you for the great plugin! I am trying to add some extra functionality to the front end for users to sort classifieds by things like price (high to low) and price (low to high) as well as rating.

    I just need a little guidance on how to start this, could you tell me the best way to start this? Is there some sort of parameter being added to the url that will allow for this or while I need to write a custom query for it?

    Any help you could give would be much appreciated.


  2. awpcp
    Plugin Author

    Posted 2 years ago #

    HI Blindacme,

    We have some sorting options on the back end that say how the ads are ordered, but it's not exposed on the front end. I would suggest browsing the code and finding that setting in the back end and where it gets used. From there, you can probably add some code to expose that more in the front.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AWPCP - Classifieds Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic