I am almost sure that the following templates should be corrected
design/themes/THEME/mail/templates/common/options_info.tpl
design/backend/mail/templates/common/options_info.tpl
Try to add <br /> after comma
Posted 04 September 2017 - 02:07 PM #181
I am almost sure that the following templates should be corrected
design/themes/THEME/mail/templates/common/options_info.tpl
design/backend/mail/templates/common/options_info.tpl
Try to add <br /> after comma
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 05 September 2017 - 01:11 AM #182
Ok, thanks,
I thought that /mail/templates/common/options_info.tpl might only apply to the old method,
I will try mod'ing via my_changes.
I guess the design/themes/THEME/mail/templates/common/options_info.tpl file applies just when customer is viewing orders.
I wish CSC didnt need so many changes to fix obvious user-friendly issues!
Posted 05 September 2017 - 07:37 AM #183
I thought that /mail/templates/common/options_info.tpl might only apply to the old method,
As far as I can see, some variables still use old templates. E.g. please check the getOptions function in the app/Tygh/Template/Snippet/Table/ProductVariable.php file
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 14 September 2017 - 06:43 AM #184
What is the point in tweaking and sending invoice here
demo.cs-cart.com/stores/admin.php?dispatch=orders.details&order_id=95
If customer here
demo.cs-cart.com/stores/index.php?dispatch=orders.details&order_id=95
can download print not edited version?
The point is to send modified invoice that should be paid.
We discussed this question a year ago: http://forum.cs-cart...ndpost&p=257433
In
app/Tygh/Template/Document/Order/Variablesyou are using __('invoice', array()$this->data['invoice_header'] = __('invoice', array(), $this->context->getLangCode());$this->data['invoice_id_text'] = __('order', array(), $this->context->getLangCode()) . ' #' . $this->context->getOrder()->getId();now if I change __('invoice', array() in ?dispatch=languages.translationsto something how it should be in my language, it would look like "PVM SASKAITA FAKTURA", and this would be seen everywhere __('invoice', array() is used. You should of used something additional like __('invoice_title', array() that would fix the problem..
Sounds fair. We will look into adding a new language variable.
Posted 26 November 2017 - 06:10 PM #185
Is this easy editor still available ? I can't find it anymore.
http://blog.cs-cart....he-admin-panel/
I have the latest version of cs-cart.
Posted 27 November 2017 - 05:40 AM #186
Is this easy editor still available ? I can't find it anymore.
http://blog.cs-cart....he-admin-panel/
I have the latest version of cs-cart.
Hello!
Yes, please check the "Email templates mode" setting in Settings->Appearance. It should be set to "New".
Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE
Mega SEO Package - All you need for your SEO
Posted 06 December 2017 - 11:21 AM #188
1. - as answered above - use language variable.
2.a - we will add a new variable called {{counter}} I suppose it can be useful for many others.
2.b - can be done using language variable or 3rd part add-on if you have different measurements of you products.
2.c, 2.d, 2.e see Darius respond: http://forum.cs-cart...ndpost&p=245835
1. - on serial but on the number ? the serial can be the same, but the number is uniq. and when u reach the maximum number of 10k, u change the serial.
2. - a not working
2.b - working
2.c, 2.d, 2.e - Darius respond: already works this way, but you have to enter product price without tax.
i don't want to show the product price without tax, more than that i can't, all online shops in our country show product price with tax, i cant be the one to change this to be different and confuse customers.
Posted 08 December 2017 - 01:47 AM #189
Hello!
Yes, please check the "Email templates mode" setting in Settings->Appearance. It should be set to "New".
Thanks, it works
Posted 08 December 2017 - 06:44 AM #190
Invoice is a general word but what according to you does it actually mean and how is it treated in business?
I cannot speak for all but
To invoice someone - means to issue some sort of document where quantities and total are confirmed. In Europe in most cases it would be called a proforma invoice or something like advance invoice for payment to be made. In most cases proforma has no legal power, it does not confirm payment receipt or anything else.
Commercial invoice - means acknowledgment that funds where received. In most cases commercial invoice from buyers point would be combined and saved with bank transfer receipt, paypal receipt, cash register receipt if its a cash payment.
Business forms like sole priotorship invoice itself is a receipt for payment! This is why it is critically important how it is titled!!!
In some cases where there is a trust between seller and buyer commercial invoice can be issued without prior payment. In such cases even taxes for purchase is paid by seller even no actual payment is received yet!!!
The point is to send modified invoice that should be paid.
We discussed this question a year ago: http://forum.cs-cart...ndpost&p=257433
Posted 08 December 2017 - 06:56 AM #191
Here is how I have modified my invoice, it is made to multilingual, meaning prints in two languages
/public_html/app/Tygh/Template/Document/Order/Variables/OrderVariable.php
where
invoice_title_serija - means nr, ex INVOICE nr 100 (optional for most)
proforma_title_en - proforma invoice, not paid invoice
invoice_title_en - paid invoice
/** * Initialize header for invoice. */ protected function initInvoiceHeaderText() { $status_data = $this->context->getOrder()->getStatusData($this->context->getLangCode()); $this->data['invoice_header'] = __('proforma_title', array(), $this->context->getLangCode()); $this->data['invoice_id_text'] = '<br />' . __('proforma_title_en', array(), $this->context->getLangCode()); if (!empty($status_data['params']['appearance_type'])) { if ($status_data['params']['appearance_type'] == 'O') { $this->data['invoice_header'] = __('order_details', array(), $this->context->getLangCode()); $this->data['invoice_id_text'] = '<br/>' . __('proforma_title_en', array(), $this->context->getLangCode()); } elseif (!empty($this->data['doc_ids'][$status_data['params']['appearance_type']])) { $doc_id = $this->data['doc_ids'][$status_data['params']['appearance_type']]; if ($status_data['params']['appearance_type'] == 'I') { $this->data['invoice_id_text'] = '<br/>' . __('invoice_title_en', array(), $this->context->getLangCode()); $this->data['invoice_header'] = __('invoice_title', array(), $this->context->getLangCode()) . __('invoice_title_serija', array(), $this->context->getLangCode()) . $doc_id; } elseif ($status_data['params']['appearance_type'] == 'C') { $this->data['invoice_id_text'] = '<br/>' . __('credit_memo', array(), $this->context->getLangCode()); $this->data['invoice_header'] = __('credit_memo_title', array(), $this->context->getLangCode()) . __('invoice_title_serija', array(), $this->context->getLangCode()) . $doc_id; } } } }
Posted 08 December 2017 - 07:05 AM #192
Any invoice modification does not make sense if customer can print unchanged version from his order details page. Personally I have blocked print invoice feature via hooks but it is a question of logic and it is not just logical but can even cause business problem where for same order can be two or more not identical invoices become available. Invoice is one document and everywhere should be same identical.
Also I think invoice should be available only in pdf format!!!
- there should be save changes feature in tweak and send invoice.
- save as pdf ---> download as pdf in customer order details page. Something like order attachments addon from simtechdev..
Posted 29 December 2018 - 07:50 AM #193
These new templates are nice.
I am however having trouble with them displaying properly in Outlook 2016 or iOS10.
The first problem I would like to tackle are the Social icons do not display in the live e-mail. The Social icons show up in preview mode but if you send a test or real e-mail they do not show.
This is the code: (default footer snippet for all templates)
<table class="info" width="250" align="left"> <tr> <th class="footer-social__title"> {{ __("get_social") }} </th> </tr> <tr> <td class="footer-social"> <a href="http://www.facebook.com"><img width="30" height="30" src="design/themes/responsive/mail/media/images/social/facebook.png"></a> <a href="https://twitter.com"><img width="30" height="30" src="design/themes/responsive/mail/media/images/social/twitter.png"></a> </td> </tr> </table> </td> </tr>Obviously the src="design/... is the code in question and I have verified the icons are in that location and like I said they show up when previewing a template but once sent they do not work.
Is that the wrong way to call the icons remotely?
This is the default template I have not changed it.
My e-mail clients are always able to display images from any other e-mail so that is not the issue.
Any help is appreciated.
Was this issue of social icons not displaying in email footers ever resolved? I'm using 4.8.2.SP2
Posted 29 December 2018 - 08:23 AM #194
Was this issue of social icons not displaying in email footers ever resolved? I'm using 4.8.2.SP2
and yes, "Email templates mode" is set to "New".
Posted 11 January 2019 - 08:01 PM #195
These new templates are nice.
I am however having trouble with them displaying properly in Outlook 2016 or iOS10.
The first problem I would like to tackle are the Social icons do not display in the live e-mail. The Social icons show up in preview mode but if you send a test or real e-mail they do not show.
This is the code: (default footer snippet for all templates)
<table class="info" width="250" align="left"> <tr> <th class="footer-social__title"> {{ __("get_social") }} </th> </tr> <tr> <td class="footer-social"> <a href="http://www.facebook.com"><img width="30" height="30" src="design/themes/responsive/mail/media/images/social/facebook.png"></a> <a href="https://twitter.com"><img width="30" height="30" src="design/themes/responsive/mail/media/images/social/twitter.png"></a> </td> </tr> </table> </td> </tr>Obviously the src="design/... is the code in question and I have verified the icons are in that location and like I said they show up when previewing a template but once sent they do not work.
Is that the wrong way to call the icons remotely?
This is the default template I have not changed it.
My e-mail clients are always able to display images from any other e-mail so that is not the issue.
Any help is appreciated.
Hello, I am having this SAME problem, It's an old thread but I would have thought this issue with social icons in mail templates would have been resolved by now, or am I doing something wrong?
I am unable to get the social icons to display in email footers and yes, my emails accept images and all that has has checked, even gone as far as placing new icons in a different directory and that does not work either. The icons display fine when I'm working on the html and preview on the browser and they also preview fine in the email template "Preview" link. But once I send out a test mail, the social icons do not display in email clients ...yes, I've tried several.
I've also disabled footer snippet and entered the social links directly into the email template, which are clearly visible, but when I send a test mail, and look at it, icons do not display.
Geezz...any solution or fix for this? Thanks!!!!!!
Posted 11 January 2019 - 08:15 PM #196
You could "try" adding a slash (/) to ensure it's not looking relative to the mail directory (which it should be). I.e. I'd think that either
src="/design/themes/....."
or
src="media/images/facebook.png"
would/should work.
But in all honesty, since this is an addon, it shouldn't be putting images in that location to start with. They should either be in
media/addons/social/images
or
templates/addons/socia/media/images/....
I would use the latter. Strange that cs-cart is not following their own addon structure.... In any event, addon images should be installed into a directory specific to the addon and not into system folders.
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 11 January 2019 - 09:55 PM #197
Hi... well, thanks for advise, I only placed images in another folder just to try something different, if it would work. it did not.
yes, I've tried adding slashes ../, ./, .../, no slash, full URL, https, no https, www, no www and not working
this is the original code displayed in original footer snippet
src="design/themes/responsive/mail/media/images/social/linkedin.png" and I'm using standard Bright Theme.
Is this how you all have it? and it's working for you?
Below is my default footer snippet:
</td> </tr> <tr class="message-footer"> <td> <table class="info ty-email-footer-left-part" width="250" align="left"> <tr> <th class="footer-contact__title ty-email-footer" style="text-align: center;"> {{ __("contact_information") }} </th> </tr> <tr> <td class="ty-email-footer" style="text-align: center;"> <address>{{ company_data.company_address }}, {{ company_data.company_city }}</address> </td> </tr> </table> <table class="info ty-email-footer-right-part" width="250" align="right"> <tr> <th class="footer-social__title ty-email-footer" style="text-align: center;"> {{ __("get_social") }} </th> </tr> <tr> <td class="ty-email-footer-social-buttons footer-social"> <table cellspacing="3" cellpadding="0" align="center"> <tr> <td> <a href="https://www.facebook.com"><img width="30" height="30" src="design/themes/responsive/mail/media/images/social/facebook.png"></a> </td> <td> <a href="https://twitter.com"><img width="30" height="30" src="design/themes/responsive/mail/media/images/social/twitter.png"></a> </td> <td> <a href="https://www.linkedin.com"><img width="30" height="30" src="design/themes/responsive/mail/media/images/social/linkedin.png"></a> </td> </tr> </table> </td> </tr> </table> </td> </tr> {% if company_data.company_name %} <tr class="message-copyright"> <td> <table class="copyright" width="100%"> <tr> <td> © {{ company_data.company_name }} </td> <td align="right"> {{ __("customer_text_letter_footer") }} </td> </tr> </table> </td> </tr> {% endif %} </table> <!-- content-wrapper --> </td> </tr> </table> <!-- main-wrapper --> </body> </html>
Posted 11 January 2019 - 10:46 PM #198
I don't have the social addon installed so I wouldn't know.
Just trying to offer quick suggestions while you report it to bugtracker and wait....wait for a response.
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.
Posted 12 January 2019 - 12:25 AM #199
Thanks for the idea, I will check there and see if someone has said anything about this.
...in the meantime if someone who has the addon installed and can paste their footer snippet (I'm using 4.8.2.SP2) OR if there is a fix for this OR has any info on this issue, which reading whole thread was never really resolved, will be appreciated, thanks!!!
Posted 12 January 2019 - 10:59 PM #200
Try the cs-cart demo site.
EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.