hello , I'm new here on Opencart v2.3.0.2, I'm sorry if i'm in wrong forum
I want to clone manufacturer and create a module named othercomapnies based on manufacturer
well I duplicate files
admin\controller\catalog\manufacturer.php
admin\language\en-gb\catalog\manufacturer.php
admin\view\template\catalog\manufacturer_form.tpl
admin\view\template\catalog\manufacturer_list.tpl
and named
admin\controller\extension/module\othercomapnies.php
admin\language\en-gb\extension/module\othercomapnies.php
admin\view\template\extension/module\othercomapnies_form.tpl
admin\view\template\extension/module\othercomapnies_list.tpl
and I changed manufacturer to othercomapnies inside the files and I changed
catalog/manufacturer to extension/module/othercomapnies
I also changed the class
class ControllerCatalogManufacturer extends Controller to
class ControllerExtensionModuleOthercomapnies extends Controller
I did add a table on MySQL similar to manufacturer table
but all that is not working I can't see the module on extensions , is it possible to create a module from catalog or I can't .
and Thank you
thank you for your replaycyclops12 wrote:If you have put the files where you state you have put them then you should see the newly added modules in extensions/extensions then choose modules from the dropdown list, and your newly created module should be in there
I did upload the files to
admin/controller/extension/module/othercomapnies.php
admin/language/en-gb/extension/module/othercomapnies.php
admin/view/template/extension/module/othercomapnies_form.tpl
admin/view/template/extension/module/othercomapnies_list.tpl
but i can't see othercomapnies on extensions/extensions on modules
Who is online
Users browsing this forum: No registered users and 6 guests