codersaiful / wc-quantity-plus-minus-button Goto Github PK
View Code? Open in Web Editor NEWQuantity Plus and Minus button for WooCommerce Add to cart button. Easy to Use. no need programming knowledge.
Quantity Plus and Minus button for WooCommerce Add to cart button. Easy to Use. no need programming knowledge.
=== Quantity Plus Minus Button for WooCommerce by CodeAstrology === Contributors: codersaiful, codeastrology, unikforce, fazlebari, autocircled Tags: woocommerce quantity, plus minus button, quantity, qty button Requires at least: 4.0.0 Tested up to: 6.3 Stable tag: 1.1.8 Requires PHP: 7.0 WC requires at least: 4.0 WC tested up to: 7.4.0 License: GPL3+ License URI: http://www.gnu.org/licenses/gpl.html Easily add plus, minus button for WooCommerce Quantity Input box in everywhere with custom Design functionality. Quantity button design features available. Such: Single Page, In Loop Quantity input, Cart page etc with custom design. == 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 and hover ๐ You can customize button text color and hover ๐ You can customize border color and hover ๐ You can customize border width ๐ You can set custom border radius ๐ Live customer support for any Issue. ๐ 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 **[Demo Link](https://demo.wooproducttable.com/product/couple-jewelry/)** == Filter == Enable Ajax add to cart for Single Product Page. ` add_filter('wqpmn_ajax_cart_single_page', '__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'); ` Hide on product page ` add_filter('wqpmb_on_product_page', '__return_false'); ` Hide on cart page ` add_filter('wqpmb_on_cart_page', '__return_false'); ` Hide on Mini Cart page ` add_filter('wqpmb_on_mini_cart_page', '__return_false'); ` 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 == **๐ท HONORABLE CONTRIBUTOR - [GitHub](https://github.com/codersaiful/wc-quantity-plus-minus-button/graphs/contributors) ๐ท**<br> * [codersaiful](https://github.com/codersaiful) (53 commits 1,965 ++ ) * [unikforceit](https://github.com/unikforceit) (1 commit 5 ++ ) * [fazlebarisn](https://github.com/fazlebarisn) (1 commit 11 ++ ) * [autocircled](https://github.com/autocircled) (1 commit 110 ++ ) * ๐ [You can join here](https://github.com/codersaiful/wc-quantity-plus-minus-button/fork) **๐ฅ CONTRIBUTE ๐ฅ**<br> You are welcome to contribute to this project. Join with us [Fork Github repository](https://github.com/codersaiful/wc-quantity-plus-minus-button/fork). If you contribute 1 commit, We will add your name to our plugin's Contributor table/list of WordPress Plugin too. == Installation == 1. Upload 'wc-quantity-plus-minus-button' to the '/wp-content/plugins/' directory 2. Activate the plugin through the 'Plugins' menu in WordPress == Frequently Asked Questions == = Menu Location after Install: = ๐ Dashboard -> WooCommerce -> (+-) Plus Minus Button = Already my theme provide Plus Minus botton, Do I need it? = ๐ No Need, As it's already provided by your theme. = Does this plugin support StoreFront theme? = ๐ Yes this plugin is supports all themes. = Can I hide plus minus button from cart page? = ๐ Yes, you can hide it by using our filter (`wqpmb_on_cart_page`). see following code: `add_filter('wqpmb_on_cart_page','__return_false');` = Does this plugin supports decimal value as quantity? = ๐ Yes, this plugin supports decimal value as product quantity. = What is default Shortcode? = ๐ There is no shortcode for this plugin. = What is setting page? or Where I can change button color = ๐ Go to `Dashboard -> WooCommerce-> (+-) Plus Minus Button -> [And change/update your setting]` = Can I set product limitation to show in one table? = ๐ Yes. You can set the product limit to show in you able. Eg. You have 100 products in your site then you can easily show 50 of them. = How to use? = ๐ Install and activate. Then go to ( Dashboard->WooCommerce->Plus Minus Button -> [And change/update your setting] ). And enjoy it. That's it. So easy, Right !!! = Is it suitable for any theme ? = ๐ Yes, But if already available plus minus button on your theme, you should not use any plus minus button plugin. = Is it suitable with (Woo Product Table) Plugin ? = ๐ Yes. *Product Table for WooCommerce by CodeAstrology* or *Woo Product Table* will adapt with your design. == Screenshots == 1. Quantity button in WooCommerce cart page 2. Quantity button setting page with custom color selection 3. Quantity button in single product page 4. Quantity button in WooCommerce cart page 5. Quantity button in single product page 6. Quantity button in WooCommerce cart page 7. Quantity button in single product page 8. Quantity button in WooCommerce cart page 9. Quantity button setting page with custom color selection 10. Quantity button in WooCommerce cart page == Change log == = 1.1.9 = * Added: new setting field added for input box height and width. * Add input box width change option * Add input box height change option * Bug Fix * Code Optimized = 1.1.8 = * Live support Disable Option * Backend Design update * Divi theme's quantity box issue has been solved * Bug Fix * Code Optimized = 1.1.7 = * input box right margin issue has been solved. = 1.1.6 = * Added: Quantity box for Shop Page * Added: Quantity box for All Archive/Tag/Category/Taxonomy Page * Bug Fix * Code Optimized = 1.1.5 = * Little CSS issue fixed for Cart page. * Bug Fix = 1.1.4 = * More Setting added. * Input box style added. * Added Hover background color. * Added Hover border color. * Added Hover font color. * Bug Fix = 1.1.3 = * Live support from CodeAstrology button Added * Spelling fix on html markup * Bug Fix = 1.1.2 = * Minor Error fixed * Tested with Latest WordPress and Updated * Tested with Latest WooCommerce and Updated * Compatibility Check with More Theme And Plugin * Compatible with [Woo Product Table (Poduct Table Plugin for WooCommerce by CodeAstrology)](https://github.com/autocircled) * Bug Fixed = 1.0.6 = * Change demo link * Bug fixed = 1.0.6 = * Hide on Mini Cart page * Bug fixed = 1.0.5 = * Setting link fixed * name fixed * Bug fixed = 1.0 = * Initial release
Hello,
Elementor has the option for ajax in the cart when you increase or decrease products to auto-update, but with your plugin that isn't working anymore.
https://prydebutchery.com.au/beef-mince/
Works perfectly and love it.
https://prydebutchery.com.au/chuck-steak/
Not showing as I suspect there is no CSS to hook to.
Cheers
David
Hi,
I'm trying to put [products]
shortcode on my home page.
I see that the original (Woocomerce) button as disappeared but the plugin button not showing.
In archive product it's working fine.
Do you have any solution? can you help?
Hi
I'm using this with Divi and the plugin works apart from a few features listed below.
Both Quantity Box settings at the beginning are set to on.
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.