I want to add some text to the vendor's shipping methods admin page to tell the vendor that they cannot edit setting on the "General" tab (see attachment).
Where is the template where I can do this?
Thanks!
I want to add some text to the vendor's shipping methods admin page to tell the vendor that they cannot edit setting on the "General" tab (see attachment).
Where is the template where I can do this?
Thanks!
design/backend/templates/views/shippings/update.tpl
Add
{if $runtime.company_id} {__('shipping_methods_notice')} {/if}
before
{include file="common/subheader.tpl" title=__("information") target="#acc_information"}
Then go to Administration -> Languages -> Translations and create the shipping_methods_notice language variable with the required text
Clear cache and check the result
design/backend/templates/views/shippings/update.tpl
Add
{if $runtime.company_id} {__('shipping_methods_notice')} {/if}before
{include file="common/subheader.tpl" title=__("information") target="#acc_information"}Then go to Administration -> Languages -> Translations and create the shipping_methods_notice language variable with the required text
Clear cache and check the result
That worked great and now I can do it for other admin pages. Thank you so much!
That worked great and now I can do it for other admin pages. Thank you so much!
You need to check dispatch parameter in the URL and find corresponding template in the admin skin.
E.g.
admin.php?dispatch=products.manage
refers to
design/backend/templates/views/products/manage.tpl
Note: some files can be located in addons directory or can be overrided by addons