Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #21669

    Hello, i had a question about the Replete Template Builder. Is there any way to add woocommerce featured products to the template element “Products” and “Products Slider” I have alot of the same products that are different colors or sizes. When it displays on the slider its showing all the same item. There’s no random sorting. I have over 40K products and i want to display a variation on the home page.


    Yes but you need to hack the template builder file a bit – open up wp-contentthemeschoicesincludeshelper-template-dynamic.php and replace:

    $meta_query[] = $woocommerce->query->visibility_meta_query();
    $meta_query[] = $woocommerce->query->stock_status_meta_query();


    $meta_query[] = $woocommerce->query->visibility_meta_query();
    $meta_query[] = $woocommerce->query->stock_status_meta_query();
    $meta_query[] = array(
    'key' => '_featured',
    'value' => 'yes'


    Thank you Greatly, it works great! Just what i was looking for.

    Would it be possible to set up featured items in the sorting options of the template builder? maybe in the future. I don’t know how the dynamic code is set up.

    Also how can i set up creating a new template with the template builder and place the code for the new template on the product pages, under everything? above the footer.


    Hi jwt2030,

    The theme doesn’t have support for that kind of layout with the template builder. You would need to have a freelance developer create a custom template for you for that kind of layout.

    For the featured items option, I’ll mark the topic as a feature request for Kriesi :)



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Replete Template Builder’ is closed to new replies.