Jump to content

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

Showing Vendor Logo In Compact List Rate Topic   - - - - -

 
  • a3lanjo
  • Member
  • Trial users
  • Join Date: 14-Sep 20
  • 35 posts

Posted 01 April 2021 - 10:37 PM #1

Hello i need help to add vendor logo in compact products list 

 

any help please regarding that ?

 

Thank you



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

Posted 02 April 2021 - 05:04 AM #2

Product features are not retrieved from database on product listing. So you cannot just change template, changes in php are required as well


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)


 
  • a3lanjo
  • Member
  • Trial users
  • Join Date: 14-Sep 20
  • 35 posts

Posted 02 April 2021 - 10:00 PM #3

Product features are not retrieved from database on product listing. So you cannot just change template, changes in php are required as well

Yeah that what i feel i tried many functions ID  to get vendor logo like product details But nothing work, 

 

So it mean i want to play on php function as well, 

 

Thank you so much  



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

Posted 05 April 2021 - 05:22 AM #4

To get vendor logos, use something like

{$logos = $product.company_id|fn_get_logos}
{include file="common/image.tpl" images=$logos.theme.image image_width="120" class="ty-company-image"}

(!) 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 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)


 
  • a3lanjo
  • Member
  • Trial users
  • Join Date: 14-Sep 20
  • 35 posts

Posted 29 April 2021 - 12:15 AM #5

That worked for me >>> Big Thanks .

To get vendor logos, use something like

{$logos = $product.company_id|fn_get_logos}
{include file="common/image.tpl" images=$logos.theme.image image_width="120" class="ty-company-image"}

(!) Not tested