I have added an extra field Specification in Catalog->Product->Data tab.
This text is stored in a column called specification in product_description table.
Now I want to display this information in my Store Front (default theme). On product page there is a tab Specification that displays attribute. I want to display specification instead of attribute.
Please suggest me how to do it 🙁
First: edit Your
Productmodel – should be incatalog/model/product/product.php– find the methodgetProductand edit the SQL that selects the product details to also get thespecificationcolumn.Second: edit Your
Productcontroller – should be incatalog/controller/product/product.phpand make sure that Yourspecificationcolumn will be added to$this->data['specification'], e.g.Third: edit Your
Productdetail template – should be incatalog/view/theme/default/templates/product/product.tpland find that part where<div class="tabs">(or similar) is – then find the tab for specification and print out Yourspecificationcolumn here…Should be done.