WPC Composite Product discount get overwritten
-
Dear support,
I have following issue. I have a WPC Composite Product. This product consist out of a Base Product (25,00€) and 2 Add-ons/Composites (cost 14,90€ and 17,90€). The base price got excluded (=> 0,00€) and adds a 5% discount to the whole composite product (cost 14,16€ and 17,01€) . That results in a price of 31,17€
0,00€ + 14,16€ + 17,01€ = 31,17€
The product has no pricing rules by your Plugin Advanced Dynamic Pricing for WooCommerce.
We use WooCommerce PayPal Payments as payment gateway and there the price of 57,80€ would be shown the user.
The issue don’t appears while using invoice or direct bank transfer.
I have looked into the issue. The WooCommerce PayPal Payments uses the line_subtotal to calculate the price.
\advanced-dynamic-pricing-for-woocommerce\BaseVersion\Includes\WC\WcCartItemFacade.php
overwrites the line_subtotal width the base prices of each product after WPC Composite Product has written the real value.
How can I solve this issue?
- You must be logged in to reply to this topic.