WooCommerce Direct Checkout - Version 2.3.8

Version Description

  • Fix: Fixed override cart url
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WooCommerce Direct Checkout
Version 2.3.8
Comparing to
See all releases

Code changes from version 2.3.7 to 2.3.8

includes/view/backend/pages/suggestions.php CHANGED
@@ -1,12 +1,25 @@
1
- <?php include_once('parts/header.php' ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <div class="wrap" style="
3
  position: relative;
4
  margin: 25px 40px 0 20px;
5
  max-width: 1200px;">
6
- <?php
7
- $wp_list_table = new QLWCDC_Suggestions_List_Table();
8
- $wp_list_table->prepare_items();
9
- ?>
10
  <form id="plugin-filter" method="post" class="importer-item">
11
  <?php $wp_list_table->display(); ?>
12
  </form>
1
+ <style>
2
+ @media screen and (max-width: 2299px) and (min-width: 1600px) {
3
+
4
+ #the-list {
5
+ display: flex;
6
+ flex-wrap: wrap;
7
+ }
8
+ .plugin-card {
9
+ margin: 8px !important;
10
+ width: calc(50% - 4px - 16px)!important;
11
+ }
12
+ }
13
+ </style>
14
+ <?php include_once('parts/header.php'); ?>
15
  <div class="wrap" style="
16
  position: relative;
17
  margin: 25px 40px 0 20px;
18
  max-width: 1200px;">
19
+ <?php
20
+ $wp_list_table = new QLWCDC_Suggestions_List_Table();
21
+ $wp_list_table->prepare_items();
22
+ ?>
23
  <form id="plugin-filter" method="post" class="importer-item">
24
  <?php $wp_list_table->display(); ?>
25
  </form>
includes/view/frontend/general.php CHANGED
@@ -69,10 +69,10 @@ class QLWCDC_General
69
  function replace_cart_url($url)
70
  {
71
 
72
- if ('no' !== get_option('qlwcdc_replace_cart_url', 'no')) {
73
 
74
  // empty checkout redirect to custom/cart/shop
75
- if (WC()->cart->is_empty()) {
76
  return get_permalink(wc_get_page_id('shop'));
77
  }
78
 
69
  function replace_cart_url($url)
70
  {
71
 
72
+ if (!is_admin() && !is_checkout() && 'no' !== get_option('qlwcdc_replace_cart_url', 'no')) {
73
 
74
  // empty checkout redirect to custom/cart/shop
75
+ if (method_exists('is_empty', WC()->cart) && WC()->cart->is_empty()) {
76
  return get_permalink(wc_get_page_id('shop'));
77
  }
78
 
readme.txt CHANGED
@@ -4,9 +4,9 @@ Donate link: https://quadlayers.com/portfolio/woocommerce-direct-checkout/
4
  Tags: woocommerce, woocommerce ajax, woocommerce ajax cart, add to cart, woocommerce direct checkout, woocommerce quick buy, woocommerce remove checkout fields, woocommerce ajax single products, woocommerce one page checkout
5
  Requires at least: 4.6
6
  Tested up to: 5.4.1
7
- Stable tag: 2.3.5
8
  WC requires at least: 3.1.0
9
- WC tested up to: 4.1.1
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -68,7 +68,10 @@ The premium version of WooCommerce Direct Checkot allows to include a quick purc
68
 
69
  == Changelog ==
70
 
71
- = 2.3.6 =
 
 
 
72
  * Fix: Experimental override cart url
73
 
74
  = 2.3.5 =
4
  Tags: woocommerce, woocommerce ajax, woocommerce ajax cart, add to cart, woocommerce direct checkout, woocommerce quick buy, woocommerce remove checkout fields, woocommerce ajax single products, woocommerce one page checkout
5
  Requires at least: 4.6
6
  Tested up to: 5.4.1
7
+ Stable tag: 2.3.8
8
  WC requires at least: 3.1.0
9
+ WC tested up to: 4.2.0
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
68
 
69
  == Changelog ==
70
 
71
+ = 2.3.8 =
72
+ * Fix: Fixed override cart url
73
+
74
+ = 2.3.7 =
75
  * Fix: Experimental override cart url
76
 
77
  = 2.3.5 =
woocommerce-direct-checkout.php CHANGED
@@ -3,13 +3,13 @@
3
  /**
4
  * Plugin Name: WooCommerce Direct Checkout
5
  * Description: Simplifies the checkout process to improve your sales rate.
6
- * Version: 2.3.7
7
  * Author: QuadLayers
8
  * Author URI: https://www.quadlayers.com
9
  * Copyright: 2019 QuadLayers (https://www.quadlayers.com)
10
  * Text Domain: woocommerce-direct-checkout *
11
  * WC requires at least: 3.1.0
12
- * WC tested up to: 4.1.1
13
  */
14
  if (!defined('ABSPATH')) {
15
  die('-1');
@@ -18,7 +18,7 @@ if (!defined('QLWCDC_PLUGIN_NAME')) {
18
  define('QLWCDC_PLUGIN_NAME', 'WooCommerce Direct Checkout');
19
  }
20
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
21
- define('QLWCDC_PLUGIN_VERSION', '2.3.7');
22
  }
23
  if (!defined('QLWCDC_PLUGIN_FILE')) {
24
  define('QLWCDC_PLUGIN_FILE', __FILE__);
3
  /**
4
  * Plugin Name: WooCommerce Direct Checkout
5
  * Description: Simplifies the checkout process to improve your sales rate.
6
+ * Version: 2.3.8
7
  * Author: QuadLayers
8
  * Author URI: https://www.quadlayers.com
9
  * Copyright: 2019 QuadLayers (https://www.quadlayers.com)
10
  * Text Domain: woocommerce-direct-checkout *
11
  * WC requires at least: 3.1.0
12
+ * WC tested up to: 4.2.0
13
  */
14
  if (!defined('ABSPATH')) {
15
  die('-1');
18
  define('QLWCDC_PLUGIN_NAME', 'WooCommerce Direct Checkout');
19
  }
20
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
21
+ define('QLWCDC_PLUGIN_VERSION', '2.3.8');
22
  }
23
  if (!defined('QLWCDC_PLUGIN_FILE')) {
24
  define('QLWCDC_PLUGIN_FILE', __FILE__);