If you’re reading this and can help me, throw me a bone… Think of the karmic reward, the children…
I’m trying to implement the following product hierchy:
Products Index—> Parent category page —> Child category page —> Product Items
I created 1 products weblog, 9 parent categories with 5 child categories each. I’m using 2 templates, one for the products index page that displays parent categories, and another for the category pages to show child categories and products list. I plan on using a 3rd for the product Item page, if I ever make it that far.
My Products Index page, which I’m 99% sure is correct:
{{exp:weblog:categories weblog="products" style="linear" show_empty="yes" show="10|11|12|13|14|15|16|17|45"}
<div class="category_box">
<a href="#">{category_image}</a>
<a href="http://{path=products/list}">{category_name}</a>
{category_description}
</div>
{/exp:weblog:categories}My products list code, which is clearly missing a key piece (the first part just passes down the correct heading image, but you have to go to the products index page to see what I mean):
{exp:weblog:category_heading weblog="products"}
<h1>{category_section}</h1>
<div id="products_index_wrapper">
{/exp:weblog:category_heading}
{exp:weblog:categories weblog="products" show_empty="yes"}
<div class="category_box">
<a href="#">{category_image}</a>
<a href="#">{category_name}</a>
</div>
{/exp:weblog:categories}The problem is I don’t know how to get it so only the child categories for that specific category are displayed. Right now, no matter what you click on, all the categories are showing up.
Does anybody know what I’m doing wrong??