Jump to content

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

Document Editor With Multiple Storefronts Rate Topic   - - - - -

 

Posted 01 May 2019 - 03:33 PM #1

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 :)



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

Posted 03 May 2019 - 05:56 AM #2

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


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


 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 06 May 2019 - 12:37 PM #3

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).



					
					
Kate Lazarevskaya,
CS-Cart Support Engineer
CS-Cart Knowledge Base | CS-Cart Reference Guide

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

Posted 06 May 2019 - 01:44 PM #4

 

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 ?


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


 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 06 May 2019 - 05:00 PM #5

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


Kate Lazarevskaya,
CS-Cart Support Engineer
CS-Cart Knowledge Base | CS-Cart Reference Guide