human-element/module-mini-cart-auto-open

Magento 2 Human-Element 小型购物车自动打开扩展

安装次数: 1,924

依赖者: 0

建议者: 0

安全: 0

星标: 7

关注者: 22

分支: 4

开放问题: 0

语言:JavaScript

类型:magento2-module

2.2.1 2020-09-25 16:48 UTC

This package is auto-updated.

Last update: 2024-09-10 20:50:28 UTC


README

作者

Ajay Khampariya <ajay@human-element.com> :bowtie:
Seth Daugherty <sdaugherty@human-element.com>
Nate Shiff <nshiff@human-element.com>

假设您的项目可以访问human element composer仓库

安装/更新

安装

composer require human-element/module-mini-cart-auto-open

更新

composer update human-element/module-mini-cart-auto-open

配置

Stores > Settings > Configuration > Sales > Checkout > Shopping Cart Sidebar:

Automatically Open Minicart After Adding Product to Cart
    - Set to "Yes" to have the minicart automatically open after adding an item to the cart

Timeout in Seconds (0-10) Before Automatically Closing Sidebar
    - Depends on auto open of minicart being enabled
    - Set the number of seconds the minicart should stay open before closing

Scroll to Top of Page After Adding Product to Cart
    - Depends on auto open of minicart being enabled
    - Set to "Yes" to have the browser automatically scroll to top of page after adding item to cart

文档

- Can auto open the minicart after adding product to cart
- Can scroll page to top after adding product to cart