• Resolved Flamekebab

    (@flamekebab)


    I’ve been getting to grips with the API and as far as I can tell
    $order[‘data’][‘subtotal’] and $order[‘data’][‘total’] are usually the same.

    The subtotal always includes shipping.

    If there’s a discount active then the subtotal is pre-discount but still includes shipping.

    Example:

    Subtotal
    £31.45
    Discount
    £9.39
    Total
    £22.06

    (+£5.99 shipping)

    Shouldn’t the total be the final total, including shipping?

    It’s easy to code around, of course, but a total should be the final amount. Similarly a subtotal shouldn’t include shipping.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JigoShop API subtotal is incorrect? [Potential Bug]’ is closed to new replies.