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

Add payment details for bank transfer in Order information page

Started by KrisTianoVS, September 12, 2018, 15:35:19 PM

Previous topic - Next topic

KrisTianoVS

Hello,

I would like to automaticaly add "bank details" in case of bank transfer payment method on the order information page.

Idealy, I would like to show those informations just after "Payment method : Bank transfer (standard)".

To achieve that, I am looking for two solutions.

1. Use the "Payment Info" of the plugin settings just under the field in  details_order.php file
2. Edit language string "Bank transfer (standard)" and simply add the bank information there, but I cannot find where it is localized.

First solution looks better as it will only appear where I need, but I don't know how to add the required script as a condition that only show those information with bank transfer, and not with PayPal or Credit Card method.

Does one of you already did that kind of modification?

Tahnks in advance for your help and have a nice day!

GJC Web Design

QuoteFirst solution looks better as it will only appear where I need,

it should only appear in orders using that method
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

KrisTianoVS

Hello, thanks for your answer GJC. Do you know where I could find the language string that is in use and in wich I could had those informations?
I had a look on language file of Virtuemart, but I did not find it?

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

KrisTianoVS

Thanks. I have found the right file, but there is no language string containing "Bank transfer (standard)"

I have the feeling that "Bank transfer" comes from the name I gave in VM settings and I don't know frome where "  (standard) " is coming?

I attach a printcreen to clearly explain what I would like to have.


GJC Web Design

think its the payment_name column of the plugin db table which is created programatically by the function renderPluginName() in

administrator\components\com_virtuemart\plugins\vmpsplugin.php - I assume from the plugin name etc

so u need to trace that or simply change your email and invoice templates

R U translating the plugin name in the admin?
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

djanael

Quote from: GJC Web Design on September 13, 2018, 14:46:24 PM
think its the payment_name column of the plugin db table which is created programatically by the function renderPluginName() in

administrator\components\com_virtuemart\plugins\vmpsplugin.php - I assume from the plugin name etc

so u need to trace that or simply change your email and invoice templates

R U translating the plugin name in the admin?

!up

unsolve this in VirtueMart 3.0.17.6

Jörgen

Current VM version is now 3.6.10. !!!
Should work with 3.0.17 Also. There is nothing special about the payment name. What do you want to accomplish?
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

pinochico

Fill payment description in administration and change email template/invoice => after payment name == name (you can localized) + type of payment plugin (you can't localized) add to next line payment description on your place.
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