Author Topic: Edit product details page html?  (Read 9769 times)

Actlas

  • Jr. Member
  • **
  • Posts: 69
Edit product details page html?
« 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?

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
Re: Edit product details page html?
« Reply #1 on: April 25, 2012, 12:24:41 pm »
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

solwininfotech

  • Beginner
  • *
  • Posts: 41
Re: Edit product details page html?
« Reply #2 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

 :

solwininfotech

  • Beginner
  • *
  • Posts: 41
Re: Edit product details page html?
« Reply #3 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

 ;)