Table of Contents
Description
Quantity Plus/Minus Button for WooCommerce plugin add beautifully designed quantity buttons for WooCommerce quantity input box on the product page which also support for decimal quantity. Easily add plus, minus button for WooCommerce Quantity Input box in everywhere. Such: Single Page, In Loop Quantity input, Cart page etc with custom design. User able to get custom/own color for his plus or minus button.
Features
- Quantity step supported
- Decimal quantity supported
- Customizable button design
- You can customize button background color
- You can customize button text color
- You can customize border color
- You can customize border width
- You can set custom border radius
- Well documented
- Well commented
- Clean code
- Compatible with all themes
- Compatible with all plugins
- Compatible with Woo Product Table
- Compatible with the latest version of WordPress
- Compatible with the latest version of WooCommerce
Filter
You can validate form data using this filter
add_filter( 'wqpmb_default_form_panel_validation', '__return_true' );
On off checkbox in admin page using filter
add_filter('wqpmb_checkbox_row_validation', '__return_true' );
CSS validation using filter
add_filter('wqpmb_css_row_validation', '__return_true' );
Use default WooCommerce template
add_filter('wqpmb_show_validation', '__return_true');
Show on product page
add_filter('wqpmb_on_product_page', '__return_true');
Show on cart page
add_filter('wqpmb_on_cart_page', '__return_true');
To Change Templae Base Directory, Use following Hook
In that directory, template files folder will be locate
add_filter('wqpmb_template_base_dir', $template_base_dir);
Action
You can use this action for append something new after the checkbox
do_action( 'wqpmb_checkbox_row', $our_data, $datas );
To add New CSS row, use following action hook
do_action( 'wqpmb_css_row' );
To add any new row, use the following action hook
do_action( 'wqpmb_form_row' );
Installation
- Upload ‘wc-quantity-plus-minus-button’ to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress