varunsridharan / woocommerce-role-based-price

WooCommerce Role Based Price Plugin
https://codecanyon.net/item/woocommerce-role-based-pricing-pro/14120734
GNU General Public License v3.0
48 stars 22 forks source link

Conflict with Woocommerce Product Add-ons plugin #112

Closed giacomocamerano closed 4 years ago

giacomocamerano commented 4 years ago

Describe the bug When using Role Based Price in conjunction with the Woocommerce Product Add-ons plugin, if I create a product add-on (with price adjustment), it will not be applied to an item on sale or an item that has a different role based price

To Reproduce Steps to reproduce the behavior:

  1. Create a product with Role Based Prices or a put a product on sale
  2. Install Woocommerce Product Add-ons
  3. Create an add on with Woocommerce Product Add-ons with option to adjust price
  4. Add the priced add on to the product and add product to the cart

Expected behavior What I expect: that the Add on price be added to the item total What happens: if the product is on sale or the user is in a role whose price is modified by Role Based Price, the Add on price does not change the item total

Software Versions

  1. WordPress : 5.2.4
  2. WooCommerce : 3.8.0
  3. Role Based Price For WooCommerce : 3.3.6
  4. Woocommerce Product Add-ons : 3.0.19
  5. Storefront theme: 2.5.3

Additional context Found the bug on my production website but tested with clean installation, only installing the above mentioned plugins with storefront theme. When I disable Role Based Price, the add on price works

varunsridharan commented 4 years ago

@giacomocamerano We are facing some issues with the integration. and i am working on V4.0 due to that i am not able to provide proper support for V3.0 and the V4.0 already started and its under Alpha phase soon it will be in beta. once its done the integration will work.

giacomocamerano commented 4 years ago

@varunsridharan glad to hear that (have subscribed to beta releases :) ) this bug aside, I love the plugin and it has always worked flawlessly. Keep up the great work 👍