Skip to content

Modification to order-total "management" #199

@proseLA

Description

@proseLA

cindy,
is it possible to leave branches of previous releases of this code? everything gets committed to a master branch, and it makes it difficult for me searching through this repo.

in addition, if you are refactoring so much, i think it would be better to do comparisons prior to doing updates. i will give you an example. i create an order on the storefront, it has 1 item, it's marked for pickup in store, it gets taxed. the order comes into the admin. i click edit order, and then update with 0 changes to the order. this simple task creates a debug log of ~23k when nothing was requested. in addition, EO deletes my ot_tax records. i figure out where the ot_tax record gets deleted; address that; it then gets deleted in another place. i address that, now EO is updating my tax description to include the addition of the shipping tax description. what if i do not want that there? figuring out where this was updated seems to be another gargantuan task.

now perhaps this debug log is helpful to you... i find it has too much data to be of value.

perhaps we can set up a different level of logging. write log messages ONLY when updating/deleting a record in the database?

sorry if it seems like i am complaining. but i do not understand why this module would do the math on an orders total correctly (or at least consistently) but at the same time delete an order total record that makes the math seem incorrect.

best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions