Display all products on one page but CSS for sidebar widget load at the end

This topic has 2 replies, 2 voices, and was last updated 7 years, 6 months ago ago by Rose Tyler

  • Avatar: coffeebeanery
    coffeebeanery
    Participant
    May 27, 2017 at 23:29

    Hi,

    In the settings of “Product Page Layout” I use the value “-1” for “Products per Page”.
    This will load all products on one page instead of paged products.

    It works as expected and all products are displayed on one page.

    However, the CSS for the sidebar widgets are only loaded at the end when all products are loaded.
    We use the “Woocommerce Price Filter” widget which creates a slider for a price range. As the CSS is loaded at the end, the slider only will be shown when all products are loaded. The CSS transform the ugly input fields for min / max into a slider.

    So, on pages with a lot of products the customer will see the 2 HTML input fields until all products are loaded. Than the input fields will be converted to the slider.

    Is there a work around?

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 29, 2017 at 12:54

    Hello,

    This filter based on Javascript and according to the rules it uploads after content on the page.

    Regards,
    Rose Tyler.

  • Viewing 2 results - 1 through 2 (of 2 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.