AbanteCart Community
AbanteCart Development => Customization help => Topic started by: dharding on June 12, 2018, 07:32:48 AM
-
In an effort to streamline data entry and product creation, I would like to either hide or move to the bottom of the page, those fields that I do not plan to move.
Are there any recommended best practices in this regard? I assume the only way to do this is to edit the code in one of the .tpl files. Is that correct?
Thank you.
-
Be careful to not hide required or important fields like Store
-
Could you please tell me which .tpl file is the one to edit for the "general" data entry section for products? I can't make heads or tails out of all the physical files and when I search for control names shown in source, I come up empty.
Thank you.
-
Here is the TPL
https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/view/default/template/pages/catalog/product_form.tpl
I would suggest creating a quick extension and hooking to product controller and hiding data in there.
You can hook from extension core file.
https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/controller/pages/catalog/product.php
-
EDIT: I figured it out, thanks.