News:

Support the VirtueMart project and become a member

Main Menu

Edit product details page html?

Started by Actlas, April 25, 2012, 09:27:05 AM

Previous topic - Next topic

Actlas

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?

PRO


solwininfotech

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

:

solwininfotech

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

;)