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 12, 2022, 15:12:57 PM

Previous topic - Next topic

marvays

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:
<td align="right" style="border: 1px solid #CCCCCC;" class="pricePad" colspan="6"><?php echo $this->orderDetails['paymentName'?> </td>

Thx

GJC Web Design

add a space in front of the desc or  -  etc
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

marvays

#2
Quote from: GJC Web Design on January 12, 2022, 15:19:01 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

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 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

marvays

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

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

GJC Web Design

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 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.