• Resolved Digital Splendid

    (@rajeevbagra2025)


    I need sorting only for Latest and Most Popular Products. Need to remove sorting for other parameters such as Price Highest, Price Lowest.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    WooCommerce by default doesn’t allow you to apply the filter widgets to only those groups of products.

    You can make a page with only those products using a product shortcode. That way the filter widget would only apply to those products as they are the only ones you list on the page.

    You can read more about product shortcodes here:
    https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-9

    Otherwise you would need to look at a dedicated filter plugin to replace the default functionality in WooCommerce. Something like the Product Filters for WooCommerce exention would help:
    https://woocommerce.com/products/product-filters/

    Thread Starter Digital Splendid

    (@rajeevbagra2025)

    Thanks for the information. I have started a new page and chosen the shortcode [products].

    I understand the number of products can be limited by [products limit=”8″] for 8 products.

    Suppose I display 8 products on front page. Now, there is ‘Next’ button that takes to the next 8 products, and so on. Is it possible?

    Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    You would want to make use of the “Pagination” value as well in your shortcode.

    For example:

    [products paginate=”true” limit=”8″]

    That would display all products, eight products at a time.

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

    Thread Starter Digital Splendid

    (@rajeevbagra2025)

    Yes, it is resolved. My apology for not responding.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sorting in WooCommerce’ is closed to new replies.