Magento:合并产品描述和添加信息选项卡 [英] Magento: Merge Product Description and Addition Information Tab

查看:24
本文介绍了Magento:合并产品描述和添加信息选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是现代主题,它将所有信息分成标签.

I am using Modern theme which separates all information into tabs.

我想合并一些标签,因为访问者讨厌点击.

I want to merge some of the tabs as visitors hate clicking.

花了几个小时搜索,但没有找到真正有效的.

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>  

为了在产品描述标签中显示附加信息,将以下代码粘贴到
catalog/product/view/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(); ?>

祝你好运!!

这篇关于Magento:合并产品描述和添加信息选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆