Skip to content

Add Quick buy button to redirect user to checkout / cart immediately when he click quick buy button

Notifications You must be signed in to change notification settings

varunsridharan/woocommerce-quick-buy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Buy For Woocommerce

Contributors: varunms , vaahosttech
Author URI: http://varunsridharan.in/ Plugin URL: https://wordpress.org/plugins/woocommerce-quick-buy/ Tags: Woocommerce,wc,Quick buy,add to cart,affiliate, cart, checkout, commerce, configurable, digital, download, downloadable, e-commerce, ecommerce, inventory, reports, sales, sell, shipping, shop, shopping, stock, store, tax, variable, widgets, woothemes, wordpress ecommerce
Donate link: http://paypal.me/varunsridharan23
Requires at least: 3.0
Tested up to: 5.9
Stable tag: 2.8.4
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add Quick buy button to redirect user to checkout / cart immediately when he click quick buy button

Description

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

[youtube https://www.youtube.com/watch?v=z_RgdNVZvj4]

Supported & Tested Product Types

  1. WC Simple Product
  2. WC Grouped Product
  3. WC Variable / Variation Product
  4. WooCommerce Product Add-Ons
  5. WooCommerce Product Bundles
  6. Woocommerce Variable / Simple Subscriptions
  7. YITH Product Bundles
  8. YITH WooCommerce Product Add-Ons
  9. YITH WooCommerce Subscription
  10. WooCommerce added to cart popup (Ajax)

Settings Available Under

Woocommerce Settings ==> Products ==> WC Quick Buy

Shortcodes

[wc_quick_buy] This can be used anywhere inside the website

  1. product : product id to generate quick buy button Eg : [wc_quick_buy product="22"]
  2. label : custom text for generated button Eg : [wc_quick_buy label="Hurry Up!!"]
  3. hide_in_cart : Enter "yes" to hide the button if the same product already in cart or enter "no"
  4. css_class : You can give your custom css class name in shortcode to add it in button.
  5. 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

  1. product : product id to generate quick buy button Eg : [wc_quick_buy_link product="22"]
  2. 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"]

Upgrade Notice

Dear Users,

I recently published WC Quick Buy V2.0 which is a brand new version developed from the base which also includes Robust WPOnion & VSP Framework to make this plugin run smoothly and add more features on the go.

But due to recent changes to the core. I was unable to migrate settings from the older version into the new version. I apologize for this.

but I made sure that new settings are easy to configure. if you do have any issues please do contact me via this forum or email me directly. I will try my best to get back to you asap.

Screenshots

1. WC Quick Buy Settings

[missing image]

2. WC Quick Buy Settings

[missing image]

3. WC Quick Buy Settings

[missing image]

4. WC Quick Buy Settings

[missing image]

5. WC Quick Buy Settings

[missing image]

Installation

Minimum Requirements

  • WordPress version 3.8 or greater
  • PHP version 5.2.4 or greater
  • MySQL version 5.0 or greater
  • WooCommerce version 1.0 or greater

Automatic installation

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"

Manual installation

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.

  1. Installing alternatives:
  • via Admin Dashboard:
  • Go to 'Plugins > Add New', search for "Quick Buy For Woocommerce", click "install"
  • OR via direct ZIP upload:
  • Upload the ZIP package via 'Plugins > Add New > Upload' in your WP Admin
  • OR via FTP upload:
  • Upload woocommerce-quick-buy folder to the /wp-content/plugins/ directory
  1. Activate the plugin through the 'Plugins' menu in WordPress
  2. For Settings Look at your Woocommerce => Settings => Product => WC Quick Buy

Frequently Asked Questions

How I Can Get Support For This Plugin

I have an idea for your plugin!
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 varunsridharan23@gmail.com

I found a bug!
Oops. Please User github / WordPress to post bugs. Open an Issue

How To Call This Plugin in a template File ?
This Plugin Can Be Called Using <?php do_shortcode('[wc_quick_buy]') ?> short code

Where Are The Plugin Settings Available ? Woo Commerce Settings ==> WC Quick Buy

Where can I request new features Please open an issue at GitHub and we will look into it

Changelog

2.8.4 12/02/2022

  • Updated : Filterd XSS attacks in Strings
  • Tested : WordPress 5.9
  • Tested : WooCommerce 6.2.0

2.8.3 11/02/2022

  • Updated : Filterd XSS attacks in Strings
  • Tested : WordPress 5.9
  • Tested : WooCommerce 6.2.0

2.8.2 27/03/2021

  • Updated : WPOnion Framework To 1.5.3.7
  • Updated : VSP Framework To 0.8.9.8
  • Tested : WordPress 5.7
  • Tested : WooCommerce 5.1.0

2.8.1 01/09/2020

  • Fixed : Fatal Error When Using Along side with Elementor.
  • Tested : WordPress 5.5
  • Tested : WooCommerce 4.4.1

2.8 - 27/08/2020

  • Fixed : Long Standing 404 Error !!!
  • Added : Support For Slug Value In Quick Buy URL.
  • Tested : WordPress 5.5
  • Tested : WooCommerce 4.4.1

2.7.5 - 22/08/2020

  • Fixed : Add To Cart Permalink Issue
  • Tested : WordPress 5.5
  • Tested : WooCommerce 4.4.1

2.7.4 - 03/08/2020

  • Fixed : Fatal Error When Editing Product Page
  • Fixed : AddToCart Button Redirects To Quick Buy Page.
  • Updated : WPOnion Framework To 1.5.3.2
  • Updated : VSP Framework To 0.8.9.3
  • Tested : WordPress 5.4.2
  • Tested : WooCommerce 4.3.1

2.7.3 - 14/06/2020

  • Fixed : Fatal Error When Using Along Side Elementor Plugin
  • Updated : WPOnion Framework To 1.5.2

2.7.2 - 12/06/2020

  • Improved performance
  • Added : Hook to disable quick buy render for each product
  • Added : option to set no redirect
  • Updated : WPOnion Framework To 1.5.1
  • Updated : VSP Framework To 1.8.9.1

2.7.1 - 23/04/2020

  • Updated : WPOnion Framework To 1.4.5.3
  • Updated : VSP Framework To 0.8.5

2.7 - 16/04/2020

  • Fixed : Improved Autoload Speed
  • Updated : WPOnion Framework To 1.4.5.2
  • Updated : VSP Framework To 0.8.4

2.6 - 09/04/2020

2.5 - 04/04/2020

2.4 - 30/01/2020

2.3 - 05/12/2019

  • Updated : WPOnion Framework To 1.4.0
  • Updated : VSP Framework To 0.7.9
  • Fixed : Minor bugs
  • Tested : With Latest WooCommerce
  • Tested : With Latest WordPress

2.2 - 26/09/2019

  • Updated WPOnion Framework To 1.3.7
  • Fixed : Settings Page Saving Issue
  • Fixed Minor bugs.
  • Tested : With Latest WordPress 5.2.3
  • Tested : With Latest WooCommerce 3.6.5

2.1 - 18/09/2019

  • Updated VSP Framework To ( 0.7.7 ) which fixes major vulnerability

2.0 - 17/09/2019

  • Plugin Fully Redeveloped
  • Added Seo Friendly URL
  • Added Predefined Button Styles
  • Added WPOnion Framework ( V 1.3.6 )
  • Added VSP-Framework ( 0.7.6 )

1.9 - 27/03/2018

  • Added : Option to hide if product already in cart
  • Tweaks : Minor Code Change and codecleanup done.
  • Tested : With latest WC 3.0
  • Tested : With latest WP

1.8 - 29/09/2017

  • Fixed : Add To Cart Issue with latest WooCommerce
  • Fixed : Style Loading with ajax.php
  • Tested : With Both Latest WP & WC

1.7 - 11/07/2017

1.6 - 11/07/2017

1.5 - 26/04/2017

  • Fixed : Minor issue in shortcode generator

1.4 - 13/04/2017

  • Fixed : Tested & Fixed Bugs with WC 3.0

1.3 - 10/03/2017

  • Added : Integrated With WPML.
  • Minor Bug Fixed.

1.2 - 03/09/2016

  • Fixed Minor Issues.
  • Added Option to support YITH Product Bundles.

1.1 - 28/06/2016

  • Fixed Shortcode Generator Issue
  • Fixed Settings Page Errors
  • Fixed Custom Redirect URL

1.0 - 15/06/2016

  • Total Plugin Redeveloped
  • 3 New feature Added
  • Shortcode Generated Added In settings
  • Minor Updates Done.
  • Tested With latest WC & WP

0.17 - 04/11/2015

  • Fixed variation product add to cart error

0.16 - 08/10/2015

0.15 - 06/10/2015

  • quick buy button was hidden even if stock exist. fixed
  • Minor Bug Fix.

0.14 - 06/10/2015

  • hide quick buy button when no stock
  • Update To latest WooCommerce [WC 2.4.7] And Latest WordPress [WP 4.3.1]
  • Minor Bug Fix.

0.13 - 11/09/2015

  • Added Option To Change Button Label Via Short Code [wc_quick_buy name="Instant Buy"]
  • Changed add_to_cart_redirect to woocommerce_add_to_cart_redirect filter
  • Update To latest WooCommerce [WC 2.4.6] And Latest WordPress [WP 4.3]
  • Minor Bug Fix.

0.12.1 - 29/06/2015

0.12 - 29/06/2015

  • Fixed Javascript Issue With Variable Product Quick Buy [Conflict With Some Theme / Other Plugin]
  • Update To latest WooCommerce [WC 2.3.11] And Latest WordPress [WP 4.2.2]
  • Minor Bug Fix.
  • Added Support For i18n Text Domain: woocommerce-quick-buy

0.11 - 03/04/2015

  • Adds Product ID As a html attribute in Quick Buy Button : data-productid
  • Adds Dynimic Class Based On Product ID in Quick Buy Button : wc_quick_buy_product_{product_id} & quick_buy_{product_id}
  • Adds Product Id in Form Attribute : data-productid
  • Minor Bug Fix
  • Added Paypal Donation Link
  • Added Github Link
  • Added Report Issue Link
  • Added Settings Link

0.10 - 01/04/2015

  • Fixed Quick Buy Button Css Loop [Now Adds At WP FOOTER]
  • Minor Bug Fix

0.9 - 01/04/2015

  • Fixed Form Class Issue.
  • Added Default Form Class wc_quick_buy_form And wc_quick_buy_form_{product_id}
  • Added Option Add CSS Directly
  • Minor Bug Fix
  • Made Compatible With latest WordPress and Woo Commerce Version

0.8 - 23/02/2015

  • Fixed Short code Display Issue

0.7 - 22/02/2015

  • Fixed Short code Echo Issue.
  • Added a new short code option [wc_quick_buy echo="false/true"]

0.6 - 22/02/2015

  • Fixed activation issue.
  • Added a new short code option [wc_quick_buy show_js="false/true"]
  • Minor bug fixes.

0.5 - 16/02/2015

  • Fixed Short code Issue

0.4 - 11/02/2015

  • Quick Buy Options Is Now Available For Variant Product
  • Quick Buy Now Takes Entered Qty and add it to cart.
  • Option to configure to show quick buy based on product type [Simple,Variant/Variable]
  • Minor Bug Fixes

0.3 - 04/02/2015

  • Code Bug Fix

0.2 - 07/12/2014

  • Option To Configure Redirect [Cart / Checkout Page]

0.1 - 04/12/2014

  • Base Version