Add Vendor Profile To Product Page?

I am trying to add a block to each product which provides details about the vendor of that specific product. This functionality was one of the reasons I bought the software.

For example, one of the webshops used by CS-Cart as an example on their own page is Yumbles: Keto Paleo Original Bread - Yumbles.com .

They have this as a block with the title 'Meet your maker' which has:

- A background image

- A profile picture

- A description of the business

- Two other products plus a link to all products by this vendor

I have tried adding the 'vendor information' block but all it does is add the name of the vendor.

How do I do this?

On the product details page you can use HTML block with SMARTY support. To get vendor information, please use the following code

{$company_data = $product.company_id|fn_get_company_data}

Thanks very much for the suggestion. I have tried it, but nothing happens. This is what I did:

1. Add a new HTML block with SMARTY support on the product details page

2. Edit the block and under the content tab paste '{$company_data = $product.company_id|fn_get_company_data}'

3. Save

4. Clear cache

....nothing (and, I checked that there was info written for the example vendor)

Did I put the code in the right place?

You can see here that the vendor logo shows up (I created this block at the same time, and it positioned in the same grid as the new HTML SMARTY block) -> https://www.moebelk.ch/shop-furniture/seating/dining-chairs/english-farmhouse-chair/

Did you have any progress? I’m trying to display more products from the vendor on the product page.

Hi Otho, no progress. I was looking at the Yumbles code for the vendor info and it looks like this below. I am not sure how I would adapt this for my site, where I would need to paste the code.

Meet your maker

Guilt free, raw and powerful superfood snacks created by someone who has experienced the positive results of high-raw eating firsthand.

Founder Alexi has... More»

Products by Cru8

  • Raw Gluten-Free Chocolate Chip Cookies
    Raw Gluten-Free Chocolate Chip Cookies
    Raw Gluten-Free...
  • Raw Gluten-Free Cacao Macaroons
    Raw Gluten-Free Cacao Macaroons
    Raw Gluten-Free...
  • 19
    more

    Thanks very much for the suggestion. I have tried it, but nothing happens. This is what I did:

    1. Add a new HTML block with SMARTY support on the product details page

    2. Edit the block and under the content tab paste '{$company_data = $product.company_id|fn_get_company_data}'

    3. Save

    4. Clear cache

    ....nothing (and, I checked that there was info written for the example vendor)

    Did I put the code in the right place?

    You can see here that the vendor logo shows up (I created this block at the same time, and it positioned in the same grid as the new HTML SMARTY block) -> https://www.moebelk.ch/shop-furniture/seating/dining-chairs/english-farmhouse-chair/

    Our code just retrieves vendor data from the database. Of course, you should use the $company_data variable to show necessary data in required html tags