Jump to content

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

Hide In Order Customer Informaion Vendor Panel Rate Topic   - - - - -

 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 284 posts

Posted 21 June 2018 - 03:58 PM #1

Hi. How can we hide in order, customer information on vendor.

Attached Files



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

Posted 22 June 2018 - 06:56 AM #2

design/backend/templates/views/orders/details.tpl
 
try to replace
 

{include file="views/order_management/components/profiles_info.tpl" user_data=$order_info location="I" form_id="order_info_form"}

with
 

{if $smarty.const.ACCOUNT_TYPE != 'vendor'}
{include file="views/order_management/components/profiles_info.tpl" user_data=$order_info location="I" form_id="order_info_form"}
{/if}

Then clear cache and check 

 

if you familiar with hooks, it can be done with the My changes module

 

(!) Not tested


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 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 284 posts

Posted 05 December 2018 - 02:18 PM #3

Thanks ecom. But its not works can we put there??

 

vendor_multivendor.post.php



 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3332 posts

Posted 06 December 2018 - 05:48 AM #4

Thanks ecom. But its not works can we put there??
 
vendor_multivendor.post.php

 
Hello!
 
There is a typo in post #2. The condition should be 

{if $smarty.const.ACCOUNT_TYPE != 'vendor'}

Please note that it will hide not only customer information section, but also billing and shipping address sections. If you want to hide only customer information, you need the design/backend/templates/views/order_management/components/profiles_info.tpl file.

 

Also you should be logged in as vendor, not just select vendor from the top panel.


Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


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

Posted 06 December 2018 - 07:15 AM #5

Thanks ecom. But its not works can we put there??

 

vendor_multivendor.post.php

 

Sorry, post corrected. Unfortunately, you cannot hide this information with vendor_multivendor.post.php


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 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 284 posts

Posted 06 June 2019 - 01:11 PM #6

Can we hide in order right panel "Payment İnformation" . Because if customer incomplete order card information is still show there its critical information about card number. Soo we dont see there in vendor page.



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

Posted 06 June 2019 - 01:21 PM #7

Use orders:payment_info hook in the design/backend/templates/views/orders/details.tpl file to add condition by order status. For example, you can wrap hook content with the following code

{if $order_info.status != 'N'}
   .....
{/if}

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 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 284 posts

Posted 06 June 2019 - 01:27 PM #8

Thanks ecomlab

 

in Vendor Page not whole order status can we only hide "payment information" vendor can see complete incomplete etc. but nothing see "credit card number"



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

Posted 07 June 2019 - 05:55 AM #9

Thanks ecomlab

 

in Vendor Page not whole order status can we only hide "payment information" vendor can see complete incomplete etc. but nothing see "credit card number"

 

Yes, payment information code is located in the mentioned hook (between the following lines)

{hook name="orders:payment_info"}
....
{/hook}|

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 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 284 posts

Posted 07 June 2019 - 03:09 PM #10

Ecomlabs

 

Thanks for all