WooCommerce VS Blog Column & Masonry

Home Forums Support WooCommerce VS Blog Column & Masonry

Home Forums Support WooCommerce VS Blog Column & Masonry

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #175101
    MaksymPS

    Hi Tom,

    How to fix next proplem?
    If you have on your site a WooCommerce and enabled Blog Masonry or Blog Columns, you’ll get the result from searching (by YITH WooCommerce Ajax Product Search) like here.

    Once I wrote you, and you gave me the code:

    add_filter('generate_blog_masonry','generate_woocommerce_search_masonry');
    function generate_woocommerce_search_masonry()
    {
                    if ( is_search() && is_woocommerce() )
                                    return 'false';
                    
            // Otherwise, disable it
                    return 'true';
    }

    But it doesn’t work. I mean, it works, but makes the opposite (blog become smaller, the search result bacome normal).

    I just wanna use as Blog Masonry as WooCommerce search result.

    Extra question #1:
    How to make the menu as yours on this site? I mean when you at the top – it is big and with full logo, when you go lower, it becomes smaller.

    Extra question #2:
    Maybe you know, how to make smoth scrolling like here All I know is that is JS plugin (script). And I can’t understand how ti use it and where I have to put it.

    Thanks a lot, Tom!
    Best regards πŸ˜‰

    #175193
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    So you’re wanting WooCommerce and your search template to have masonry enabled?

    1. This site is using our Menu Plus add-on for the menu functionality.
    2. I’m not sure what you mean by smooth scrolling? Have you asked the creator of that site?

    #175209
    MaksymPS

    Yes, I want that Blog Masonry was enabled in my blog and search result in YITH WooCommerce Ajax Product Search was Ok.
    You can try it in your test GP: just enable Blog Masonry and use YITH WooCommerce Ajax Product Search and see the result with few products. It displays incorrectly.

    1. Thanks, I will try πŸ™‚
    2. No, I haven’t. I’ll try to connect to him (I was thinking that you know).

    #175358
    Tom
    Lead Developer
    Lead Developer

    I’ll test that and will let you know πŸ™‚

    #175557
    MaksymPS

    – – – Update – – –

    So, Tom, did you test?)

    #175627
    Tom
    Lead Developer
    Lead Developer

    Ah, the way WooCommerce displays products makes it so masonry won’t work without a custom page template.

    In the next version of GP Premium/Blog I have masonry turned off for search results in WooCommerce.

    I can send you the latest version if you email me at support@generatepress.com.

    Let me know πŸ™‚

    #175675
    MaksymPS

    Ok, thanks a lot Tom!
    I’ve just sent you a letter πŸ˜‰

    In waiting the latest version πŸ™‚

    Best regards!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.