Author Topic: Email template  (Read 202 times)

roman5527

  • Jr. Member
  • **
  • Posts: 160
Email template
« on: September 06, 2020, 00:37:07 am »
Hi, i have two question .

1- How i can add my custom font to email template ?

2- how i can remove img payment method and shipping method from email template ? But i want img in shopping cart. I see only this code in mail_html_pricelist.php :
Code: [Select]
<?php echo $this->orderDetails['shipmentName'?> 

thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9777
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Email template
« Reply #1 on: September 06, 2020, 23:13:20 pm »
2 - similar answer to http://forum.virtuemart.net/index.php?topic=145376.msg516234#msg516234

use preg match to remove the img  or perhaps strip_tags() will do it anyway
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27842
  • Always on vacation
    • Jenkin Hill Internet
Re: Email template
« Reply #2 on: September 07, 2020, 10:45:27 am »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.8.4.10335 on Joomla 3.9.21 PHP 7.4.9