Hello Friends,
I am trying to use the WC Archive layout to manage my Product Category pages and am struggling to find the correct looper settings to pull in SUB CATEGORIES for the MAIN CATEGORY and the PRODUCTS within the MAIN CATEGORY when on the CATEGORY PAGE.
3 Screenshots to Explain:
This is my layout… it is simple… want it to have the CATEGORY TITLE (is correct), CATEGORY DESC (is correct) then two sections… one with Sub Category listings (listings are incorrect)… one with the Product Listings (products within that category).
This is the output before the layout is applied. I want this data, the sub categories and products to show on my layout… but cannot seem to find the right looper settings to make this happen.
You can see that CATEGORY PAGE has 4 sub categories on it… but when the layout is applied I cannot get it to output those 4 sub categories onto the page.
This is the output to the page when it is applied… you can see that the sub categories are incorrect… the DBS ProShop isn’t tied to this Category in any way…
SETTINGS:
for the sub category section I have a ROW that is set to a looper provider with the CURRENT POST TERMS with the Taxonomy set to PRODUCT CATEGORIES with the title in the COLUMN set to {{dc:archive:title}} and it produces the output in the screenshot…
What I need:
To know what looper settings I need to get so the LAYOUT page produces the same output as the old page, as that is the right data for the page. The goal is to use dynamic content so I can apply this to all the PRODUCT CATEGORIES and clean up the look of the site a bit.
Note: I know the layout looks bad. I want to get the data going before I style it and move things around. There is no point in having a pretty page if I cannot get the correct data onto the pages.
Thank you!
Danny