Adding Company Logo To Documents When Using Multiple Storefronts

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

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

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

Find several examples here

https://forum.cs-cart.com/topic/54953-document-editor-with-multiple-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 - {{ company_data.company_name }}

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!