Customer issue with order items being persisted with incorrect PTC when PTC is configured from product category instead of individual product.
Description
Plugin for ItemRepository::class will now attempt to retrieve a TaxJar PTC from the order item's product, then order item product's category before defaulting to fully taxable.
Performance
N/A
Testing
Configure product category with TaxJar product tax code
Configure a product with the product category from step one, and TaxJar category "fully taxable"
Place, invoice and ship order with the previously configured product
View the corresponding order item on the sales_order_item table and confirm that the correct product tax code (meaning not 11111 for fully taxable) is persisted to the order item.
Context
Customer issue with order items being persisted with incorrect PTC when PTC is configured from product category instead of individual product.
Description
Plugin for
ItemRepository::class
will now attempt to retrieve a TaxJar PTC from the order item's product, then order item product's category before defaulting to fully taxable.Performance
N/A
Testing
sales_order_item
table and confirm that the correct product tax code (meaning not 11111 for fully taxable) is persisted to the order item.Versions