Categories

Featured templates

VirtueMart 2.x. 如何管理产品自定义选项卡

Ammy Brown December 15, 2014
Rating: 4.0/5. From 1 vote.
Please wait...

本教程将向您展示如何管理产品自定义选项卡.

VirtueMart 2.x. 如何管理产品自定义选项卡

你可以在你的网站后端管理这些标签:

VirtueMart-2.x.如何——manage-products-custom-tabs-1
  1. Navigate to Components > Virtuemart 在Joomla管理面板中:

    VirtueMart-2.x.如何——manage-products-custom-tabs-2
  2. Choose Products under Products 在Virtuemart管理面板中:

    VirtueMart-2.x.如何——manage-products-custom-tabs-3
  3. 编辑要更改的产品.

让我们仔细看看最常见的自定义选项卡.

Description tab

Description tab 允许您显示产品描述文本.

  1. Click on 产品描述 tab 在打开的产品中. Edit 产品描述 field content:

    VirtueMart-2.x.如何——manage-products-custom-tabs-4
  2. Click Save 按钮保存修改,刷新您的网站以查看更改.

Specification tab

Specification Product tab 允许您添加如下产品规格: Height, Weight, String and Bolean.

  1. Edit product under Components > Virtuemart > Products > Products.

  2. Click on Custom Fields tab. 在 Specification field:

    VirtueMart-2.x.如何——manage-products-custom-tabs-5

Reviews tab

Under Reviews tab 您可以看到客户对产品的评论:

VirtueMart-2.x.如何——manage-products-custom-tabs-6

Custom tab

Custom tab 允许您添加更多og体育. 您可以添加更多的文本,图像等.

  1. 打开要编辑的产品. Click on the Custom fields tab.

  2. Custom field:

    VirtueMart-2.x.如何——manage-products-custom-tabs-7
  3. 保存产品并查看更改.

Video tab

Video tab 允许您将视频嵌入到产品页面.

  1. 导航到管理面板,打开要编辑的产品.

  2. Click on Custom Fields tab 在产品设置中.

  3. 将视频的嵌入代码粘贴到 Video about us field:

    VirtueMart-2.x.如何——manage-products-custom-tabs-8

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->product_desc ?>
product->customfieldsSorted['specification']) { ?>

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. 如何管理产品自定义选项卡
这个条目被张贴了出来 VirtueMart教程 and tagged custom, tab, VirtueMart. Bookmark the permalink.

Submit a ticket

如果您仍然无法找到关于您的问题的足够的教程,请使用以下链接向我们的技术支持团队提交请求. 我们将在接下来的24小时内为您提供我们的帮助和协助: Submit a ticket