Add Quick buy button to redirect user to checkout / cart immediately when he click quick buy button
Add Quick buy button to redirect user to checkout / cart immediately when he click quick buy button.
When User Clicks This Button. The Current product Will Be Added To Cart And The User Will Be Redirected To Cart Page
Supported & Tested Product Types
Settings Available Under
Woocommerce Settings ==> Products ==> WC Quick Buy
[wc_quick_buy]
This can be used anywhere inside the website
- product : product id to generate quick buy button Eg : [wc_quick_buy product=”22″]
- label : custom text for generated button Eg : [wc_quick_buy label=”Hurry Up!!”]
- hide_in_cart : Enter “yes” to hide the button if the same product already in cart or enter “no”
- css_class : You can give your custom css class name in shortcode to add it in button.
- qty : Enter custom qty for a html button / link [wc_quick_buy qty=”10″]
[wc_quick_buy_link]
This can be used to generate sharable link
- product : product id to generate quick buy button Eg : [wc_quick_buy_link product=”22″]
- qty : Enter custom qty for a html button / link [wc_quick_buy_link qty=”10″]
Example Shortcode To Get Clickable Button
[wc_quick_buy product=”33″ label=”Hurry UP!!” qty=”100″]
Example Shortcode To Get Product’s Quick Buy URL
[wc_quick_buy_link product=”33″ qty=”100″]
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of Quick Buy For Woocommerce, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
In the search field type “Quick Buy For Woocommerce” and click Search Plugins. Once you’ve found our plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”
The manual installation method involves downloading our plugin and uploading it to your Web Server via your favourite FTP application. The WordPress codex contains instructions on how to do this here.
Installing alternatives:
woocommerce-quick-buy
folder to the /wp-content/plugins/
directoryActivate the plugin through the ‘Plugins’ menu in WordPress
Woocommerce => Settings => Product => WC Quick Buy
That’s great. We are always open to your input, and we would like to add anything we think will be useful to a lot of people. Please send your comment/idea to [email protected]
Oops. Please User github / WordPress to post bugs. Open an Issue
This Plugin Can Be Called Using <?php do_shortcode('[wc_quick_buy]') ?>
short code
Woo Commerce Settings ==> WC Quick Buy
Please open an issue at GitHub and we will look into it
[wc_quick_buy name="Instant Buy"]
add_to_cart_redirect
to woocommerce_add_to_cart_redirect
filterText Domain: woocommerce-quick-buy
data-productid
wc_quick_buy_product_{product_id}
& quick_buy_{product_id}
data-productid
wc_quick_buy_form
And wc_quick_buy_form_{product_id}
[wc_quick_buy echo="false/true"]
[wc_quick_buy show_js="false/true"]