Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Jan 28, 2013 @ 11:53
    Nickolaj Lundgreen
    0

    PurchaseOrder.DiscountTotal

    Hi

    Lets start with getting the version number first ( as i suspect this to be a bug)

    uCommerce version 3.0.0.12320

    I have a hard time wrapping my head around the DiscountTotal property on the PurchaseOrder. It seems to be 2x the PurchaseOrder.Discount property (that match the discount sum of PurchaseOrder.Discounts).

     

    Am i missing something - and what is the DiscountTotal property for?

    //Nickolaj

     

     

     

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Jan 29, 2013 @ 10:36
    Nickolaj Lundgreen
    0

    (the error is observed when using voucher codes)

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 06, 2013 @ 10:14
    Søren Spelling Lund
    0

    DiscountTotal is the total sum of all discounts applied to the order.

    Could you check the PurchaseOrder.Discounts collection and verify that you only have one discount applied to the order?

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 06, 2013 @ 10:28
    Nickolaj Lundgreen
    0

    PurchaseOrder.Discounts contains 1 element (a discount of 75)

    PurchaseOrder.Discount is 75

    PurchaseOrder.DiscountTotal is 150

  • Søren Spelling Lund 1797 posts 2786 karma points
    Mar 06, 2013 @ 10:47
    Søren Spelling Lund
    100

    3.0.2 includes a fix for this.

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 06, 2013 @ 10:57
    Nickolaj Lundgreen
    0

    Thanks a lot :)

Please Sign in or register to post replies

Write your reply to:

Draft