Closed rbgly closed 1 month ago
Hey team - @nagpai
We (SomewhereWarm) will evaluate whether we can absorb it in an upcoming sprint and let you know later in the day.
Tagging @jimjasson @xristos3490 @peterfabian @dakota for awareness
For this bug to be fixed, the Woo Payments integration includes/multi-currency/Compatibility/WooCommerceProductAddOns.php has to be updated.
Based on the affected code, and discussion in slack, I've switched the focus label to multicurrency
. (FYI integration
is specifically about external APIs as a product, not compatibility issues within Woo ecosystem.)
Background Info / Debug
SomewhereWarm adopted Product Add-ons and brought several improvements to the extension. One of them was to Change the way prices are presented in the cart - see pdqkbG-2E8-p2
SomewhereWarm was not aware that Woo Payments integrated with Product Add-ons and didn't inform Woo Payments for these changes.
get_item_data
- See Githubget_item_data
- See GithubFor this bug to be fixed, the Woo Payments integration
includes/multi-currency/Compatibility/WooCommerceProductAddOns.php
has to be updated.See p1717513051447799-slack-C7U3Y3VMY
The issue is not only related to addons with 0 prices, as Product Add-ons has changed how all prices are presented in cart.
This section was added by @PanosSynetos
Describe the bug
Product Add-Ons with no price are showing as 0.00 in the cart when WooPayments is enabled.
To Reproduce
Actual behavior
When WooPayments is active, the product is added to the cart with the add-on details below the main product information. The price is displayed as 0.00 instead of not appearing at all. Repeating the process with WooPayments deactivated causes the price to be hidden as expected.
Expected behavior
The price should not show 0.00 at the cart for "free" product add-ons.
Desktop (please complete the following information):
Additional context