Jump to content

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

How to show Vendor info on Product View Page Rate Topic   - - - - -

 
  • doanky
  • Newbie
  • Members
  • Join Date: 04-Sep 12
  • 11 posts

Posted 08 November 2012 - 09:16 AM #1

Hello,

In product View Page, just show the Vendor Name (Company Name).
If I want to show more information such as.
- Address
- City
- Phone.

What do I do? Please help me. I'm using cs-cart MV V3.
I could show them when I was using V2, but can not show these info on V3.

Thank you a lot for your help.

Best Regards,
Kevin.

 
  • doanky
  • Newbie
  • Members
  • Join Date: 04-Sep 12
  • 11 posts

Posted 13 November 2012 - 12:55 PM #2

I did it myself, Just clone the fn_get_company_name functions in /core/fn.companies.php file.
Then edit the product_company_data.tpl file and add these above cloned functions.

{$company_id|fn_get_company_name}
{$company_id|fn_get_company_address}
{$company_id|fn_get_company_city}
{$company_id|fn_get_company_phone}

 
  • curribhoys
  • Advanced Member
  • Members
  • Join Date: 29-Oct 12
  • 69 posts

Posted 15 November 2012 - 05:52 AM #3

I did it myself, Just clone the fn_get_company_name functions in /core/fn.companies.php file.
Then edit the product_company_data.tpl file and add these above cloned functions.

{$company_id|fn_get_company_name}
{$company_id|fn_get_company_address}
{$company_id|fn_get_company_city}
{$company_id|fn_get_company_phone}


Hi,
In the same way, can we display the Vendor Products? Products related to company id?

Thanks in Advance
Thanks,
Anand

 
  • BluBT
  • Advanced Member
  • Members
  • Join Date: 15-Oct 12
  • 93 posts

Posted 18 December 2012 - 12:00 AM #4

is there {$company_id|fn_get_company_logo}???? like a Multi Vendor shopping cart should have or did that just get forgotten somewhere in production?

~B.

 
  • cadapult
  • Member
  • Trial users
  • Join Date: 16-Mar 12
  • 23 posts

Posted 18 December 2012 - 02:38 AM #5

$company_data.company
$company_data.company_description
$company_data.phone
$company_data.url

There pulling in the logo with this

{assign var="obj_id" value=$company_data.company_id}

{assign var="capture_name" value="logo_`$obj_id`"}
{$smarty.capture.$capture_name}

 
  • cadapult
  • Member
  • Trial users
  • Join Date: 16-Mar 12
  • 23 posts

Posted 18 December 2012 - 02:45 AM #6

There pulling in the logo with this

{assign var="obj_id" value=$company_data.company_id}

{assign var="capture_name" value="logo_`$obj_id`"}
{$smarty.capture.$capture_name}



{if $company.manifest.Customer_logo.vendor}
<img border="0" width="120" alt="{$company.manifest.Customer_logo.alt}" src="{$config.images_path}{$company.manifest.Customer_logo.filename}" />
{else}
<img border="0" width="120" alt="{$company.manifest.Customer_logo.alt}" src="{$config.no_image_path}" />
{/if}

 
  • Daniel1003
  • Advanced Member
  • Authorized Reseller
  • Join Date: 15-Jun 12
  • 67 posts

Posted 20 December 2012 - 09:03 PM #7

We do it for our self

www.dropshipping-marktplatz.de

www.shopfreaks.de | CS Cart Developer


 
  • zviadi
  • Member
  • Members
  • Join Date: 01-Sep 11
  • 26 posts

Posted 26 August 2013 - 10:04 PM #8

Hi guys,
May i show vendor rating in the same way on product page?? How to do this?