Search code examples
phpopencartvqmod

Opencart module modification for the place it is used in the catalog


I have a module for Advanced Reviews.

By default you know the modules can be set to show up [in a specific page] in the following positions:

content_top
content_bottom
content_left
content_right

I want to show it under one of the product page's tab (Review Tab), thus I have added the following option to the above positions:

content_tab

But I don't know how should I enable it to show under the tab.


Solution

  • You would need to create such position on the forntend as well. That means copying out and modifying of e.g. content_top (controller and template) into e.g. content_tab, then adding this new position as a child module to the controllers that may render it and finally render this position in respective templates on desired place (look how content_top is populated and rendered to have an idea).