I am trying to make the an Item page (item.php) look just like a Category page (category.php). So what I need to figure out is how to access the category items on the item page.
Assume the following - I have a category called animals. The animals category has 4 items in it (cat, dog, horse, mouse).
When on the Animals category page (category.php) all of the items (cat, dog, horse, mouse) are listed. Now when you click on an item it takes you to the item page (item.php). I want this item page to look just like the category page.
So from the item.php page I need to get access to the parent category (Animals) which I can using $this->item->category. Then I need to get all of the items from the Animals category. Then I loop through the items and list them out just like on the category page.
Or is there an easier / better why to make an item page look like a category page?
Assume the following - I have a category called animals. The animals category has 4 items in it (cat, dog, horse, mouse).
When on the Animals category page (category.php) all of the items (cat, dog, horse, mouse) are listed. Now when you click on an item it takes you to the item page (item.php). I want this item page to look just like the category page.
So from the item.php page I need to get access to the parent category (Animals) which I can using $this->item->category. Then I need to get all of the items from the Animals category. Then I loop through the items and list them out just like on the category page.
Or is there an easier / better why to make an item page look like a category page?