Version 3.0.2
Friends is there a way to add a specific module to a twig file.
Currently I want to add a newsletter module in the footer rather than content left/right/top/bottom
I know there is one way that is to create a new content area and then go to each layout to assign the newsletter module to that area but this method is way too long. What i want to know is like in wordpress we use shortcode to call any plugin anywhere in the code so if there is any such way possible in OC.
You can do this using ocmod. Using ocmod is better for this. As you will have admin control.
So create a footernewsletter.ocmod.xml file.
Find a sample ocmod file of free extension and then add a code for your footer.twig.
So create a footernewsletter.ocmod.xml file.
Find a sample ocmod file of free extension and then add a code for your footer.twig.
Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 505 guests