Skip to main content
deleted 28 characters in body; edited tags
Source Link
7ochem
  • 7.6k
  • 16
  • 54
  • 82

I'm creating a plugin that will extend the review tab title and content in the frontend. So far I can display some text in the product details page using this in my layout file in app\design\frontend\base\default\layout\my\reviewcontainer.xml:

<?xml version="1.0" encoding="UTF-8"?> <layout version="1.0.0"> <catalog_product_view> <reference name="product.info.additional"> <block type="reviewcontainer/tabs" name="product.info.tabs" as="info_tabs"> <action method="setTemplate"> <template>my/reviewcontainer/tabs.phtml</template> </action> </block> </reference> </catalog_product_view> </layout> 

Which calls the template app\design\frontend\base\default\template\my\reviewcontainer\tabs.phtml which basically has and outputs:

<h1 style="color: #e2000a; font-size: 200px">Hey there!</h1> 

Just bellow the <div class="product-collateral toggle-content tabs">..</div>

How can I edit this script so that the above template changes the review tab title and content instead?

Sorry I'm new to Magento

I'm creating a plugin that will extend the review tab title and content in the frontend. So far I can display some text in the product details page using this in my layout file in app\design\frontend\base\default\layout\my\reviewcontainer.xml:

<?xml version="1.0" encoding="UTF-8"?> <layout version="1.0.0"> <catalog_product_view> <reference name="product.info.additional"> <block type="reviewcontainer/tabs" name="product.info.tabs" as="info_tabs"> <action method="setTemplate"> <template>my/reviewcontainer/tabs.phtml</template> </action> </block> </reference> </catalog_product_view> </layout> 

Which calls the template app\design\frontend\base\default\template\my\reviewcontainer\tabs.phtml which basically has and outputs:

<h1 style="color: #e2000a; font-size: 200px">Hey there!</h1> 

Just bellow the <div class="product-collateral toggle-content tabs">..</div>

How can I edit this script so that the above template changes the review tab title and content instead?

Sorry I'm new to Magento

I'm creating a plugin that will extend the review tab title and content in the frontend. So far I can display some text in the product details page using this in my layout file in app\design\frontend\base\default\layout\my\reviewcontainer.xml:

<?xml version="1.0" encoding="UTF-8"?> <layout version="1.0.0"> <catalog_product_view> <reference name="product.info.additional"> <block type="reviewcontainer/tabs" name="product.info.tabs" as="info_tabs"> <action method="setTemplate"> <template>my/reviewcontainer/tabs.phtml</template> </action> </block> </reference> </catalog_product_view> </layout> 

Which calls the template app\design\frontend\base\default\template\my\reviewcontainer\tabs.phtml which basically has and outputs:

<h1 style="color: #e2000a; font-size: 200px">Hey there!</h1> 

Just bellow the <div class="product-collateral toggle-content tabs">..</div>

How can I edit this script so that the above template changes the review tab title and content instead?

deleted 3 characters in body
Source Link
Amit Bera
  • 77.8k
  • 21
  • 127
  • 240

I'm creating a plugin that will extend the review tab title and content in the frontend. So far I can display some text in the product details page using this in my layout file in app\design\frontend\base\default\layout\my\reviewcontainer.xml:

<?xml version="1.0" encoding="UTF-8"?> <layout version="1.0.0"> <catalog_product_view> <reference name="product.info.additional"> <block type="reviewcontainer/tabs" name="product.info.tabs" as="info_tabs"> <action method="setTemplate"> <template>my/reviewcontainer/tabs.phtml</template> </action> </block> </reference> </catalog_product_view> </layout> 

Which calls the template app\design\frontend\base\default\template\my\reviewcontainer\tabs.phtml which basically has and outputs:

<h1 style="color: #e2000a; font-size: 200px">Hey there!</h1> 

Just bellow the <div class="product-collateral toggle-content tabs">..</div>

How can I edit this script so that the above template changes the review tab title and content instead?

Sorry I'm new to Magento :)

I'm creating a plugin that will extend the review tab title and content in the frontend. So far I can display some text in the product details page using this in my layout file in app\design\frontend\base\default\layout\my\reviewcontainer.xml:

<?xml version="1.0" encoding="UTF-8"?> <layout version="1.0.0"> <catalog_product_view> <reference name="product.info.additional"> <block type="reviewcontainer/tabs" name="product.info.tabs" as="info_tabs"> <action method="setTemplate"> <template>my/reviewcontainer/tabs.phtml</template> </action> </block> </reference> </catalog_product_view> </layout> 

Which calls the template app\design\frontend\base\default\template\my\reviewcontainer\tabs.phtml which basically has and outputs:

<h1 style="color: #e2000a; font-size: 200px">Hey there!</h1> 

Just bellow the <div class="product-collateral toggle-content tabs">..</div>

How can I edit this script so that the above template changes the review tab title and content instead?

Sorry I'm new to Magento :)

I'm creating a plugin that will extend the review tab title and content in the frontend. So far I can display some text in the product details page using this in my layout file in app\design\frontend\base\default\layout\my\reviewcontainer.xml:

<?xml version="1.0" encoding="UTF-8"?> <layout version="1.0.0"> <catalog_product_view> <reference name="product.info.additional"> <block type="reviewcontainer/tabs" name="product.info.tabs" as="info_tabs"> <action method="setTemplate"> <template>my/reviewcontainer/tabs.phtml</template> </action> </block> </reference> </catalog_product_view> </layout> 

Which calls the template app\design\frontend\base\default\template\my\reviewcontainer\tabs.phtml which basically has and outputs:

<h1 style="color: #e2000a; font-size: 200px">Hey there!</h1> 

Just bellow the <div class="product-collateral toggle-content tabs">..</div>

How can I edit this script so that the above template changes the review tab title and content instead?

Sorry I'm new to Magento

Source Link
numediaweb
  • 197
  • 2
  • 11

How to change the review tab title and content in product page?

I'm creating a plugin that will extend the review tab title and content in the frontend. So far I can display some text in the product details page using this in my layout file in app\design\frontend\base\default\layout\my\reviewcontainer.xml:

<?xml version="1.0" encoding="UTF-8"?> <layout version="1.0.0"> <catalog_product_view> <reference name="product.info.additional"> <block type="reviewcontainer/tabs" name="product.info.tabs" as="info_tabs"> <action method="setTemplate"> <template>my/reviewcontainer/tabs.phtml</template> </action> </block> </reference> </catalog_product_view> </layout> 

Which calls the template app\design\frontend\base\default\template\my\reviewcontainer\tabs.phtml which basically has and outputs:

<h1 style="color: #e2000a; font-size: 200px">Hey there!</h1> 

Just bellow the <div class="product-collateral toggle-content tabs">..</div>

How can I edit this script so that the above template changes the review tab title and content instead?

Sorry I'm new to Magento :)