Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #250493

    Hello there

    I have a bug on the theme. When I place a post slider and woocommerce product grid on the same page, posts dont display at all.
    Please let me know how to fix this as I wish to display products and posts on my homepage.

    Thank you :)
    Andrea

    #250674

    Hey Gurify!

    Thank you for using the theme!

    I tested this on my end and it works fine which tells me that you’re either using an old version of the theme or a plugin is causing the issue. We would like to see the actual website in action. Please post the website url here. We will give you a response once we have taken a look at the actual page. Thanks!

    Best regards,
    Ismael

    #250907

    Hi Ismael, it’s here on a temp domain: http://d9a.e50.myftpupload.com/

    Thank you

    Andrea

    #251445

    Hi!

    Please create us an admin account and post the login credentials as private reply – we’ll look into it.

    Best regards,
    Peter

    #251451
    This reply has been marked as private.
    #251480

    Hey!

    I temporarily fixed it by replacing this code in enfold/config-templatebuilder/avia-shortcodes/productslider.php:

    
    $ordering_args = $woocommerce->query->get_catalog_ordering_args( $orderBY, $order );
    

    with

    
    $ordering_args = $woocommerce->query->get_catalog_ordering_args( $orderBY, $order );
    			if($orderBY == 'popularity' || $orderBY == 'rating')
     			{
     	    		remove_filter( 'posts_clauses', array( WC()->query, 'order_by_popularity_post_clauses' ) );
     				remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
     			}
    

    I’ll ask Kriesi to fix the issue with the next update.

    Cheers!
    Peter

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