Announcement

Collapse
No announcement yet.

not_orderitem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    not_orderitem

    Please correct me if I'm wrong, but looks like notification functions Module_Notify_OrderItem_Update, Module_Notify_OrderItem_Insert etc. are called before the order itself is re-calculated.
    Both: l.cache and [ g.Module_Library_DB ].Order_Load_ID( l.id, l.cache:order ) return an "old" order total values.

    Is there any elegant way to pull the order total values after they're updated?

    #2
    One function Module_Notify_Order_Update within the not_order could help a lot as it should be called every time when order total re-calc is complete.

    Comment


      #3
      You're correct in that the orderitem notification functions are called before the order itself is updated. We will likely be making improvements to these APIs in our upcoming API release, and I'll see if we can address your needs then.

      Comment

      Working...
      X