• Resolved devcodicanthony

    (@devcodicanthony)


    regarding the display options that are shown at the top of the preview tiles.
    -is there a way I can change the “Display xx product per page” to “Display xx SALES per page” ? I just wanted to change the text.
    – and on the Sort by Default Order, how to remove the ‘Price’ in the dropdown?

    thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi, @devcodicanthony!

    is there a way I can change the “Display xx product per page” to “Display xx SALES per page” ?

    You can use a free translation plugin like https://wordpress.org/plugins/loco-translate/. I know it may sound strange to “translate” your own language, but it works

    Here’s a video about it that outlines how it is used: https://www.youtube.com/watch?v=ZUPhsoUm-QE

    and on the Sort by Default Order, how to remove the ‘Price’ in the dropdown?

    You can use the following code to achieve that

    function rsd_catalog_orderby( $orderby ) {
        unset($orderby["price"]);
        unset($orderby["price-desc"]);
        return $orderby;
    }
    add_filter( "woocommerce_catalog_orderby", "rsd_catalog_orderby", 20 );

    You can add that with a plugin that allows custom code to be added, such as the https://wordpress.org/plugins/code-snippets plugin

    Cheers!

    Hi @devcodicanthony

    I just wanted to follow-up with you on this thread; hope you were able to find a way to tweak the display options, and to remove the price option from the dropdown.

    I’m marking this thread as Resolved as we have not heard back from you in a while. If the problem persists though, feel free to reopen this, we would be happy to look into this for you.

    All the best!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Customizing>Woocommerce Product Catalog’ is closed to new replies.