- Issue created by @durifal
- Status changed to Needs review
11 months ago 11:12am 9 January 2024 - Open on Drupal.org βCore: 7.x + Environment: PHP 5.3 & MySQL 5.5last update
11 months ago Waiting for branch to pass
We are using in tax display title also % value, so it is clear for customer how much is the VAT. But after the VAT value was changed, we also changed it in the Display title. All new orders are fine, but all older orders which has already been placed has correct VAT calculation, but the title of the VAT is now not correct as it shows new title with new VAT value.
As commerce is already saving the tax rate entity in table field_data_commerce_order_total in serialized column commerce_order_total_data when the order is placed, we should use as display VAT title for already placed order display title from that serialized array.
Needs review
1.0
Price