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

Edit Virtuemart`s Order confirmation Email

Started by artonweb, September 08, 2016, 19:24:18 PM

Previous topic - Next topic

artonweb

VirtueMart 3.0.16
Joomla! 3.6.2

Hello.
I would like your suggestions about the modifications that have to be made in some fields of the order confirmation Email.
At the time being, I see both payment and shipment method name and description,but I want neither of the descriptions to be shown.
Can you give me any solutions?

Thank you in advance.

GJC Web Design

edit the template with an over ride

components\com_virtuemart\views\invoice\tmpl\invoice_items.php

you may need some preg_replace as its all there

<?php echo $this->orderDetails['paymentName'] ?>
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

artonweb

Thank you for your reply.
Please, take a look at code: <td align="right" class="pricePad" colspan="6"><?php echo $this->orderDetails['paymentName'?></td>
I can't see something about "payment description".

GJC Web Design

Quoteyou may need some preg_replace as its all there

check your DB orders table .. as I said .. it is all there  .. name and desc.. so you need to filter it out somehow
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

AH

I believe the shipment data is shown using the:

components/com_virtuemart/views/invoice/tmpl/mail_html_shopperaddresses.php





Regards
A

Joomla 3.10.11
php 8.0