Hide Meta Data In Vendor Products

Hello,

I want to hide only meta data fields in product SEO for vendors when they creating a product. Please see the picture.

How can I do that? What is the best way?

[attachment=12640:2017-09-23_18h39_04.png]

2017-09-23_18h39_04.png

Ether create an override template or modify the standard template and bracket the code you want to hide via:

{if !$runtime.company_id }
 original
 code
 here
{/if}

This will prevent that from showing when in the context of a company (for both the admin and the vendor) You can extend the condition to read:

{if !$runtime.company_id || $auth.user_type != 'V'}

If you want to show it to administrators when in the context of the company.

FYI, the template is located here

design/backend/templates/views/products/update.tpl

Search by

{** SEO settings section **}