Skip to content

Edit Orders 5.0.4: tax-description matching failure #354

Description

@lat9

"Cloned" from #353.

1. Tax descriptions without a percentage cannot be matched

I have a configured tax rate whose description does not contain the numeric percentage, for example:

North Carolina Food Tax

When opening an affected order, Edit Orders reports:

Order #[ORDER NUMBER] cannot be edited. No tax description could be found for the tax rate ([TAX RATE]%) applied to [PRODUCT NAME].

The tax description exists, but the current logic expects the order's tax-group title to contain the numeric percentage.

The fix falls back to looking up the description in tax_rates_description, joins it to tax_rates, and matches the configured rate against the tax rates recorded on the order.

File: zc_plugins/EditOrders/v5.0.4/admin/includes/classes/EditOrders.php

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions