0

I want to display the old price (regular price without discount) without taxes, but at the moment the configuration from the backend shows only the special price in the right way.

I checked the rwd/default/catalog/template/product/view.phtml and the content is rendered by $this->getPriceHtml($_product);. As I understood, the content should be found in the price.phtml, but there is no such file. Where can I find the HTML of the displayed price in the product page?

1 Answer 1

0

The rwd package is supposed to have the file app/design/frontend/rwd/default/template/catalog/product/price.phtml. I don't know if you mispelled the titled, but if you don't have it for some reason, it will fall back to app/design/frontend/default/default theme.

2
  • Ok thank you, I thought it would be in another location in the rwd theme. I found it in the base/default theme.
    – gasper
    Mar 5, 2015 at 15:09
  • price.phtml wasn't added until 1.9.1.0, so it may not exist for gaspar, depending on what version of 1.9 he's using. Also, rwd/default/etc/theme.xml says <parent /> which means it inherits from base/default not default/default. gasper you can turn on template hints and block hints to see how a page is being generated.
    – Richard
    Mar 5, 2015 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.