VirtueMart 2.x. 如何管理产品自定义选项卡
December 15, 2014
本教程将向您展示如何管理产品自定义选项卡.
VirtueMart 2.x. 如何管理产品自定义选项卡你可以在你的网站后端管理这些标签:
-
Navigate to Components > Virtuemart 在Joomla管理面板中:
-
Choose Products under Products 在Virtuemart管理面板中:
-
编辑要更改的产品.
让我们仔细看看最常见的自定义选项卡.
Description tab
Description tab 允许您显示产品描述文本.
Specification tab
Specification Product tab 允许您添加如下产品规格: Height, Weight, String and Bolean.
Edit product under Components > Virtuemart > Products > Products.
-
Click on Custom Fields tab. 在 Specification field:
Reviews tab
Under Reviews tab 您可以看到客户对产品的评论:
Custom tab
Custom tab 允许您添加更多og体育. 您可以添加更多的文本,图像等.
Video tab
Video tab 允许您将视频嵌入到产品页面.
In order to change Reviews and Description 标签标题,请编辑 语言/ en / en.com_virtuemart.ini file. 在第359行进行更改:
COM_VIRTUEMART_REVIEWS = "评论"
And line 273:
COM_VIRTUEMART_PRODUCT_DESC_TITLE = "描述"
Specification, Video and Custom 中可以更改标题 templates/theme/html/ com_virtuemart / productdetails /违约.php file. Edit lines below:
line 359:
product->customfieldsSorted['specification']) { ?>Specification
line 226:
product->customfieldsSorted['custom']) { ?>Custom
line 235:
product->customfieldsSorted['video']) { ?>Video
为了从您的网站中删除自定义产品标签,请编辑 templates/theme/html/ com_virtuemart / productdetails /违约.php file. 删除/注释行202-243:
product->product_desc) { ?>product->customfieldsSorted['specification']) { ?>product->product_desc ?>Specification
product->customfieldsSorted['specification'])) { $this->position = 'specification'; echo $this->loadTemplate('specification'); } //产品custom_fields结束 ?>product->product_desc) { ?>loadTemplate('reviews') ?>product->customfieldsSorted['custom']) { ?>Custom
product->customfieldsSorted['custom'])) { $this->position = 'custom'; echo $this->loadTemplate('custom'); } //产品custom_fields结束 ?>product->customfieldsSorted['video']) { ?>Video
product->customfieldsSorted['video'])) { $this->position = 'video'; echo $this->loadTemplate('customvideo'); } //产品custom_fields结束 ?>
请随时查看下面的详细视频教程:
VirtueMart 2.x. 如何管理产品自定义选项卡