Document Editor With Multiple Storefronts

Hi guys,

I am slowly getting to grips with CS-Cart but I have a question about the document editor when used with multiple storefronts.

I have 2 storefronts set up. They are both using the same bright theme each with a custom style.

I can only edit documents and save the changes with 'All stores' selected. This means that the design I have created including branding for storefront 1 is then used for storefront 2 as well. The documents do not appear to be unique to each storefront?

Is anyone able to advise?

Thank you :)

I think, you can add condition by order.company_id parameter to add different styles for different store-fronts

You can use the following condition in the E-mail templates:

{% if company_name  == "[COMPANY_NAME]" %} {{ snippet("footer") }} {% else %} {{ snippet("footer_1") }} {% endif %}

(you should create a snippet with the footer1 code first and replace [COMPANY_NAME] with the company name).


            

You can use the following condition in the E-mail templates:

{% if company_name  == "[COMPANY_NAME]" %} {{ snippet("footer") }} {% else %} {{ snippet("footer_1") }} {% endif %}

(you should create a snippet with the footer1 code first and replace [COMPANY_NAME] with the company name).


Do you mean company.name ?

No, there is the company_name variable available in the mail templates editor.