Plugin nebyl testován na 3 nejnovějších verzích WordPressu. Nemusí už být tedy podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může být nestabilní.

Quantity Increment Buttons for WooCommerce

Popis

In WooCommerce 2.3, the quantity increment buttons have been depreciated, as most browsers now support <input type="number" />.

However, you may want to keep them. Simply install and activate this plugin to do so.

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

To include it, add something like this to your functions.php:

add_action( 'wp_enqueue_scripts', 'wcqib_enqueue_polyfill' );
function wcqib_enqueue_polyfill() {
    wp_enqueue_script( 'wcqib-number-polyfill' );
}

Instalace

  1. Upload woocommerce-quantity-increment-buttons to the /wp-content/plugins/ directory or search for ‚Quantity Increment Buttons for WooCommerce‘ from Plugins > Add New.
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress

Časté dotazy

I don’t want to use the plugin styles as it looks bad with my theme

You can add the following to your functions.php file:

add_action( 'wp_enqueue_scripts', 'wcqib_dequeue_quantity' );
function wcqib_dequeue_quantity() {
    wp_dequeue_style( 'wcqib-css' );
}

This will dequeue the plugin’s stylesheet.

Autoři

Quantity Increment Buttons for WooCommerce je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

Přehled změn

1.1

  • WC 2.6 cart compatibility

1.0.1

  • fixed whitespace issue

1.0

  • Initial Release