News:

Looking for documentation? Take a look on our wiki

Main Menu

<?php echo $this->orderDetails['paymentName'] ?>

Started by funny-rabbit, August 23, 2020, 17:50:36 PM

Previous topic - Next topic

funny-rabbit

hello my problem is
<?php echo $this->orderDetails['paymentName'] ?>
results in a html formatted string named: <span class="vmpayment_name">Rechnung</span><br />

what is needed is just "Rechnung". do you know how to strip the html off of <span class="vmpayment_name">Rechnung</span><br /> ?
Leaning Virtuemart and Joomla
Config: Joomla 3.9.21 - VM 3.8.5 - PHP 7.4

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

funny-rabbit

Yeah this works! I give you +1 reputation.
Thanks!!
Leaning Virtuemart and Joomla
Config: Joomla 3.9.21 - VM 3.8.5 - PHP 7.4