News:

Looking for documentation? Take a look on our wiki

Main Menu

How to modify {vm:vendoraddress}

Started by coxi, June 22, 2016, 19:56:42 PM

Previous topic - Next topic

coxi

Hi everybody,  ;)
I'm using Joomla 3.48 + VM 3.0.14 with VP Merchant template.

I need to modify the content of the plugin {vm:vendoraddress}, because he call two fields I didn't need (country and region). I don't need to display them into invoice, but these are requested fiels I can't leave blank.
So, the solution is to not call them into {vm:vendoraddress}. But I don't know where such fields are called by the plugin.

Any idea ?
Regards, Alain.

jenkinhill

What "plugin" are you talking about?

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

from memory it calls static public function renderVendorAddress ($vendorId,$lineSeparator="<br />", $skips = array('name','username','email','agreed'))

in components\com_virtuemart\helpers\shopfunctionsf.php

add more skips?
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