Hi there,
I'm wondering what I'm missing here, but the site I'm building currently only needs a sidebar for one category. The rest of the categories are very simple, with just a few products. One category however requires a filter as it has a lot of options.
I've created a separate category.tpl file and created a new layout with a route for that tpl, and assigned it to just that category.
This works great, for that category - the filter appears only on that category.
However the empty sidebar is appearing in all other views - home, product, cart, checkout and the categories without the sidebar.
I've been trying to figure out how to manage it, but so far it escapes me!
Did you add the correct route to your tpl?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Yeah, I had that completely wrong.
I created an additional file in /product called category-with-sidebar.tpl and create a new category layout with the route product/category-with-sidebar
But I've realised that it's driven from the URL generated by the controller. I've sorted it out now. Thanks for the reply.
I created an additional file in /product called category-with-sidebar.tpl and create a new category layout with the route product/category-with-sidebar
But I've realised that it's driven from the URL generated by the controller. I've sorted it out now. Thanks for the reply.
Thought it was that 
Great stuff.

Great stuff.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Who is online
Users browsing this forum: Bing [Bot] and 16 guests