VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Actlas on April 25, 2012, 09:27:05 AM

Title: Edit product details page html?
Post by: Actlas on April 25, 2012, 09:27:05 AM
I would like to edit the product details page. By default "Price" and "120$" are displayed underneath eachother. I want them next to eachother.

<div class="PricesalesPrice" style="display: block; "> --> this should be display: inline ---> where can I change this in VM 2?
Title: Re: Edit product details page html?
Post by: PRO on April 25, 2012, 12:24:41 PM
many stickies right here

http://forum.virtuemart.net/index.php?board=130.0

Title: Re: Edit product details page html?
Post by: solwininfotech on April 25, 2012, 12:34:41 PM
you can change in the product controller file.
that is in your root directory ..

component/com_virtuemart/controller/ productdetail.php

there is recalculate function . that calculate the price.

So you can debug that function and can get the output that  you want

:
Title: Re: Edit product details page html?
Post by: solwininfotech on April 25, 2012, 12:49:04 PM
you can change in the default_showprices.php.
that is in your root directory ..

component/com_virtuemart/views/ productdetails/tmpl/default_showprices.php.

All prices  div created by the function  createPriceDive().

and this function is in the file  currencydisplay.php

this file is located in the folder.

administrator/component/com_virtuemart/helpers/urrencydisplay.php

in vm 2.0.2 you need to change in this file...
on line 320 or in 323


So you can debug that function and can get the output that  you want

;)