News:

Looking for documentation? Take a look on our wiki

Main Menu

ordermail are broken after changing footer

Started by thelake, August 25, 2016, 18:00:45 PM

Previous topic - Next topic

thelake

As soon as I put some htmlText or {vm:vendorlegalinfo} in the footer of the ordermail the shopper receives the layout of email gets totally destroyed.
This happens suddenly with all my 5 shops, no matter with or without some overrides of "invoice".
Unfortunately in Germany I need to put the legal infos in the mail....
Joomla 3.6.2 or VM 3.0.16 / 3.0.17.6
php: 5.6.10 or 7.0.2

GJC Web Design

then you have to assume your html is faulty

why not edit the over rides directly instead of the clonky admin thing?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

thelake

html is checked and clean and  well. Just some <h1> and <p>

you mean hardcoding the legalinfos as text in the overrides? I don't like these kind of stuff.
For me it seams to be a mistake in VM?!


jenkinhill

I just tested adding some html formatted text into the legal info on the vendor tab using JCE editor and had no issues at all in the order emails.  I have J3.6.2/VM3.0.17.6
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

thelake

Well seems I am the only one with this , 5 VM-Installations, all broken - but for what reason???
What kind of server you are using?

jenkinhill

It is very unlikely to be server related - but standard Linux, cPanel, PHP5.6.23  MySQL5.6.30

Are you using any ids or classes? Any css must be in-line for this.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

Quoteyou mean hardcoding the legalinfos as text in the overrides? I don't like these kind of stuff.

make the T&C's a lang constant over ride and just add the  <?php echo JText::_('MY_T_AND_C'); ?>

Quote5 VM-Installations, all broken

example of?

put <?php die();  ?> at the bottom of components\com_virtuemart\views\invoice\tmpl\mail_html.php and toggle the pending /confirmed of the order so you can debug it
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation