定制 optiweb/ajax_compare_m2 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

optiweb/ajax_compare_m2

最新稳定版本:1.1.3

Composer 安装命令:

composer require optiweb/ajax_compare_m2

包简介

AJAX product compare for Magento 2

README 文档

README

This extension improves user experience on your store by allowing users to add products to and remove products from comparison using AJAX.

Features:

  • add prdoucts to compare using AJAX
  • limit the number of products in comparison
  • ability to add a 'Clear compare' link to compare page
  • remove individual products from comparison using AJAX

Compatibility

Developed on 2.2.2, tested on 2.1.8, 2.2.3, 2.3.5 and 2.4.3. In all cases Luma theme was used with very few additional extensions. Compatibility may be affected depending on the theme you are using.

Known issues

  • there are currently no known issues

Installation:

  1. install module:
    1. composer require optiweb/ajax_compare_m2 OR
    2. download a zip and upload contents to app/code/Optiweb/AjaxCompare folder
  2. enable module: php bin/magento module:enable Optiweb_AjaxCompare
  3. run php bin/magento setup:upgrade from the root directory of your Magento installation
  4. go to Stores > Configuration > Optiweb > AJAX Compare and configure settings as per your requirements

Changelog

  • 1.0.0 initial release
  • 1.0.2 general improvements and bugfixes
    • main controller is now a plugin instead of a preference. This way the original controller method is called if the module is disabled
    • fixed a bug where adding to compare would be impossible if the item limit was not set or equal to '0'
    • code cleanup, typos sorted, removed clutter code
  • 1.0.3
    • added translation files (en_US and sl_SI)
    • removing products using AJAX now works as expected
  • 1.1.0
    • added default configuration values (enabled = 1, item limit = 4, show remove link = 1)
    • added more configuration options (add to/remove from buttons css selector, ability to disable scrolling to top of the page)
  • 1.1.1
    • remove PHP 5.x support
    • add PHP 7.1 and 7.2 support
  • 1.1.2
    • Test with 2.3.5
    • code cleanup
    • add PHP 7.3 support
  • 1.1.3
    • test with 2.4.3
    • add php 8 support
    • add Magento 2.4 support

Licence:

MIT. (see LICENCE.txt)

统计信息

  • 总下载量: 8.35k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-05