Perch Shop Cart and Order Outputting Different Values

  • Hi Everyone


    I built a simple EPOS for a client using Perch Shop. It works fine - other than the following issue with total figures being different in the cart than the final order (which is used to print the receipt).


    If we have an item costing £80 and then apply a 50% discount to the item, the correct total is shown in the cart, like this:


    p.png?fv_content=true&size_mode=5


    However, when this order is submitted, the following is shown as the order total:


    p.png?fv_content=true&size_mode=5


    Which, as you can see, is 1p out. The difference seems to be in the way the VAT is calculated as this is also 1p out.


    Here's the template I'm using for the cart:



    And here's the template for the final order:



    You can see I'm using the same <perch:shop id="" /> tags for the discount value, tax and grand totals - so I can't work out why these would be calculated any differently between the cart and the final order. Anyone else seen this or can suggest a fix?


    Thanks! :burd1: