Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1248513

    Is it possible to customize the WooCommerce “Sort by Default” dropdown to remove some of the options and customize their titles and order??
    This is what I want to keep: Price, Popularity (sales), Top Rated, Name (in that order)

    Can I change the title of “Popularity (sales)” to: “Best Sellers” and change “Average rating” to “Top Rated”?
    (We aren’t actually using verified or user reviews, so is the average rating not relevant at all anyway…?)

    I also want to remove the second box that says “Display -1 Products per page” and has a dropdown for “  -2 Products per page”  -3Products per page”

    Thank you!!

    #1248747

    Hey Dino0103,

    Maybe this will help you out with that? https://www.speakinginbytes.com/2016/05/customize-woocommerce-sorting-dropdown/

    Best regards,
    Rikard

    #1248759

    Thanks, I’ll check that resource!

    #1248918

    Hi,

    Thanks for the update, please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #1249198

    I tried updating my functions php for the child theme without success. Can you help?

    I tried this: remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 10 ); It did not work…. :(
    I also tried this: remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’); It did not work either.

    Any ideas? THANKS!

    #1249563
    This reply has been marked as private.
    #1250242

    Hi there! I’m still needing help on this!! Can someone check on this request?

    I need to update my functions.php for my child theme to remove the WooCommerce “Sort by Default” dropdown boxes that show up on my product page.

    I tried this: remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’, 10 ); It did not work…. :(
    I also tried this: remove_action( ‘woocommerce_before_shop_loop’, ‘woocommerce_catalog_ordering’); It did not work either.
    Any ideas how to make this removal work with your theme? Your developers sent me this: Maybe this will help you out with that? https://www.speakinginbytes.com/2016/05/customize-woocommerce-sorting-dropdown/ but it’s not working for me….

    Thanks!

    #1250679
    This reply has been marked as private.
    #1250706
    This reply has been marked as private.
    #1251582

    Hi there, I kept testing options and although nothing works via functions update on the child theme, I did get this CSS to finally remove it:

    .sort-param.sort-param-order {
    display: none
    }

    .sort-param.sort-param-count {
    display: none
    }

    div .product-sorting {
    display: none
    }

    Please close this thread!
    Thanks and have a great day!

    #1253463

    Hi,
    Glad to hear that you have sorted this out, we will close this thread as requested, thanks for using Enfold.

    Best regards,
    Mike

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘customize WooCommerce Sort by Default dropdown and Display products per page’ is closed to new replies.