plugin-icon

WooCommerce Quantity Increment

WooCommerce Quantity Increment adds JavaScript powered quantity buttons to your cart page.
评级
5
最后更新
April 28, 2020
版本
1.1.1
活跃安装
400

WooCommerce uses number inputs for the cart quantities by default, as most browsers now support <input type="number" />.

However, you may want to have JavaScript powered inputs if you want greater control over appearance. Simply install and activate this plugin to do so.

It optionally includes a Number Polyfill, which is a polyfill for implementing the HTML5 <input type="number"> element in browsers that do not currently support it.

To include this, add the following code to your theme’s functions.php file:

add_action( 'wp_enqueue_scripts', 'wcqi_enqueue_polyfill' ); function wcqi_enqueue_polyfill() { wp_enqueue_script( 'wcqi-number-polyfill' ); }
免费使用Creator套餐
活跃安装
400
目前已测试版本
5.4.16
此插件可供下载,可用于您的 WordPress 自托管安装。