[SOLVED] How to create a custom menu twig file for custom theme
Posted: Sat Oct 01, 2022 10:28 pm
First of all, I am NOT asking for step by step detailed processes. (using OpenCcart 4.0.1.1)
I am just asking for a general advice how to do it.
#############################################
#############################################
So far I have created a custom theme.
And I can modify my HEADER inside the file below.
FILE: public_html/extension/customtheme/catalog/view/template/common/header.twig
#############################################
#############################################
My question is, how can I create a twig file to customize my own menu HTML markup?
I was thinking by creating "menu.twig" and put it inside the "common" folder like below.
FILE: public_html/extension/customtheme/catalog/view/template/common/menu.twig
But it is not working.
Or at least I cannot see changes inside the front end.
Any general idea how to do this properly?
I am just asking for a general advice how to do it.
#############################################
#############################################
So far I have created a custom theme.
And I can modify my HEADER inside the file below.
FILE: public_html/extension/customtheme/catalog/view/template/common/header.twig
#############################################
#############################################
My question is, how can I create a twig file to customize my own menu HTML markup?
I was thinking by creating "menu.twig" and put it inside the "common" folder like below.
FILE: public_html/extension/customtheme/catalog/view/template/common/menu.twig
But it is not working.
Or at least I cannot see changes inside the front end.
Any general idea how to do this properly?