Hi,
I have a detail page that has a url format like
<a href="http://www.domain.com/products/detail/cereal-malt-large-mc">http://www.domain.com/products/detail/cereal-malt-large-mc</a>Detail page structure is as follows:
Product detail
{exp:channel:entries channel="products" disable="member_data|pagination" limit="1"}
product details here
{/exp:channel:entries}Testimonials
Some general testimonials
Related products
{exp:channel:entries channel="products" category="11" dynamic="no" limit="12"}
scroller with products from the same category as the current page
{/exp:channel:entries}I’m having trouble with setting the category in the related products channel.
Is there a way I can get the category for the product so that I can use it in a channel entries
{exp:channel:entries channel="products" category="{cat_id_of_current_entry}" dynamic="no"}I hope this makes sense.
Thanks
Wayne.