PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

[WOOCS LABS] Integration with Wholesale For WooCommerce

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello!

I am a developer currently working on an e-commerce platform for my client. I've decided to use your plugin in order to add multicurrency support to the platform, since I've found your implementation to be the best so far.

I also use Wholesale For WooCommerce plugin: https://woocommerce.com/products/wholesale-for-woocommerce/ to add wholesaler-specific accounts and product pricing.

Unfortunately, I've come across a problem recently - your plugin doesn't fully work with Wholesale plugin. It works very well with standard WooCommerce prices in real time, but it doesn't properly update wholesaler prices on the front-end. Only the currency symbol changes, but the price itself does not. When checking out and being redirected to payment, ultimately the price is calculated properly, but it still doesn't display as intended during the checkout process. I attach screenshots below as an additional explanation and showcase of the problem.

Could you please update your plugin to work well with the Wholesale plugin, or tell me more about how I can make these work together fully?

On WOOCS Labs page, the only mention of wholesale is for another plugin, and the solution does not work for this plugin.

I'd be grateful for your quick response.

Thanks in advance,
Konrad

Hello Konrad

You can create a new request for adaptation

Please  add  wp-admin+FTP access to your  test  site - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png

Hello Pablo,

Apologies for the delayed response. I updated the post, including the details you requested.

Hello

OK. I added this plugin to the adaptation queue

hello

check  your  site  please - https://share.pluginus.net/image/i20210806175334.png

Hello,

Apollogies, the link I provided was incorrect. It is corrected now.

Sincerely, Konrad

Hello Konrad

OK!  I will write to you as soon as we get the result

Hello Konrad

I  checked  your test  site/ None of the products have discounts for wholesale role. It doesn't even work when I disabled my plugin

you may not have configured the site or the third-party plugin is not working

For this reason, I cannot check how it works.

But I did some research on the code:

In  file  - \wp-content\plugins\woocommerce-wholesale-pricing\inc\class-wwp-wholesale.php  - added  code - https://share.pluginus.net/image/i20210813173726.png

if (class_exists('WOOCS')) {
global $WOOCS;
$min_wholesale_price = $WOOCS->woocs_exchange_value(floatval($min_wholesale_price));
$max_wholesale_price = $WOOCS->woocs_exchange_value(floatval($max_wholesale_price));
$min_original_variation_price = $WOOCS->woocs_exchange_value(floatval($min_original_variation_price));
$max_original_variation_price = $WOOCS->woocs_exchange_value(floatval($max_original_variation_price));
}

AND added  this code - https://share.pluginus.net/image/i20210813174147.png

if (class_exists('WOOCS')) {
global $WOOCS;
$r_price = $WOOCS->woocs_exchange_value(floatval($r_price));
$original_price = $WOOCS->woocs_exchange_value(floatval($original_price));
$wholesale_price = $WOOCS->woocs_exchange_value(floatval($wholesale_price));
}