0

i am new to magento i want to show some custom data via module / observer in product details description tab ,

can u please i got some links but i do not want to modify core files can u please guide of hint way of doing it

i created module and added below code:

<blocks>        
    <rewrite>
        <reference name="content">
        <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/descriptionfff.phtml">
                <action method="addToParentGroup"><group>detailed_info</group></action>
                <action method="setTitle" translate="value"><value>Description</value></action>
        </block>
        </reference>
    </rewrite>
</blocks>
6
  • are you need to add custom tab on details page or add custom data in exiting tabs?
    – Abdul
    Jan 22, 2016 at 6:43
  • ok fine say if i want to add custom data to existing tabs how can i do it via module say i want to override content of desciption.phtml with my custom data
    – mcoder
    Jan 22, 2016 at 6:45
  • custom data fixed ???
    – Abdul
    Jan 22, 2016 at 6:49
  • no dynamic data from backend
    – mcoder
    Jan 22, 2016 at 6:50
  • have you created product attribute or mange custom table with product relation?
    – Abdul
    Jan 22, 2016 at 6:56

1 Answer 1

0

You are mixing the module block config with the layout declaration.

I'm assuming you are very new to magento so a detailed answer covering all module creation and configuration will be too much, so i leave here some links with the basis:

Alan Storm Guide

How to add a Custom Block

I know that Magento SE discourage this kind of "link based" answers but IMO is right for this case.

Your Answer

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

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