Laddawn.com : Include MOD items in Cart Total

Overview: Today the MOD items are not included in the cart’s total value on the cart tab on the site. This can be seen by adding a stock item for a qty of 1, and a MOD item with a qty of 50 into the same cart.  The value on the cart tab (the blue one on the right) will show the value of the stock item only.

Processing:

  • LD.INCLUDES SHOPPINGCART.READ
    • Currently it loops through the items in the cart calculating the price based on PRICEDET and adding it to the total.  The problem is that MOD items do not have a price in PRICEDET so their value is calculated as 0. 
    • In the loop mentioned above, if CART.REC<6,X> has a value then we need to set the price for that item from the corresponding QUDET<5>.  The later processing will expect that you are working with internal data, rather than oconv data.
    • If you want any direction on getting the “corresponding QUDET<5>” let John know.