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

[FOX LABS] Integration with Sales Booster plugin by IconicWP

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.

Hey,

I kindly want to request you for a help to make the WOOCS/FOX plugin compatible with the Sales Booster plugin by IconicWP.

They do have integration with WPML Multi-Currency so they might be interested in updating their plugin to make it compatible with WOOCS/FOX.

Using their plugin, you can add such functionalities as:
-cross sell pop up when you add a product to your cart
-order bump on checkout
-widget with"frequently bought together" products on product page

 

By default the rates' calculation don't work properly.

I can provide you with a staging site where I have the paid version of that plugin installed.

 

Problems:

If the"order bump" on the checkout page is discounted, the price is displayed correctly, but the wrong price is displayed after adding to the cart.

 

In case you have any questions, please let me know.

Thanks in advance for your help.

Hello

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

If the"order bump" on the checkout page is discounted, the price is displayed correctly, but the wrong price is displayed after adding to the cart.  - Describe in more detail what should I do to get this error

Hey,

Thanks for your prompt response.

I've just shared the credentials with you.

Below you can find an instruction of how to reproduce the bugs I found so far.

 

Bug with discount for"frequently bought together products".

  1. Set up a frequently bought together products on some product(https://iconicwp.com/docs/iconic-sales-booster-for-woocommerce/add-frequently-bought-together-products/)
  2. Set up a fixed discount on this product, eg. 10€
  3. Visit the product page with the main currency selected
  4. There is an information like"Save 10,00€ when bought together" <- it's correct when you browse the product in a main currency(€)
  5. Switch the currency by using the top bar to PLN(the conversion rate is fixed and it's 1 EUR = 4.6889 PLN)
  6. The discount is equal 10PLN instead of 46.88, and the message about discount says 10zł instead of 46.88zł

I was testing it for percentage discount, but it seems like in this case it worked well.

 

Bug with"order bump" feature

  1. Visit the Sales Booster -> Order Bump page
  2. Create a bump or use my example(https://iconicwp.com/docs/iconic-sales-booster-for-woocommerce/create-a-checkout-order-bump/)
  3. Set up a percentage or fixed discount for the offered products(in case of fixed discount even if you switch to different currency it still treats 1€ as 1usd/pln/gbp)
  4. Add the product to the cart and switch the currency to PLN(zł)
  5. You'll see the offer just above the"Place Order" button on checkout page
  6. Click on the checkbox to add the product to your cart(pay attention to the price displayed on the offer)
  7. After adding the product to the cart the price is different from the offer's price

I hope it's clear but if you have any questions just let me know.

Hello

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

Hey Pablo,

I hope you're doing well.

I just wanted to kindly ask if you had a chance to check the possibility to integrate with the above plugin?

Thanks in advance for your help!

Hello

Unfortunately no. Your turn should be next Friday

Got it, thanks for letting me know! :)

Hello

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

Hello

Please paste your license key here - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130614.png

Update  the plugin(FOX)  to  latest  version - https://currency-switcher.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato

Unfortunately, we cannot do adaptation for the old version of the plugin.

Hey,

I updated the plugin on the staging site and added the license key here.

Please confirm if it's fine now.

Hello

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

Hello

Please  do  a  test

Hey,

Sorry for this stupid question but do you have a local backup of the modified version by a chance?

My admin removed the staging website and I didn't save the modified version on my PC so it seems like I lost it :/

Hello

Please  try:

in  file -  wp-content\plugins\iconic-woo-sales-booster\inc\checkout\class-order-bump-after-checkout-manager.php - add  code -  https://share.pluginus.net/image/i20230217181549.png

$bump_price = $bump->get_discount_price( $offer_product->get_id() );
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$bump_price = $bump_price / $rate;
}
}
}

in  file - \public_html\wp-content\plugins\iconic-woo-sales-booster\inc\checkout\class-order-bump-at-checkout-manager.php - add  code - https://share.pluginus.net/image/i20230217181728.png
$bump_price = $bump->get_discount_price( $product_id );
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$bump_price = $bump_price / $rate;
}
}
}

in file - \public_html\wp-content\plugins\iconic-woo-sales-booster\inc\checkout\abstracts\class-order-bump-checkout-abstract.php - add code - https://share.pluginus.net/image/i20230217181925.png
if (class_exists('WOOCS') AND $discount_type != 'percentage') {
global $WOOCS;
$discount_value = $WOOCS->woocs_exchange_value(floatval($discount_value));
}
public_html\wp-content\plugins\iconic-woo-sales-booster\inc\product-page\class-order-bump-product-page-manager.php - https://c2n.me/4hRLPcl.png
//woocs
if (class_exists('WOOCS') AND 'percentage' != $discount_rule['type']) {
global $WOOCS;
$discount_amount = $WOOCS->woocs_exchange_value(floatval($discount_amount));
}

in file  - \public_html\wp-content\plugins\iconic-woo-sales-booster\inc\product-page\class-order-bump-product-page-manager.php - add  code - https://share.pluginus.net/image/i20230217182300.png
if (class_exists('WOOCS') AND $discount_type != 'percentage') {
global $WOOCS;
$discount_value = $WOOCS->woocs_exchange_value(floatval($discount_value));
}