Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @ptrkx,

    The only shortcodes available in the WooCommerce plugin would be the ones listed on this page below. There is however no separate sorting shortcode available when reading through the contents of this document.

    https://docs.woocommerce.com/document/woocommerce-shortcodes/

    Researching for you I did however find this StackOverflow thread which may help as it has a reply detailing how to add a sorting shortcode.

    https://wordpress.stackexchange.com/a/358568

    Thread Starter ptrkx

    (@ptrkx)

    Thanks for the answer.

    Unfortunately, generating a shortcode for the dropdown menu to sort the products does not work.

    functions.php
    // Creating Shortcode for Product Sorting
    add_shortcode(‘wc_sorting’,’woocommerce_catalog_ordering’);

    [wc_sorting] integrated via a shortcode. :/

    Mirko P.

    (@rainfallnixfig)

    Hi @ptrkx,

    Unfortunately, generating a shortcode for the dropdown menu to sort the products does not work.

    I can recommend the WooCommerce Developer Resources Portal for resources on developing for WooCommerce.

    If you do require more help with the actual coding, we’d recommend hiring a developer or one of the customization experts listed at https://woocommerce.com/customizations/.

    Thanks.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    There hasn’t been much activity on this thread for a while, so I’m marking it as resolved.

    If you have further questions, please feel free to open a new topic.

    Thanks.

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

The topic ‘Woocommerce Sorting Dropdown’ is closed to new replies.