Jump to content

 

kimkwangsuk71

Member Since 12 Mar 2018
Offline Last Active Nov 06 2018 12:35 AM
-----

#307446 User Company Name Display Modification

Posted by kimkwangsuk71 on 11 October 2018 - 09:21 AM

I figured out after spending many hours trying to solve this.

 

This is how I resolved it:

 

{if !$company_placement_info}

{assign var="company_placement_info" value=$user_info.company_id|fn_get_company_placement_info:$smarty.const.CART_LANGUAGE}
{/if}
 
{if $user_info.firstname || $user_info.lastname}{$user_info.firstname} {$user_info.lastname}{/if}<br />{$company_placement_info.company_name}<br />
{$company_placement_info.company_address}<br />
{$company_placement_info.company_city}{if $company_placement_info.company_city && ($company_placement_info.company_state_descr || $company_placement_info.company_zipcode)},{/if} {$company_placement_info.company_state_descr} {$company_placement_info.company_zipcode}<br />
{$company_placement_info.company_country_descr}<br />
Email: {$user_info.email}<br />
Tel: {if $company_placement_info.company_phone}{$company_placement_info.company_phone}{/if}



#300033 Vendor Administration: Customized Menu

Posted by kimkwangsuk71 on 11 April 2018 - 09:40 AM

You can extend the schema with the method described by Tony. In this file you can disable specific controllers/modes for vendors.

 

 

I am afraid, it is not possible to make these changes in schema. More complex changes are required (disable tabs in post controller and hide code in templates)

 

I actually figured out by modifying the app/controllers/backend/products.php and modifying the add-ons.