News:

Support the VirtueMart project and become a member

Main Menu

Payment done layout

Started by groentjie, April 13, 2012, 11:10:50 AM

Previous topic - Next topic

groentjie

The layout of the page when you will see the Thank You is coming from
order.done.php in cart views
<?php


echo "<h3>".JText::_('COM_VIRTUEMART_CART_ORDERDONE_THANK_YOU')."</h3>";

echo 
$this->html;
?>


Where do I edit the HTML?
I want to valign the payment method.

fexnok

Hi,

I had the same problem and spent a lot of time trying to figure out where was actually generated. Finally 've found it. It's under

\plugins\vmpayment\standard\standard.php

Find the lines 120, 133 and 134. The function getHtmlRow receives three parameters: $key, $value, $class = ''. You can actually check it on

\administrator\components\com_virtuemart\plugins\vmpsplugin.php line 762

So if you want to format the output, you can do something like this

$html .= $this->getHtmlRow('STANDARD_PAYMENT_INFO', $dbValues['payment_name'], 'width="20%"');

Feel free to play with it

Cheers