Custom category layout using alternative .twig template?
Posted: Tue Sep 15, 2020 10:09 pm
Hi,
Opencart Version 3.0.3.2
Theme: Default (with minor CSS tweaks)
I would like just some of my categories to use a different twig template rather than the default one. I thought I might be able to do this using a custom layout and then applying this using the 'Layout Override' option on the Categories->Design tab. However, I can't see any way to specify which twig template gets used.
Is this even possible?
I'm new to OC development but an old hand with HTML/CSS/PHP/JS (& Twig) so happy to dig into code if necessary.
Any pointers much appreciated.
Thanks.
Opencart Version 3.0.3.2
Theme: Default (with minor CSS tweaks)
I would like just some of my categories to use a different twig template rather than the default one. I thought I might be able to do this using a custom layout and then applying this using the 'Layout Override' option on the Categories->Design tab. However, I can't see any way to specify which twig template gets used.
Is this even possible?
I'm new to OC development but an old hand with HTML/CSS/PHP/JS (& Twig) so happy to dig into code if necessary.
Any pointers much appreciated.
Thanks.