Hi,
I use Pro, Cornerstone and WPML on a customers website. WPML is not relevant for my question, I guess.
As far as I understand looper provider and query string, there should be a way to show on the shop page all product categories with a slider with all products from each product category, with a structure like this:
product category 1
product 1
product 2
product 3
…
product category 2
product 1
product 2
product 3
…
product category 3
product 1
product 2
product 3
…
…
Question 1:
I need two looper providers for this right? 1. looper: product categories, 2. looper: products
Question 2:
Is it right to set up a WC archive layout in this case? The WC archive layout has an inbuilt looper provider, maybe it collides with my product cats looper?
Question 3:
Is it right to set the second looper provider of type “String” with a content like this?
$args = array(
‘post_type’ => ‘products’,
‘tax_query’ => array(
array(
‘taxonomy’ => ‘product_cat’,
‘terms’ => ‚{{dc:term:name}}‘,
),
),
);
Thank you very much!
Best regards,
Hannes