Skip to content

Commit

Permalink
0.3
Browse files Browse the repository at this point in the history
Code Bug Fix
  • Loading branch information
varunsridharan committed Feb 9, 2015
1 parent 36a439c commit fe54f19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Tags: Woocommerce,wc,Quick buy,add to cart
Donate link: http://varunsridharan.in
Requires at least: 3.0 plus WooCommerce 2.x
Tested up to: 4.0.1 + WooCommerce 2.x
Stable tag: 0.2
Stable tag: 0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -46,13 +46,16 @@ When User Clicks This Button. The Current product Will Be Added To Cart And The

== Frequently Asked Questions ==
**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
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. <a href="https://github.com/technofreaky/woocomerce-quick-buy/"> Open an Issue </a>

== Changelog ==

= 0.3 =
* Code Bug Fix

= 0.2. =
* Option To Configure Redirect [Cart / Checkout Page]

Expand Down
3 changes: 1 addition & 2 deletions woocommerce-quick-buy.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Plugin Name: Woocommerce Quick Buy
Plugin URI: http://varunsridharan.in/
Description: Woocommerce Quick Buy
Version: 0.2
Version: 0.3
Author: Varun Sridharan
Author URI: http://varunsridharan.in/
License: GPL2
Expand Down Expand Up @@ -140,7 +140,6 @@ public function wc_quick_buy_all_settings( $settings, $current_section ) {
public function wc_quick_buy_add_to_cart_redirect_check(){
if(isset($_REQUEST['quick_buy']) && $_REQUEST['quick_buy'] == true){
$redirect_op = get_option('wc_quick_buy_redirect');
var_dump($redirect_op);
if($redirect_op == 'cart'){
wp_safe_redirect(WC()->cart->get_cart_url() );
} else if($redirect_op == 'checkout'){
Expand Down

0 comments on commit fe54f19

Please sign in to comment.