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
We're using Umbraco 10.4.2 & Vendr 3.0.5
I've created a custom order.editor.config.js file so that I can show some custom fields in the additionalInfo section.
I've added it to a custom plugin:
with a link to the config.js in the javascript list
xxxxxx is the alias of the vendr shop
I've made sure that the config.js is set to Copy Local in VS and can see the config.js file in the sources developer tab.
I still can't see the custom property (alias: healthTrust) for an order that I know has it set.
Any ideas??
{ orderLine: { properties: [ { alias: "color", label: "Color", isReadOnly: true }, { alias: "size", label: "Size", isReadOnly: true } ] }, customer: { // Firstname, Lastname and Email are already known company: { alias: "company", label: "Company Name" }, taxCode: { alias: "taxCode", label: "Tax Code" }, telephone: { alias: "telephone", label: "Telephone" }, }, billing: { addressLine1: { alias: "billingAddressLine1", label: "Street Address Line 1" }, addressLine2: { alias: "billingAddressLine2", label: "Street Address Line 2" }, city: { alias: "billingCity", label: "City" }, zipCode: { alias: "billingZipCode", label: "Zip Code" }, // Country and Region are already known }, shipping: { sameAsBilling: { alias: "shippingSameAsBilling", label: "Same as billing", trueValue: "1", falseValue: "0" }, firstName: { alias: "shippingFirstName", label: "First Name" }, lastName: { alias: "shippingLastName", label: "Last Name" }, addressLine1: { alias: "shippingAddressLine1", label: "Street Address Line 1" }, addressLine2: { alias: "shippingAddressLine2", label: "Street Address Line 2" }, city: { alias: "shippingCity", label: "City" }, zipCode: { alias: "shippingZipCode", label: "Zip Code" }, // Country and Region are already known }, notes: { customerNotes: { alias: "comments", label: "Customer Comments" }, internalNotes: { alias: "notes", label: "Internal Notes" } }, additionalInfo: [ { alias: "ipAddress", label: "IP Address", isReadOnly: true }, { alias: "healthTrust", label: "Health Trust", isReadOnly: true } ]
}
Hi Ian,
You shouldn't have to create a custom plugin to show/use the config.
Just adding xxxx.order.editor.condig.js in App_Plugins/Vendr/config should be enough.
Thanks, that's worked a treat !!
Hi I want to add a custom link to the Order Edit page in Umbraco Commerce 12.1. how can i do it . Please guide. Below is the Vendr version and I want to implement similar link on Umbraco Commerece version
Can anyone guide how can we achieve this?
Thanks
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Order editor config
We're using Umbraco 10.4.2 & Vendr 3.0.5
I've created a custom order.editor.config.js file so that I can show some custom fields in the additionalInfo section.
I've added it to a custom plugin:
with a link to the config.js in the javascript list
xxxxxx is the alias of the vendr shop
I've made sure that the config.js is set to Copy Local in VS and can see the config.js file in the sources developer tab.
I still can't see the custom property (alias: healthTrust) for an order that I know has it set.
Any ideas??
}
Hi Ian,
You shouldn't have to create a custom plugin to show/use the config.
Just adding xxxx.order.editor.condig.js in App_Plugins/Vendr/config should be enough.
Thanks, that's worked a treat !!
Hi I want to add a custom link to the Order Edit page in Umbraco Commerce 12.1. how can i do it . Please guide. Below is the Vendr version and I want to implement similar link on Umbraco Commerece version
Can anyone guide how can we achieve this?
Thanks
is working on a reply...