Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Hide Meta Data In Vendor Products Rate Topic   - - - - -

 
  • memel
  • Senior Member
  • Members
  • Join Date: 29-May 17
  • 316 posts

Posted 23 September 2017 - 06:03 PM #1

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?

 

 

2017-09-23_18h39_04.png

 



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12156 posts

Posted 23 September 2017 - 07:49 PM #2

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.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22943 posts

Posted 25 September 2017 - 07:34 AM #3

FYI, the template is located here

 

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

 

Search by

{** SEO settings section **}

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)