Customize dropdown sorting - by Thinktech

This topic has 4 replies, 2 voices, and was last updated 5 years ago ago by Rose Tyler

  • Avatar: Thinktech
    Thinktech
    Participant
    March 28, 2019 at 15:10

    1.i wanted to hide some option from the select options for eg.sort by price,sort by average rating. http://prntscr.com/n46622
    2.Want to add new option fields which Sort by alphabhetically in the dropdown.http://prntscr.com/n46bv0

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 28, 2019 at 15:35

    Hello,

    It requests additional customization in files, which is beyond our basic support scope.
    Try to use code from this article in functions.php of your child-theme:
    https://businessbloomer.com/woocommerce-remove-rename-add-default-sorting-options-shop/

    Regards

    Avatar: Thinktech
    Thinktech
    Participant
    March 29, 2019 at 09:01

    I use code from this article in functions.php of your child-theme, but not getting any changes .
    but i used code in parent theme functions.php

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 29, 2019 at 09:06

    Is child-theme activated on your site?
    If you made changes in the parent theme files, you’ll lose them after theme update. That’s why you need to move all modifications to the child-theme.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.