Copied to clipboard

Flag this post as spam?

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


  • Tom W 39 posts 96 karma points
    Sep 30, 2020 @ 12:55
    Tom W
    0

    Admin order view - prices inclusive of Tax

    Hi Matt,

    I've got another one for your insight, please.

    In the order view, in the back end, I really like how configurable it is. However, the prices are displayed exclusive of tax, I'm not sure (yet) but I imagine that this will be the same for the order emails.

    Whilst we need to show total tax, all references on the website, backend, emails, etc should display the unit prices inclusive of tax.

    I had a look at the Ng view, and couldn't see the values I needed on the model

    {
      "id": "e8a81ea1-dca5-438a-9f14-e9a322239a39",
      "name": "FRANKLAND ESTATE Isolation Ridge Shiraz 2016 Bottle - ORG",
      "sku": "127180",
      "bundleId": "b-913c1a06-a826-40df-bcd3-8050e383b701",
      "unitPriceBase": "£19.00",
      "unitPriceWithoutDiscount": "£19.00",
      "unitPrice": "£19.00",
      "quantity": 3,
      "totalPriceWithoutDiscount": "£57.00",
      "totalPrice": "£57.00",
      "properties": {
        "preventLoyaltyDiscount": {
          "value": "false",
          "isReadOnly": false,
          "isServerSideOnly": false
        },
        "docType": {
          "value": "wineProduct",
          "isReadOnly": false,
          "isServerSideOnly": false
        }
      },
      "orderLines": []
    }
    

    All of our prices in the product itself are set inclusive of tax, so I would have expected the same in the admin/emails.

    Could you please confirm whether this is possible? Otherwise, I'll have to do something very hacky, and manually multiply by 1.05 (as everything in the store is taxable). Bound to get some weird rounding issues then though. Generally love how how prices work in Vendr, with all of the options for

    Hoping you have a clever solution! Apologies if I've missed it in the docs.

    Many thanks, as always.

    Tom.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Sep 30, 2020 @ 13:11
    Matt Brailsford
    0

    Hi Tom,

    I don't think we do in the back office so this will currently always show prices exclusive of VAT apart from the final order total.

    Regarding the email templates, these will be similar yes, however these can be replaced with your own Razor templates if you'd prefer to display those in a different way for the customer.

    I can see why you would want to do this in the back office for sure, especially if all prices everywhere else are entered inclusive of tax. It may be that we can add another settings to the order.editor.config file or just read from the store if the "Prices include tax" option is selected.

    Would you mind adding this to the issue tracker as a feature enhancement as that way I can keep track of it https://github.com/vendrhub/vendr/issues

    I appreciate this won't be the answer you were hoping for so I'm sorry we can't currently handle this situation, but hopefully the fact at least the customer facing elements can all be configured to show the way you need means it's not a showstopper for you.

    Matt

  • Tom W 39 posts 96 karma points
    Sep 30, 2020 @ 13:35
    Tom W
    0

    Thanks for the prompt reply Matt.

    Email templates - that's good news. Next on the list.

    I think it'd be great if you could do either of those, so that the order view mirrors the rest of the admin/site. Perhaps use "Prices include tax" but allow it to be overridden in the order.editor.config for full flexibility.

    I'll pop an issue into github as soon as I can.

    Cheers,

    Tom

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Sep 30, 2020 @ 13:44
    Matt Brailsford
    0

    Thanks Tom

    Really appreciate the insight / feedback 🙏

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft