Author Topic: 'paymentName' in invoice email  (Read 239 times)

marvays

  • Jr. Member
  • **
  • Posts: 431
    • richta.cz
  • Skype Name: marvays
'paymentName' in invoice email
« on: January 12, 2022, 15:12:57 pm »
There is an error in the order email, payment and shipping line. The name of the payment and the info for the payment are written in a row without a space. Where can I fix it? It's burning.

In mail_html_pricelist.php is only:
Code: [Select]
<td align="right" style="border: 1px solid #CCCCCC;" class="pricePad" colspan="6"><?php echo $this->orderDetails['paymentName'?> </td>
Thx

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10343
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: 'paymentName' in invoice email
« Reply #1 on: January 12, 2022, 15:19:01 pm »
add a space in front of the desc or  -  etc
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

marvays

  • Jr. Member
  • **
  • Posts: 431
    • richta.cz
  • Skype Name: marvays
Re: 'paymentName' in invoice email
« Reply #2 on: January 12, 2022, 15:22:53 pm »
add a space in front of the desc or  -  etc

Yes. But this will cause a grammatical error in the cart. Because in the cart, the info is given in parentheses.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1286
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: 'paymentName' in invoice email
« Reply #3 on: January 13, 2022, 03:11:14 am »
paymentName is created by function in VM core.

If you need space between name and description you can:
- add space before description
- change core code

Look at the www.zelenazeme.cz - the shipping and payment name with description are changed by hack in core VM function.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

marvays

  • Jr. Member
  • **
  • Posts: 431
    • richta.cz
  • Skype Name: marvays
Re: 'paymentName' in invoice email
« Reply #4 on: January 13, 2022, 05:01:14 am »
It will probably be better if I report it as a bug and maybe the guys will fix it in future versions. You'll need to separate it intelligently ... in italics, or put it in parentheses. Otherwise it looks amateurish.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1286
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: 'paymentName' in invoice email
« Reply #5 on: January 13, 2022, 10:05:37 am »
this bug is 9 years old :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10343
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: 'paymentName' in invoice email
« Reply #6 on: January 13, 2022, 15:36:44 pm »
I know that payment and shipping names and desc are being discussed in the dev group now...
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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3772
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: 'paymentName' in invoice email
« Reply #7 on: January 13, 2022, 20:02:43 pm »
Encapsulate with htmltags, for example:

Code: [Select]
<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.