Hi @brain168
Thank you for using Paid Memberships Pro – WooCommerce Add On.
The Paid Memberships Pro WooCommerce integration applies discounts based on what membership level products are in the cart. This functionality helps to upsell other items alongside purchasing a membership level and reduce the number of checkouts a user may need to do (i.e. buy membership level, then come back and place their remaining order to get the discount).
A way forward would be to set the option of “Discount WooCommerce Subscription and Memberships Products” (which can be found under “Memberships” > “Settings” > “Advanced Settings”) to “No”. This will prevent the membership discount in cart to discount products.
You then can also use a custom code snippet to specifically discount these products based on the user’s membership level by using the ‘pmprowoo_get_membership_price’ filter – https://github.com/strangerstudios/pmpro-woocommerce/blob/dev/pmpro-woocommerce.php#L453
This will allow you to get the user’s current level, and discount product ID’s in WooCommerce based off of custom parameters such as the user’s level, role or other.
If you need help implementing this onto your site, I suggest reaching out to a local WordPress developer.
Thank you for understanding.