lat9 / edit_orders

Edit Orders: Updates for continued operation on Zen Cart v1.5.8 and later
GNU General Public License v2.0
5 stars 9 forks source link

Orders' taxes get 'lost' when updating if using 'Split Tax Lines' set to false #158

Closed lat9 closed 4 years ago

lat9 commented 4 years ago

... as identified (and commented on) in this support-thread posting.

The issue comes about if a store's My Store::Display Split Tax Lines is set to false and the store also has a shipping-tax configured.

As mentioned in support-thread follow-on, the work-around for this issue is to set that configuration value to true, so that each tax-type's value is recorded as a separate ot_tax order-total.

The underlying cause of the issue is that the order's shipping-tax's "Tax Group" isn't captured as part of the order's processing so that reconstructing the order's taxes when all the taxes are bundled into a single, overall value is 'difficult'.

lat9 commented 4 years ago

This condition is not correctable via code. As such, I've updated the plugin's readme (on the front page) to indicate the restriction.

If a store has a separate tax-rate for shipping (other than that for the products' taxes), EO requires that the above setting be used for proper operation.