WC Vendors - Version 1.8.8

Version Description

No Upgrade required at this time.

Download this release

Release Info

Developer digitalchild
Plugin Icon 128x128 WC Vendors
Version 1.8.8
Comparing to
See all releases

Code changes from version 1.8.7 to 1.8.8

changelog.txt CHANGED
@@ -1,5 +1,10 @@
1
  Changelog for WC Vendors
2
 
 
 
 
 
 
3
  Version 1.8.7
4
 
5
  * Added: New qty argument to commission calculations
1
  Changelog for WC Vendors
2
 
3
+ Version 1.8.8
4
+
5
+ * Fixed: Undefined variable error in commission class
6
+ * Fixed: Pagination bug in wcv_vendorslist shortcode
7
+
8
  Version 1.8.7
9
 
10
  * Added: New qty argument to commission calculations
class-wc-vendors.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author: WC Vendors
8
  * Author URI: https://www.wcvendors.com
9
  *
10
- * Version: 1.8.7
11
  * Requires at least: 4.0.0
12
  * Tested up to: 4.4.1
13
  *
7
  * Author: WC Vendors
8
  * Author URI: https://www.wcvendors.com
9
  *
10
+ * Version: 1.8.8
11
  * Requires at least: 4.0.0
12
  * Tested up to: 4.4.1
13
  *
classes/class-commission.php CHANGED
@@ -418,9 +418,6 @@ class WCV_Commission
418
 
419
  $table_name = $wpdb->prefix . "pv_commission";
420
 
421
- if ( is_array( $vendors ) )
422
- $vendors = implode( ',', $vendors );
423
-
424
  $query = "UPDATE `{$table_name}` SET `status` = 'paid' WHERE vendor_id = $vendor_id AND order_id = $order_id AND product_id = $product_id";
425
  $result = $wpdb->query( $query );
426
 
418
 
419
  $table_name = $wpdb->prefix . "pv_commission";
420
 
 
 
 
421
  $query = "UPDATE `{$table_name}` SET `status` = 'paid' WHERE vendor_id = $vendor_id AND order_id = $order_id AND product_id = $product_id";
422
  $result = $wpdb->query( $query );
423
 
classes/includes/class-wcv-shortcodes.php CHANGED
@@ -596,7 +596,7 @@ class WCV_Shortcodes {
596
  // Pagination calcs
597
  $total_vendors = count( $all_vendors );
598
  $total_vendors_paged = count($paged_vendors);
599
- $total_pages = intval( $total_vendors / $per_page ) + ( $total_vendors % $per_page );
600
 
601
  ob_start();
602
 
596
  // Pagination calcs
597
  $total_vendors = count( $all_vendors );
598
  $total_vendors_paged = count($paged_vendors);
599
+ $total_pages = ceil( $total_vendors / $per_page );
600
 
601
  ob_start();
602
 
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === WC Vendors ===
2
- Contributors: wcvendors, digitalchild
3
  Tags: commission rate, e-commerce, ecommerce, ebay, free, marketplace, multi seller, multi store, multi vendor, multistore, multivendor, multivendors, product vendor, product vendors, seller, shops, store, vendor, vendor shop, vendor system, vendors, wc multivendor, wc vendors, wc marketplace, wc market, woo vendors, woocommerce, woocommerce marketplace, woocommerce multi vendor, WooCommerce multivendor, woocommerce product vendors, WooCommerce vendors, yit, yith, yithemes
4
  Donate link: http://www.wcvendors.com/
5
  Author URI: http://www.wcvendors.com/
6
  Plugin URI: http://www.wcvendors.com/
7
  Requires at least: 4.0
8
  Tested up to: 4.4.2
9
- Stable tag: 1.8.7
10
  License: GPLv2 or later
11
 
12
  The free multi-vendor plugin for WooCommerce. Now you can allow anyone to open a store on your site!
@@ -91,15 +91,17 @@ We currently ship WC Vendors free with the following language translations. If y
91
 
92
  = What version of WooCommerce do you support ? =
93
 
94
- Woocommerce 2.3 or above is supported.
95
 
96
  = What version of php has been tested ? =
97
 
98
- PHP 5.4 has been tested.
99
 
100
  = Where do I get help ? =
101
 
102
- You can post a support question on the support tab, however you'll get more help over at our community forums (http://www.wcvendors.com)
 
 
103
 
104
  == Screenshots ==
105
 
@@ -116,6 +118,24 @@ No Upgrade required at this time.
116
 
117
  == Changelog ==
118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  = Version 1.8.6 - 31st of January 2016 =
120
 
121
  * Fixed: Critical issue with paypal loading classes incorrectly
1
  === WC Vendors ===
2
+ Contributors: wcvendors, digitalchild, bentasm1
3
  Tags: commission rate, e-commerce, ecommerce, ebay, free, marketplace, multi seller, multi store, multi vendor, multistore, multivendor, multivendors, product vendor, product vendors, seller, shops, store, vendor, vendor shop, vendor system, vendors, wc multivendor, wc vendors, wc marketplace, wc market, woo vendors, woocommerce, woocommerce marketplace, woocommerce multi vendor, WooCommerce multivendor, woocommerce product vendors, WooCommerce vendors, yit, yith, yithemes
4
  Donate link: http://www.wcvendors.com/
5
  Author URI: http://www.wcvendors.com/
6
  Plugin URI: http://www.wcvendors.com/
7
  Requires at least: 4.0
8
  Tested up to: 4.4.2
9
+ Stable tag: 1.8.8
10
  License: GPLv2 or later
11
 
12
  The free multi-vendor plugin for WooCommerce. Now you can allow anyone to open a store on your site!
91
 
92
  = What version of WooCommerce do you support ? =
93
 
94
+ The latest version of WooCommerce. We don't provide support for old versions of WooCommerce. Whatever version is current, WC Vendors will work with. If you have an old version of WooCommerce, this probably will work still, but we won't guarantee it. :-)
95
 
96
  = What version of php has been tested ? =
97
 
98
+ PHP 5.4 and above is required. Tested all the way to the latest PHP 7!
99
 
100
  = Where do I get help ? =
101
 
102
+ You can post a support question on the support tab, however you'll get more help over at our community forums - https://www.wcvendors.com/help/
103
+
104
+ Also be sure to visit our KnowledgeBase at https://www.wcvendors.com/kb/
105
 
106
  == Screenshots ==
107
 
118
 
119
  == Changelog ==
120
 
121
+ = Version 1.8.8 - 22nd March 2016 =
122
+
123
+ * Fixed: Undefined variable error in commission class
124
+ * Fixed: Pagination bug in wcv_vendorslist shortcode
125
+
126
+ = Version 1.8.7 - 15th March 2016 =
127
+
128
+ * Added: New qty argument to commission calculations
129
+ * Added: Image uploader settings type
130
+ * Added: New commission function for payment gateways
131
+ * Fixed: Prefixed all btn css classes to stop theme collision
132
+ * Fixed: Sold By:Name spaces issue #256
133
+ * Fixed: Show extended fields for vendor and pending vendor roles
134
+ * Fixed: Check if product is taxable
135
+ * Fixed: Depreciated function calls in email templates
136
+ * Fixed: Commission giving tax on none taxable items #251
137
+ * Fixed: Sold by label issues with WC 2.5 #250
138
+
139
  = Version 1.8.6 - 31st of January 2016 =
140
 
141
  * Fixed: Critical issue with paypal loading classes incorrectly
trunk/changelog.txt CHANGED
@@ -1,5 +1,10 @@
1
  Changelog for WC Vendors
2
 
 
 
 
 
 
3
  Version 1.8.7
4
 
5
  * Added: New qty argument to commission calculations
1
  Changelog for WC Vendors
2
 
3
+ Version 1.8.8
4
+
5
+ * Fixed: Undefined variable error in commission class
6
+ * Fixed: Pagination bug in wcv_vendorslist shortcode
7
+
8
  Version 1.8.7
9
 
10
  * Added: New qty argument to commission calculations
trunk/class-wc-vendors.php CHANGED
@@ -7,7 +7,7 @@
7
  * Author: WC Vendors
8
  * Author URI: https://www.wcvendors.com
9
  *
10
- * Version: 1.8.7
11
  * Requires at least: 4.0.0
12
  * Tested up to: 4.4.1
13
  *
7
  * Author: WC Vendors
8
  * Author URI: https://www.wcvendors.com
9
  *
10
+ * Version: 1.8.8
11
  * Requires at least: 4.0.0
12
  * Tested up to: 4.4.1
13
  *
trunk/classes/class-commission.php CHANGED
@@ -418,9 +418,6 @@ class WCV_Commission
418
 
419
  $table_name = $wpdb->prefix . "pv_commission";
420
 
421
- if ( is_array( $vendors ) )
422
- $vendors = implode( ',', $vendors );
423
-
424
  $query = "UPDATE `{$table_name}` SET `status` = 'paid' WHERE vendor_id = $vendor_id AND order_id = $order_id AND product_id = $product_id";
425
  $result = $wpdb->query( $query );
426
 
418
 
419
  $table_name = $wpdb->prefix . "pv_commission";
420
 
 
 
 
421
  $query = "UPDATE `{$table_name}` SET `status` = 'paid' WHERE vendor_id = $vendor_id AND order_id = $order_id AND product_id = $product_id";
422
  $result = $wpdb->query( $query );
423
 
trunk/classes/includes/class-wcv-shortcodes.php CHANGED
@@ -596,7 +596,7 @@ class WCV_Shortcodes {
596
  // Pagination calcs
597
  $total_vendors = count( $all_vendors );
598
  $total_vendors_paged = count($paged_vendors);
599
- $total_pages = intval( $total_vendors / $per_page ) + ( $total_vendors % $per_page );
600
 
601
  ob_start();
602
 
596
  // Pagination calcs
597
  $total_vendors = count( $all_vendors );
598
  $total_vendors_paged = count($paged_vendors);
599
+ $total_pages = ceil( $total_vendors / $per_page );
600
 
601
  ob_start();
602
 
trunk/readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === WC Vendors ===
2
- Contributors: wcvendors, digitalchild
3
  Tags: commission rate, e-commerce, ecommerce, ebay, free, marketplace, multi seller, multi store, multi vendor, multistore, multivendor, multivendors, product vendor, product vendors, seller, shops, store, vendor, vendor shop, vendor system, vendors, wc multivendor, wc vendors, wc marketplace, wc market, woo vendors, woocommerce, woocommerce marketplace, woocommerce multi vendor, WooCommerce multivendor, woocommerce product vendors, WooCommerce vendors, yit, yith, yithemes
4
  Donate link: http://www.wcvendors.com/
5
  Author URI: http://www.wcvendors.com/
6
  Plugin URI: http://www.wcvendors.com/
7
  Requires at least: 4.0
8
- Tested up to: 4.4.2
9
- Stable tag: 1.8.7
10
  License: GPLv2 or later
11
 
12
  The free multi-vendor plugin for WooCommerce. Now you can allow anyone to open a store on your site!
@@ -91,15 +91,17 @@ We currently ship WC Vendors free with the following language translations. If y
91
 
92
  = What version of WooCommerce do you support ? =
93
 
94
- Woocommerce 2.3 or above is supported.
95
 
96
  = What version of php has been tested ? =
97
 
98
- PHP 5.4 has been tested.
99
 
100
  = Where do I get help ? =
101
 
102
- You can post a support question on the support tab, however you'll get more help over at our community forums (http://www.wcvendors.com)
 
 
103
 
104
  == Screenshots ==
105
 
@@ -116,6 +118,11 @@ No Upgrade required at this time.
116
 
117
  == Changelog ==
118
 
 
 
 
 
 
119
  = Version 1.8.7 - 15th March 2016 =
120
 
121
  * Added: New qty argument to commission calculations
1
  === WC Vendors ===
2
+ Contributors: wcvendors, digitalchild, bentasm1
3
  Tags: commission rate, e-commerce, ecommerce, ebay, free, marketplace, multi seller, multi store, multi vendor, multistore, multivendor, multivendors, product vendor, product vendors, seller, shops, store, vendor, vendor shop, vendor system, vendors, wc multivendor, wc vendors, wc marketplace, wc market, woo vendors, woocommerce, woocommerce marketplace, woocommerce multi vendor, WooCommerce multivendor, woocommerce product vendors, WooCommerce vendors, yit, yith, yithemes
4
  Donate link: http://www.wcvendors.com/
5
  Author URI: http://www.wcvendors.com/
6
  Plugin URI: http://www.wcvendors.com/
7
  Requires at least: 4.0
8
+ Tested up to: 4.5.0
9
+ Stable tag: 1.8.8
10
  License: GPLv2 or later
11
 
12
  The free multi-vendor plugin for WooCommerce. Now you can allow anyone to open a store on your site!
91
 
92
  = What version of WooCommerce do you support ? =
93
 
94
+ The latest version of WooCommerce. We don't provide support for old versions of WooCommerce. Whatever version is current, WC Vendors will work with. If you have an old version of WooCommerce, this probably will work still, but we won't guarantee it. :-)
95
 
96
  = What version of php has been tested ? =
97
 
98
+ PHP 5.4 and above is required. Tested all the way to the latest PHP 7!
99
 
100
  = Where do I get help ? =
101
 
102
+ You can post a support question on the support tab, however you'll get more help over at our community forums - https://www.wcvendors.com/help/
103
+
104
+ Also be sure to visit our KnowledgeBase at https://www.wcvendors.com/kb/
105
 
106
  == Screenshots ==
107
 
118
 
119
  == Changelog ==
120
 
121
+ = Version 1.8.8 - 22nd March 2016 =
122
+
123
+ * Fixed: Undefined variable error in commission class
124
+ * Fixed: Pagination bug in wcv_vendorslist shortcode
125
+
126
  = Version 1.8.7 - 15th March 2016 =
127
 
128
  * Added: New qty argument to commission calculations