Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    I don’t know how to remove it (I show you how to hide it below), there’s likely a filter in WooCommerce somewhere that allows one to formally remove undesirable options. This would be the superior approach. For information on this approach I suggest you ask in the dedicated WooCommerce support forum.

    To simply hide the options, add the following to your theme’s style.css. When your theme updates, your rules will be removed. To keep them safe from updates you would need to create a child theme.

    .home option[value="popularity"],
    .home option[value="date"] {
       display: none;
    }

    This will hide these specific drop down options only on your home page. To apply the rules universally, drop the .home selector.

    Thread Starter misstalkaholic

    (@misstalkaholic)

    Okay, can you please tell me one more thing… When my buyers pay online for any product, they get the option to cancel the order in their account under the “My Account” section. But when any buyer opts for COD i.e cash on delivery, they do not get the option to cancel their orders under their accounts. I want to add something through which all my buyers can see the option of canceling orders.

    Moderator bcworkz

    (@bcworkz)

    Sorry, I’ve no idea on that one. That’s certainly a question for the dedicated support forum. I recommend you ask there.

    I need help with the same problem but I tried your solution and it didn’t work

    https://www.abangerclothing.co/shop

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Edit Default Sorting box’ is closed to new replies.