chermansen
chermansen

Reputation: 1

Magento shows different prices on category page and PDP

On my shop the category page use:

echo $this->getPriceHtml($_product, true)

On Product detail page is uses:

echo strip_tags(Mage::helper('core')->currency($_product->getPrice()));

The category page shows price incl tax PDP shows price excl tax

I need it to show incl tax in both places.

How do I achieve that

Upvotes: 0

Views: 599

Answers (1)

Lord Skeletor
Lord Skeletor

Reputation: 531

In your product view page replace:

<?php echo strip_tags(Mage::helper('core')->currency($_product->getPrice())); ?>

with:

<?php echo $this->getPriceHtml($_product); ?>

Upvotes: 2

Related Questions