0

I am working on a project in which I will be adding product description in a tabular format to the product specification. But I could not find the file responsible.

I am using default Magento Theme. I am able to find the product page at app\design\frontend\rwd\default\template\catalog\product\view.phtml but it doesn't contain any code for making changes in the Long description of the product.

0

Since your question is literally "how to find the file", the short answer is: Use template hints.

  1. Log into the Magento admin
  2. Go to System -> Configuration in the main menu
  3. Go to Developer on the bottom left under ADVANCED
  4. Switch to the store view on the top left to your current website or store view.
  5. Under the Debug tab of the same Developer config page you will see a new option appear that will allow you to turn on/off template path hints.

Remember to clear your cache. Disclaimer: The above steps are copy/pasted from this article.

To achieve what you're wanting to do, you'll need basically two things:

  1. Your own phtml template file, which echos the data you want to show, and...
  2. Some layout XML which tells Magento what phtml template and php block class to use for your tab.

These SE answers explain in more detail: https://magento.stackexchange.com/a/52381/15970 https://stackoverflow.com/a/26557947/884734

Also this Atwix article could be a good resource: https://www.atwix.com/magento/adding-tabs-on-the-product-page/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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