VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Genius WebDesign on June 19, 2012, 00:12:50 AM

Title: Trying to create a <div>..
Post by: Genius WebDesign on June 19, 2012, 00:12:50 AM
Hi,

In my templates products details default.php I'm desperately trying to surround product price with a "div" so that I can add module positions etc. that follows the margin of the price-length.
This is what I have come up with this far, which of course doesnt work..:

echo $this->currency->createPriceDiv('salesPrice','COM_VIRTUEMART_PRODUCT_SALESPRICE',  ('<div class="testpricetext" style="position:relative;">') .$this->product->prices ('</div>') );


.. and yes, my php skills are not something to brag about, I know;)
Hope some kind person will help me with this tiny issue