within the following file I can see below shown code:
File:
frontend/default/ves_fashion/template/common/list/default.phtml
Code:
<div class="price">
<?php echo $this->getPriceHtml($_product, true, $price_prefix) ?>
</div>
If I navigate to
frontend/default/ves_fashion/template/catalog/product/price.phtml
and make some changes to the price.phtml file, I can see the changes on two parts:
- The price which is shown for each product in the product overview section.
- The price which is shown for one product in the detail view.
How can I change the template that two different price templates are loaded - one for the overview section, and a different one for the detailed section?
I tried to rename
<?php echo $this->getPriceHtml($_product, true, $price_prefix) ?>
to
<?php echo $this->getPricelistHtml($_product, true, $price_prefix) ?>
And clone price.phtml as pricelist.phtml, but this is not working correctly.
Thanks for your help!