zen-cart网站,模版,采集,二次开发

首页 » ZenCart » ZenCart教程 » 阅读文章

ZenCart 多产品对比compare_multiple_products插件

2012-04-18 00:37 54393 10 发表评论
标签:


今天到zencart官网查资料时,发现的,确实非常的强大。先给大家看看效果图

后台设置部分Configuration-->Layout Settings,可以设置最大对比产品数,和最多产品描述字符数

前台对比效果

安装方法

1.导入run.sql.txt到数据库,sql写的有点小瑕疵,configuration_title都写成了Max Products to Compare,金山快盘下载已经改正,如果下的官网的,可以导入下面语句

INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Max Products to Compare', 'COMPARE_VALUE_COUNT', '4', 'The number of products to compare at one time.', '19', '150', now());
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Max Products Description to Compare', 'COMPARE_DESCRIPTION', '150', 'How many characters max to show of the products description.', '19', '151', now());

2.将命名为YOUR_TEMPLATE的文件夹,改为自己的模板名

3.如果使用了前文介绍过的ZenCart分类页商品横排插件的话,将includes\modules\YOUR_TEMPLATE\product_listing.php删除,并将product_listing.php.ih改名为product_listing.php

4.将修改完后,cat文件夹下的所有文件上传到网站根目录

下载地址

ps:总的来说这款插件还是相当不错的,如果自己有一点的zencart开发基础话,还可以吧插件放入边框对比,和增加内页对比。

相关日志:

评论 共10条 (RSS 2.0) 发表评论

  1. AVENT 说道:

    你好 来学习下

  2. 幽游 说道:

    这个插件相当好啊 :idea:
    回去测试下~

  3. 陈多少 说道:

    我弄进去怎么没效果啊,前台好像都没怎么改变

  4. gary_lgc 说道:

    請問您說的對比框如何加入??

    目前前台顯示的訊息
    COMPARE_DEFAULT
    COMPARE_COUNT_START4COMPARE_COUNT_END

  5. 寸光阴 说道:

    是不是1.5的用不了呢?用firebug看,http://www.xxxx.com/ajax_compare.php一直报302,这种问题要怎么解决啊?

  6. Mr.Cong 说道:

    真是好东西啊!

发表评论

  • 
  • 插入代码

联系我 Contact Me

回到页首