AbanteCart Development > Customization help

Best practice for hiding/removing unneeded product fields?

(1/1)

dharding:
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.

Basara:
Be careful to not hide required or important fields like Store

dharding:
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.

eCommerce Core:
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

dharding:
EDIT: I figured it out, thanks.

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod