Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Looking at the work involved in transplanting a TC site into Umbraco v9 and Vendr.
One customisation they have is some text that they can update in their site settings node in Umbraco that is inserted into the email confirmations - useful for public holidays and delivery delays etc.
How do I get an Umbraco Helper in the OrderConfirmationEmail.cshtml - is there anything in the VendrApi?
You can find an example in the Vendr Checkout source https://github.com/vendrhub/vendr-checkout/blob/v2/dev/src/Vendr.Checkout/Web/UI/App_Plugins/VendrCheckout/views/emails/VendrCheckoutOrderConfirmationEmail.cshtml#L26 this uses a custom helper extension to resolve services which you can find here https://github.com/vendrhub/vendr-checkout/blob/v2/dev/src/Vendr.Checkout/Web/RazorPageExtensions.cs#L17 (you don’t need that helper if you copy the line highlighted, we need it to hide v8 + v9 api inconsistencies)
Wonderful. Another barrier to transplant down!
And that checkout repo looks super useful.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted