Magento documentation

Third-party Extensions Settings

Attention! 有些模块可能没有包含在模板包中. 本节描述模板中使用的所有模块的配置. 每个模板包都提供了一组模块,这些模块包含在该特定模板的设计中.

Olark Live Chat

你需要在官方网站上注册 website 为了使用在线聊天内置的模板, 填写所有必需的信息并接收代码 Olark Site-ID.

你可以获得6个月的免费试用套餐. In order to get it follow the link, fill in your registration data.
为了配置在线聊天,您需要执行以下步骤:
  1. Open Magento admin panel. 导航到CMS菜单项并单击它,在下拉菜单中导航到 Widgets item. 打开新页面后,单击 Add new widget instance button.
  2. In the drop-down menu Type 在菜单中选择Olark Live Chat Design Package/Theme 选择您的商店皮肤来显示聊天. Click the Continue button.
  3. 现在需要配置在线聊天的显示. As a first step, in the field Widget Instance Title 输入小部件的名称,它将显示在管理面板中. In the field Assign to Store Views 您需要选择商店视图,它将显示聊天. In the block Layout Updates click the Add Layout Update button. In the field Display On you have to select All pages. For the field Block Reference select the Main Content Area.
  4. Follow the link Widget Options in the left sidebar. 在右侧,您将看到需要在其中插入 Olark Site-ID. Once your Olark Site-ID is filled in, click the Save button.
  5. In the new window navigate to System -> Cache Management menu item. In the block Cache Storage Management check Layouts and Blocks HTML output items. Make sure, that in the field Actions the Refresh item is selected, and click Submit.

All done! 现在您可以访问您的网站,并看到用于在线聊天的小部件.

你也可以看看下面的说明:

Add This

共享工具设置允许您选择图标的显示方式. 推荐设置如图所示.

Blog

有机会添加Blog(AHEADWORKS EXTENSIONS) to your website.

  1. Blog settings can be found in Blog > Settings, or System > Configuration > AHEADWORKS EXTENSIONS > Blog.
  2. The first tab Blog > Settings, includes blog basic settings.
  3. 其余的选项卡允许配置:记录类型, date display, comments display, captcha and newsfeed enabling.

Mega menu

给定模块用菜单替代标准菜单,该菜单允许配置两级子类别的显示, 向下拉菜单中添加静态块, add labels, display products, etc.

MegaMenu 默认情况下包含在模板中,您可以在 System > Configuration > MEGAMENU > Mega Menu.
  1. 每个下拉菜单的显示可以在类别设置页面中进行配置,该页面位于 Catalog > Manage Categories.
  2. 为了将静态块添加到下拉菜单中,您需要添加静态块 CMS > Static Blocks 制作完成后,将其添加到菜单中.
  3. 模块允许为任何类别添加标签. You can do this in categories menu Catalog > Manage Categories.
  4. 为了更改子类别中的列数,您需要更改菜单中的Level列计数值 Catalog > Manage Categories.

Parallax

的部分代码可以设置视差块 *.phtml files of your template. 为了给某个内容块添加视差效果,你需要:
  1. 为视差效果块添加任何类(例如.g., parallax) and add the 数据源url = "{{皮肤/ your_images url = '图像.jpg'}}" attribute.
  2. 将图像添加到images文件夹中 默认皮肤\前端\ \ themeXXX \ \图片.
  3. To add styles into the 默认皮肤\前端\ \ themeXXX \ css \风格.css file:
    .parallax {
    		background-image: url(../images/parallax-img.jpg);
    		background-position: 50% 0%;
    		background-repeat: no-repeat;
    		background-size: cover;
    		width: 3500px;
    		left: 50%;
    		margin-left: -1750px;
    }
    
  4. Add to the 默认皮肤\前端\ \ themeXXX \ js \脚本.js file the following code:
    jQuery(window).load(function(){
    	var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEmobile|Windows Phone|WPDesktop/i.test(navigator.userAgent);
    	if(!isMobile) {  
    	    if(jQuery(".parallax").length){  jQuery(".parallax").cherryFixedParallax({invert: true; 
    	    		offset: 300 
    	    }); 
    	  }; 		
    	};	
    });
    

Variable invert: true 指示视差效果的方向,和 offset: 300 indicates its density.

Background Video

为了实现背景视频,您需要使用jquery.mb.YTPlayer 插件,它允许显示YouTube视频.视频可以通过静态块的方式添加,包括脚本文件 jquery.mb.YTPlayer.js 并通过为显示视频的元素添加相应的属性集.

的基本参数 data-property attribute:

videoURL - 是否有要显示的背景视频链接.
quality - 显示的视频质量(“默认”或“小”、“中”、“大”、“hd720”、“hd1080”、“高”).
containment - by default, “self”用于指示块, which will contain the video, if it is initialized in the script.
opacity - 调整视频透明度的值从0到1.
loop - 开启/关闭视频回放(真/假).
showControls - enables the controls display.
mute - is a sound cancellation.
startAt - 决定视频开始的第二秒.
stopAt - 确定视频停止的时间.
autoplay - enables video autoplay.

Cookies Policy

cookie是网站放在访问者电脑上的小文本文件. 它们通常用于识别特定的访问者,并为他们提供更好的体验. cookie是许多网站功能的重要组成部分,我们认为这是理所当然的.

For instance, 通常是cookies让网上商店记住你的购物车里有什么东西. 它们还用于保持您登录网站或向网站所有者提供有价值的使用统计数据和信息.

如果你运行一个网站,它几乎肯定会使用cookie. 他们最有可能的功能是通过谷歌分析等工具监控访问者数量和行为. 它们也可用于向访问者显示相关广告. cookie还为您的在线购物系统的关键部分提供动力.

2012年5月26日- ICO发布了Cookie政策的变更. 从那一刻开始,只要你明确你的隐私/cookie政策在哪里,就允许“暗示同意”.

遵守《og体育》的条件, 你应该添加适当的模块到你的网站,将显示一个关于你的网站上使用的cookie的警告信息. 我们可以推荐以下几种: