Shipping Package plugin (Oneteamsoftware) Conflict with WholesaleX
-
WholesaleX support replied to be with an conflict i was having on the checkout page. can you please address this?
Hi there,
This is Tonmoy from WPXPO. Recently one of our users faced a compatibility issue with your “Shipping Packages for WooCommerce” Plugin. After investigating the issue we found out that there is a problem in the “wc-shipping-packages/includes/ShippingPackages.php” file on line 694. You are performing a multiplication operation ($product->get_price() * $cartItem[‘quantity’]) that caused a fatal error. This is because the get_price function of the product object returns a string, and you cannot multiply a string with an integer. This conflicts with our WholesaleX plugin. We kindly request you to convert the price to float before performing multiplication, so that it always multiplies a float with an integer. This will also solve the conflict issue with our plugin. This is the actual code:?https://prnt.sc/Y5pf9BAW7cEK?and this is our expected code:?https://prnt.sc/6jvIe28pYRVO?. Do let me know if you need further details.The page I need help with: [log in to see the link]
- The topic ‘Shipping Package plugin (Oneteamsoftware) Conflict with WholesaleX’ is closed to new replies.