WC Vendors Pro v1.8.3 Released

We are pleased to announce the release of WC Vendors Pro v1.8.3. In this release, we focus on bug fixes and adding some features.

What’s new

Product reports feature

This feature will allow customers or vendors to report to the administrator when a certain product is not in compliance with market regulations.

We have dedicated a post to introduce this feature here

Actions in the product, coupon, and settings controllers

There are several people who have asked for extra actions and filters. And of course, we added them to this release.

Actions added:

  • wcvendors_product_delete
  • wcvendors_before_product_save
  • wcvendors_before_product_save_images
  • wcvendors_before_product_save_categories
  • wcvendors_before_product_save_tags
  • wcvendors_before_product_save_custom_taxonomy
  • wcvendors_before_product_save_meta
  • wcvendors_before_product_save_shipping_rates
  • wcvendors_before_product_save_attributes
  • wcvendors_before_product_save_prices
  • wcvendors_before_product_save_stock_data
  • wcvendors_before_shop_coupon_post_save
  • wcvendors_before_shop_coupon_save
  • wcvendors_before_shop_coupon_delete
  • wcvendors_shop_coupon_delete
  • wcvendors_before_store_settings_saved

The hooks can be used to check what is being saved or updated. This way, you can add more functionality to your platform.

Filter for Everywhere Else

We also added this in the previous release. Now we have added a filter for it. You can use that filter to hide Everywhere Else on the countries select box when you are not used.

Example code snippet

if ( ! function_exists( 'wcv_hide_everywhere_else' ) ) {

	/**
	 * Hide the "Everywhere else" option in the countries dropdown.
	 *
	 * @param  array $regions Array of countries.
	 */
	function wcv_hide_everywhere_else( $regions ) {
		unset( $regions['EWE'] );
		return $regions;
	}

	add_filter( 'wcvendors_shipping_table_regions', 'wcv_hide_everywhere_else', 10, 1 );
}

Updates

Store Address fields

Country, City, and State fields are now required when the Address field is required in the Store settings

Allow mark received to be used for digital products

Some of our users are building service-based marketplaces where they would like the option for customers to mark the service received using the same system. So we updated that.

Allow vendors to edit their own images detail

Now, Vendors can edit their own images detail when they select featured images for their product

Edit image details in WC Vendors Pro v1.8.3
Edit image details

Fixes

  • Fixed: Recalculate Commissions fires on admin products (#1601)
  • Fixed: In featured image upload, attachment details are not accessible #1420
  • Fixed: Incorrect text-domain #1650
  • Fixed: Unable to add tracking number for the PostNL Shipping Provider #1646
  • Fixed: Warning on the vendor store page #1641
  • Fixed: Shipping fee is given to vendors not canceled upon manual refund #1645

Changelog

Version 1.8.3 - 1st June 2022

* Added: Additional before actions for products, coupons and settings. #1622
* Added: Report Product feature (#1077)
* Added: Add SEO and Advanced option at the Basic section in the Product Form setting (#1600)
* Fixed: Recalculate Commissions fires on admin products (#1601)
* Fixed: In featured image upload, attachment details are not accessible #1420
* Fixed: Incorrect text-domain #1650
* Fixed: Unable to add tracking number for the PostNL Shipping Provider #1646
* Fixed: Warning on the vendor store page #1641
* Fixed: Shipping fee is given to vendors not canceled upon manual refund #1645

Update

This update should show up in your plugin updates, however, if it doesn’t, you can download it from your my-account/downloads page.

Questions

If you have any questions or issues be sure to send in a ticket.

Posted in News, Releases