问题描述
我正在使用将所有信息分隔到选项卡中的现代主题.我想合并一些标签,因为访客讨厌点击.
I am using a Modern theme which separates all information into tabs. I want to merge some of the tabs as visitors hate clicking.
我花了几个小时搜索,但找不到一个真正有效的.
I spent hours searching, but can't fine one that actually works.
这是我想要实现的示例:
Here is example of what I want to achieve:
http://www.teasta.com/chocolate-mint-rooibos-herbal-tea-4oz-tin.html
您可以看到描述出现在附加信息(属性)上方
You can see description appears just above the Additional information (attributes)
如何在 Magento 1.7.0 中执行此操作?
How do I do this in Magento 1.7.0?
推荐答案
For Remove Additional Information Tab comment following code from catalog.xml
For Remove Additional Information Tab comment following code from catalog.xml
<action method="addTab" translate="title" module="catalog"><alias>additional</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>
为了在产品描述选项卡中显示附加信息,请将以下代码粘贴到
目录/产品/视图/description.phtml"文件.
For display Additional Information in Product Description Tab paste following code in
"catalog/product/view/description.phtml" file.
<?php echo $this->getLayout()->createBlock('catalog/product_view_attributes', '', array('template'=> 'catalog/product/view/attributes.phtml'))->toHtml(); ?>
这篇关于如何合并产品描述和附加信息选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!