Multi Vendor Plugin Compatibility

Multi Vendor Plugin Compatibility

Unfortunately, we don』t have an integration with any multi-vendor plugins at the moment. But we』ve run some quick tests with a few plugins and some of our features like the wholesale pricing and minimum order restrictions are supported and working properly. However, we can』t fully guarantee that all other features are supported.
Also, please keep in mind that adding wholesale prices is only accessible through the backend, where our default settings are located. This means that vendors, who add their own products on the front end, must have access to the backend to use our WooCommerce Wholesale Prices Premium features.
If you wish to add the wholesale prices fields in the frontend, I』m afraid that this will need extensive code customization.
We suggest asking for further assistance from a developer. And if you』re interested to hire one, we recommend someone from Codeable.

Why Do Products Not Show In Regular Searches When Prices Premium Is Active?

Why Do Products Not Show In Regular Searches When Prices Premium Is Active?

WooCommerce Wholesale Prices Premium has a feature to restrict products exclusive to wholesale customers. However, due to technical limitations, the regular search of WordPress doesn』t filter these restrictions on the products.
It can be confusing to guests and other users to see products that are restricted to them that』s why we disable showing products on the regular search to prevent confusion.
If we didn』t do this, then your guest customers might see wholesale restricted products in their regular search results. Though, even if they did click on one of these restricted products, they would just be redirected to the shop as they don』t have the authorization to view the product page.
However, if you don』t mind your wholesale products showing up to non-authorized users in search query results pages you can re-add products to the regular listings using this snippet. Note that visibility is ignored, they』ll just see all products regardless of wholesale visibility.
function include_product_search( $query ) {
if ( !is_admin() && $query->is_search() && (!isset($_GET['post_type']) || $_GET['post_type'] != 'product') ){
$post_types = $query->get('post_type'); $post_types []= 'product'; $query->set( 'post_type', $post_types );
}
}
add_action( 'pre_get_posts', 'include_product_search' );
The preferred solution is instead of using the regular search, we recommend using WooCommerce』s Product Search widget which is compatible with the wholesale role restrictions.

My download links have expired, can I download the plugin again?

My download links have expired, can I download the plugin again?

The download links found in your invoice email will only last for a certain time before they expire.
Once expired you will not be able to use these links to download the plugin/s again.
Instead, you can access the latest version of your plugins at any time by logging into your account.
You』ll find a link to the My Account page in the footer of our site.
Once logged in you will see a section containing all of the available downloads for your account along with the details of your past orders:
Available Downloads
These links will always point towards the latest version of the product.
If you have any troubles accessing your account, try resetting your password, and if that fails please contact support.

How To Add A Heading Before The Quantity Based Discounts On The Order Form

How To Add A Heading Before The Quantity Based Discounts On The Order Form

The Wholesale Order Form is specifically designed for a streamlined ordering process to make it as fast as possible for existing wholesale customers to order from you.
When using the Order Form with Prices Premium, you』ll find that the details of the Quantity Based Discounts are shown directly under the regular price in a very simply styled table.
A few people have asked if it』s possible to add a heading prior to the quantity discounts table to indicate to new wholesale customers that they can order more and get a further discount.
Here』s a snippet of code which adds a small heading before the quantity discounts table and gives you a CSS class 「wholesale-quantity-discount-heading」 to style it with.
Just add the following to your functions.php in your theme:
function addQuantityDiscountsHeading($html) {
$html = str_replace('

    ', '

    Quantity discounts available:

      ', $html);
      return $html;
      }
      add_filter('wwof_filter_product_item_price', 'addQuantityDiscountsHeading', 10, 1);

Compatibility fix for WooCommerce Color or Image Variation plugin

Compatibility fix for WooCommerce Color or Image Variation plugin

The WooCommerce Color or Image Variation plugin is a popular WooCommerce extension found on CodeCanyon.
It lets you create colour or image selectors for each of your variations with relative ease.
We recently debugged and fixed a compatibility issue with this plugin where the minimum order quantity would not pre-populate in the quantity box.
The fix is to install this small snippet of code into the functions.php of your theme:
function wwppColourImageMinVarFix($variationData) {
global $current_user;

if (isset($current_user) && class_exists('WWP_Wholesale_Roles')) {
$wwp_wholesale_roles = WWP_Wholesale_Roles::getInstance();
$wwp_wholesale_role = $wwp_wholesale_roles->getUserWholesaleRole();
if (!empty($wwp_wholesale_role)) {

// Get min qty for this variation
$product_id = $variationData['variation_id'];
$wwpp_wholesale_prices = WWPP_Wholesale_Prices::getInstance();
$wholesalePrice = $wwpp_wholesale_prices->getProductWholesalePrice( $product_id , $wwp_wholesale_role );
$wholesalePrice = apply_filters( 'wwp_filter_wholesale_price_shop' , $wholesalePrice , $product_id , $wwp_wholesale_role );

$minimumOrder = get_post_meta( $product_id , $wwp_wholesale_role[0] . "_wholesale_minimum_order_quantity" , true );

if ( $minimumOrder && $wholesalePrice )
$variationData['min_qty'] = $minimumOrder;

}
}

return $variationData;
}

add_filter('woocommerce_available_variation', 'wwppColourImageMinVarFix', 10, 1);

Product Search Issue With WooCommerce – Search By SKU Plugin

Product Search Issue With WooCommerce – Search By SKU Plugin

The WooCommerce – Search By SKU plugin is a plugin found on WordPress.org that allows search by SKU on both backend and frontend.
However, we have reported conflicts with this plugin due to the way it extends the search functionality by creating a custom loop which doesn』t apply our loop filtering.
Products that are restricted to wholesale roles in the backend show up in search results for non-wholesale users on the front end.
However, when you click through to the single product page you will get redirected back to the shop page as part of the visibility restrictions we enforce.

Wholesale Prices Settings Page Is Redirecting To The Site』s Homepage: WordPress Firewall 2 Compatibility

Wholesale Prices Settings Page Is Redirecting To The Site』s Homepage: WordPress Firewall 2 Compatibility

If your website is redirecting to the home page when you click on the Wholesale Prices tab in your WooCommerce settings, this is likely caused by an incompatibility with the WordPress Firewall 2 plugin by Matthew Pavkov.
You can test this by disabling the WordPress Firewall 2 plugin temporarily and visiting the Wholesale Prices tab in your WooCommerce settings which should now appear properly.
This plugin is known to cause conflicts with lots of other plugins as well as ours and since it hasn』t been updated in a very long time we recommend switching to a more compatible solution.
For a better, more compatible solution, we recommend switching to Wordfence which gives the same functionality and more.
Download it here:

Wordfence Security – Firewall, Malware Scan, and Login Security