Skip to content

Commit

Permalink
Version bump, changelog updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbir1991 committed Mar 5, 2018
1 parent e07833c commit 77c7953
Show file tree
Hide file tree
Showing 7 changed files with 246 additions and 190 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Requires at least:** 4.4
**Tested up to:** 4.9.4
**WC requires at least:** 2.6
**WC tested up to:** 3.3.1
**WC tested up to:** 3.3.3
**Requires PHP:** 5.6
**Stable tag:** trunk
**License:** GPLv2 or later
Expand Down Expand Up @@ -181,6 +181,21 @@ A. Just install and activate the PRO version without deleting the free plugin. A

## Changelog ##

v2.7.8 -> March 05, 2018
------------------------
- **Tweak:** Added vendor field in the product quick edit page
- **Tweak:** Removed sellerdiv metabox when a seller can access the backend
- **Fix:** Sometimes seller balance turn into minus figure
- **Fix:** Vendor name is showing twice on the cart checkout page
- **Fix:** Seller balance is not updating when the withdraw request is approved
- **Fix:** Extra fee (shipping & tax) is not adding to admin balance when a new order is made
- **Fix:** Unable to save variable product if admin commission is set to fixed
- **Fix:** Product thumbnail image is not changing on updating new image
- **Fix:** Fixed withdraw approving issue from admin side
- **Fix:** Vendor profile completion need upload banner even there are no settings to add banner
- **Fix:** Fixed bulk withdraw approving issue
- **Fix:** Completion of suborders does not make the parent order status to complete

v2.7.7 -> Feb 4, 2018
---------------------
- **New:** Add store URL field in backend user edit form
Expand Down
31 changes: 25 additions & 6 deletions assets/js/dokan.js
Original file line number Diff line number Diff line change
Expand Up @@ -1309,19 +1309,38 @@ jQuery(function($) {
}
}

if ( Number( $('span.vendor-price').text() ) < 0 ) {
$( $('.dokan-product-less-price-alert').removeClass('dokan-hide') );
$( 'input[type=submit]' ).attr( 'disabled', 'disabled' );
} else {
$( 'input[type=submit]' ).removeAttr( 'disabled');
$( $('.dokan-product-less-price-alert').addClass('dokan-hide') );
if ( $( '#product_type' ).val() == 'simple' ) {
if ( Number( $('span.vendor-price').text() ) < 0 ) {
$( $('.dokan-product-less-price-alert').removeClass('dokan-hide') );
$( 'input[type=submit]' ).attr( 'disabled', 'disabled' );
} else {
$( 'input[type=submit]' ).removeAttr( 'disabled');
$( $('.dokan-product-less-price-alert').addClass('dokan-hide') );
}
}

$( '#product_type' ).on( 'change', function() {
var self = $(this);

if ( self.val() == 'variable' || self.val() == 'grouped' ) {
$( 'input[type=submit]' ).removeAttr( 'disabled' );
} else {
if ( Number( $('span.vendor-price').text() ) > 0 ) {
$( 'input[type=submit]' ).removeAttr( 'disabled');
$( $('.dokan-product-less-price-alert').addClass('dokan-hide') );
} else {
$( $('.dokan-product-less-price-alert').removeClass('dokan-hide') );
$( 'input[type=submit]' ).attr( 'disabled', 'disabled' );
}
}
} );

} ).trigger('keyup');

});

})(jQuery);

jQuery(function($) {
var api = wp.customize;

Expand Down
15 changes: 15 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
v2.7.8 -> March 05, 2018
------------------------
- **Tweak:** Added vendor field in the product quick edit page
- **Tweak:** Removed sellerdiv metabox when a seller can access the backend
- **Fix:** Sometimes seller balance turn into minus figure
- **Fix:** Vendor name is showing twice on the cart checkout page
- **Fix:** Seller balance is not updating when the withdraw request is approved
- **Fix:** Extra fee (shipping & tax) is not adding to admin balance when a new order is made
- **Fix:** Unable to save variable product if admin commission is set to fixed
- **Fix:** Product thumbnail image is not changing on updating new image
- **Fix:** Fixed withdraw approving issue from admin side
- **Fix:** Vendor profile completion need upload banner even there are no settings to add banner
- **Fix:** Fixed bulk withdraw approving issue
- **Fix:** Completion of suborders does not make the parent order status to complete

v2.7.7 -> Feb 12, 2018
---------------------
- **New:** Add store URL field in backend user edit form
Expand Down
11 changes: 3 additions & 8 deletions dokan.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
Plugin Name: Dokan
Plugin URI: https://wordpress.org/plugins/dokan-lite/
Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
Version: 2.7.7
Version: 2.7.8
Author: weDevs
Author URI: https://wedevs.com/
Text Domain: dokan-lite
WC requires at least: 2.6
WC tested up to: 3.3.1
WC tested up to: 3.3.3
Domain Path: /languages/
License: GPL2
*/
Expand Down Expand Up @@ -78,7 +78,7 @@ final class WeDevs_Dokan {
*
* @var string
*/
public $version = '2.7.7';
public $version = '2.7.8';

/**
* Holds various class instances
Expand Down Expand Up @@ -231,10 +231,6 @@ public function define_constants() {
* @return void
*/
public function init_plugin() {
// if ( ! function_exists( 'WC' ) ) {
// return;
// }

$this->includes();

$this->init_hooks();
Expand All @@ -250,7 +246,6 @@ public function init_plugin() {
function init_hooks() {

// Localize our plugin

add_action( 'init', array( $this, 'localization_setup' ) );

// initialize the classes
Expand Down
Loading

0 comments on commit 77c7953

Please sign in to comment.