jnewman67
unread,Jan 7, 2009, 8:00:14 AM1/7/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phpShop
as part of the last discussion i was in, it reminded me that there is
a real, thought not critical, issue with historical data where past
orders are concerned.
the order_item table should be updated to contain all the relative
information for an order, as well as the orders table itself. things
should not be recalculated/looked up when an order is pulled up, as
those calculations/lookups are based on current defaults and settings,
and not from the values at the time, and those may have changed since
the order was placed.
one simple example is the description of an item. that is not stored,
but pulled form the current product list when displayed. if that
description changed since the order was placed, or if the item was
deleted, then the old order won't display the correct information.
i'm sure there are others, and i haven't put much investigation into
it, but the thought is still nagging at me.