D
D
Drekken2019-11-15 11:10:31
opencart
Drekken, 2019-11-15 11:10:31

How to add a setting (function) to the Data tab in an OcStore article edit?

Hello!
In editing an article, in the Data tab, there is a "Custom Items" setting (see Snapshot). When the checkbox is active, this page is displayed in a separate menu item of the site "custom".
5dce5d70220ab648966050.png
I need to add the same "Ready Solutions" checkbox, but to display the page in a separate "Ready Solutions" tab.
Please tell me how to add the checkbox I need there and see the code for the already added one.
Thank you in advance for your response!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2019-11-15
@Drekken

We look at the code for the solution in the admin panel:
/admin/controller/catalog/information.php - contoller
/admin/model/catalog/information.php - model
/admin/language/yourlanguage/catalog/information.php - language file
/admin/view /template/catalog/information_form.tpl - edit form template
/admin/view/template/catalog/information_list.tpl - list of articles template
In catalog:
/catalog/controller/information/information.php - controller
/catalog/model/catalog/ information.php - model
/catalog/language/yourlanguage/information/information.php - language file
/catalog/view/theme/yourtheme/template/information/information.tpl - article template
Well, accordingly, an additional is created. field in the database, table of articles information

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question