News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

paymentName in invoice email

Started by marvays, January 13, 2022, 05:06:52 AM

Previous topic - Next topic

marvays

In the order email there is an item "paymentName" and "shipmentName" which consists of two fields ... name and description. Both fields are inserted in close succession, without gaps and further optical separation. Everything happens in the core VM and cannot be modified in the template.

I suggest separating the fields with a space and enclosing the description in parentheses so that it is clear what the name is and what the description is.

Thank you and good luck.

GJC Web Design

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


GJC Web Design

How would you know?  Do u know what is being discussed?
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

Jörgen

Encapsulate with htmltags, for example:

<span class="vmpayment_info">Avsluta köpet genom att betala in köpesumman till det angivna bankgironumret.</span>

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

a lot of mail client delete div or span
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Jörgen

Then maybe try this


  if ($this->orderDetails['paymentName']) {
   str_replace('spaceChar', ' ', $this->orderDetails['paymentName']);
   echo $this->orderDetails['paymentName'];
}


'spaceChar' is whatever you want to use to replace with ' ' or some other string..

Put this in your override for invoice and mail etc. This is a temporary fix the final fix should be done in the core.

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.