Page 1 of 1

Which file controls the layout of the Add/Edit Product page?

Posted: Wed Oct 18, 2017 9:24 am
by kelemvor
Howdy,

When I go to add or edit a product, it brings up the page with the various tabs across the top and different information on each tab. Can anyone tell me which file controls the layout of that page? Ages ago on an old store I was able to modify the file to put all the Required fields on the first tab to make entering the info easier but I don't remember which file controls that.

Thanks!

Re: Which file controls the layout of the Add/Edit Product page?

Posted: Wed Oct 18, 2017 9:35 am
by straightlight
admin/view/template/catalog/product_form.twig file. Clear all caches after each saves when working on those files.

Re: Which file controls the layout of the Add/Edit Product page?

Posted: Wed Oct 18, 2017 9:57 am
by kelemvor
Ah, thanks. That looks like it. How do I clear the cache? Do I need to clear my browser cache or a cache within Opencart somewhere?

Re: Which file controls the layout of the Add/Edit Product page?

Posted: Wed Oct 18, 2017 10:06 am
by straightlight
Both. As for Opencart cache, it would be in your Opencart admin dashboard on the upper-right-end side, there's a square icon where two caches needs to be cleared to refresh the content.

Re: Which file controls the layout of the Add/Edit Product page?

Posted: Wed Oct 18, 2017 10:18 am
by kelemvor
Ah yes. That's so much better.
Thanks!