Jump to content

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

Adding Company Logo To Documents When Using Multiple Storefronts Rate Topic   - - - - -

 

Posted 27 June 2019 - 08:16 AM #1

Hi all,

 

I am in the process of setting up another storefront on CS-Cart.

 

Currently for invoice and packing slip documents I am using a jpeg image of our company logo. This worked fine when only having 1 storefront set up.

 

Now I want to set up storefront 2 I need to change the logo via the document editor in both invoice and packing slip so it uses the store logo for each store front.

 

How do I insert the logo uploaded by the them editor for example? Can this be done via a snippet?

 

Any help would be hugely appreciated!

 

Thanks



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

Posted 27 June 2019 - 01:27 PM #2

You can add condition by company name or company ID to the template


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 руб.


 

Posted 27 June 2019 - 03:14 PM #3

You can add condition by company name or company ID to the template

 

Thank you for the reply as always! Would you be able to give me an example?

 

Thanks



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

Posted 28 June 2019 - 05:35 AM #4

Find several examples here

 

https://forum.cs-car...le-storefronts/


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 руб.


 

Posted 28 June 2019 - 08:33 AM #5

Find several examples here

 

https://forum.cs-car...le-storefronts/

 

I forgot I created that post a while ago!

 

I have managed to solve this on my own  :mrgreen:

 

I inserted this code where I wanted the store logo to appear - {{ snippet("company_logo") }}

 

I then created the 'company_logo' snippet with the following - <img src="{{c.logos.mail.image.image_path}}" alt="{{ company_data.company_name }}" width="100">

 

This takes the image saved for 'Mail' in the theme editor and displays it on the packing list.

 

I have done the same for invoices as well!