Shop filter is not working: Sorting works only for the first six products

This topic has 18 replies, 3 voices, and was last updated 2 years ago ago by Rose Tyler

  • Avatar: CiSmart
    CiSmart
    Participant
    February 2, 2022 at 09:41

    Hi there,

    after filtering the products on the shop page by “Price: ow to high” or “Price: high to low” only the first six products get sorted, the later ones will remain unordered. Any idea what might be the reason?

    Furthermore I’d like to change the filter options: I want to delete the options “Popular first” and “Best rated first” as we don’t use any rating options. Can you give me a hint how I can achieve that?

    Thanks and best regards
    Gesine

    17 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 2, 2022 at 17:17

    Hello,

    1) Provide us with WP Dashboard access to check the issue with the sorting in more detail.

    2) That selector is the default WooCommerce option and it does not have settings to disable any positions there. It’s possible only via additional customization, for example https://rudrastyh.com/woocommerce/sorting-options.html . Or contact WooCommerce support about this.

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 3, 2022 at 10:12

    Hi Olga,

    please see the private Content area.

    Thanks!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 3, 2022 at 10:17

    Hello,

    Please provide correct wp-admin access – https://prnt.sc/26ns8pi

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 4, 2022 at 10:02

    Sorry Rose, please see the updated username in the private content area!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 4, 2022 at 13:25

    Hello,

    https://prnt.sc/26olyd7 – please check credentials one more time.

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 4, 2022 at 14:37

    Sorry for the inconvenience. Please check the details in “Private Content area”…

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 5, 2022 at 09:01

    Delete demo products and create new own products with prices, then the filter should work fine.
    https://woocommerce.com/document/managing-products/

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 11, 2022 at 14:33

    Hi Rose,

    we’ve now deleted all demo products and inserted own products. unfortunately, there are still some issues:

    On the Shop page, clicking on the category or subcategory filters in the sidebar the header banner (static Block) defined for this specific archive page is not loading correctly (without background image and formatting for the subheading). After refreshing the page (reloading the by URL) the banner is loading correctly. We’ve already deactivated third party plugins and cleared all caches but couldn’t find a solution yet. Any idea?

    Thanks in advance for your help!

    Gesine

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 11, 2022 at 17:04

    Hello,

    We have added fix to child theme functions.php. Check now, please.

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 14, 2022 at 14:19

    Hi Olga,

    thanks for the fix! It seems to work now BUT after choosing one of the filter options in the sidebar the category “Geschenkverpackung” (gift wrapping) is visible – which is set to “don’t show” in Category options. After refreshing the page it is invisible again. Any explanation for that?

    Thanks and best regards!
    Gesine

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 14, 2022 at 14:56

    Hello,

    Has it happened after our fix?

    which is set to “don’t show” in Category options

    – Where exactly, provide a screenshot, please.
    Check how it works with a default theme, like Storefront.

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 15, 2022 at 12:32

    Hi Rose,

    actually, the two “products” gift wrapping big and small are set to “hidden in the product catalogue” (see screenshot: https://drive.google.com/file/d/1_p4A0bV5FE2ivxU-brHMtLjYyrvT-g-r/view?usp=sharing).

    As you can see on the main shop page (categories with images) and in its sidebar the category “Geschenkverpackung” (gift wrapping) is hidden because there are no products to be shown.

    Storefront doesn’t seem to provide this filter categories in the sidebar. So I cannot check this…

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 16, 2022 at 15:39

    Hello,

    Our functionality of ajax categories is working next way:
    After clicking the category from sidebar we send a request to get the page of this category and replace some content with new one.
    That means that after refreshing the page or simply going to the page of that category you will see the same products/banners/etc.
    Also, we have checked that category content with StoreFront theme and we have found the same results -> https://prnt.sc/26wzdet.

    Answers from our developers are next:
    We think that option from woocommerce (hide from catalog -> https://drive.google.com/file/d/1_p4A0bV5FE2ivxU-brHMtLjYyrvT-g-r/view ) works only on shop page by default. And according to fact we compared with default theme – we have the same products on this category page. We would recommend you to contact with plugin author and ask them about the issue.
    You may contact with WooCommerce on their github -> https://github.com/woocommerce/woocommerce or submit a topic on wordpress support -> https://wordpress.org/support/plugin/woocommerce/

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 17, 2022 at 10:46

    Thanks for the research! But I cannot comprehend the point of the screenshot: no category named “Geschenkverpackung” is displayed!! So with storefront the problem doesn’t seem to exist!

    Just to make sure my description of the issue I observe has become clear:

    When I select a category from the sidebar of the main Shop page the category “Geschenkverpackung” is added to the sidebar which doesn’t contain any products. So why is it shown while other categories without any products are hidden as well?

    After refreshing the page (loading the identical URL again), tha category “Geschenkverpackung” vanishes from the sidebar.

    I don’t want to display it at any time as it doesn’t make sense to show gift wrapping options as seperate category!

    I observe this issue after you’ve fixed the banner issue with custom code in the child theme’s functions.php.

    Thanks in advance for providing a solution for this!

    Best regards from Germnay
    Gesine

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 17, 2022 at 11:25

    Could you, please, check now?

    Regards

    Avatar: CiSmart
    CiSmart
    Participant
    February 18, 2022 at 09:29

    Perfect, thanks! Now it seems to work fine. Just being curious: what exactly did you change to fix it?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 18, 2022 at 15:21

    You’re welcome!
    https://prnt.sc/RxMJk938EHHc

    Regards

  • Viewing 18 results - 1 through 18 (of 18 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.