I'm trying to add Company to the shipping address section via a modified Order editor config following this
My store in the backoffice is called "xxxx UK" and i can see the alias is xxxxUK, but when I name the config file xxxxUK.order.editor.config.js and add my new Company field to the shipping section i.e
What version of Vendr are you using? I can see in the current code base we do have support for a billing / shipping company but I'm not quite sure when that was added or if it was there from the start.
The billing / shipping address configs only support a set number of properties so it needs to be in a version that supports it, but in v2 at least, this should be supported.
Ok, so your issue is that only orderliner.properties and additionalInfo support adding your onw entries to. All the other sections are fixed and the editor config is really just allowing you tell Vendr which properties those should be associated with.
Auto laying out any possible combination of properties would just be nightmarish logic so we limit to only those 2 places.
Order editor config
I'm trying to add Company to the shipping address section via a modified Order editor config following this
My store in the backoffice is called "xxxx UK" and i can see the alias is xxxxUK, but when I name the config file xxxxUK.order.editor.config.js and add my new Company field to the shipping section i.e
company: { alias: "shippingCompany", label: "Company" },
It doesn't show in the sidebar, or the edit screen. A company value has been added to the order with:
Hi Ian,
What version of Vendr are you using? I can see in the current code base we do have support for a billing / shipping company but I'm not quite sure when that was added or if it was there from the start.
The billing / shipping address configs only support a set number of properties so it needs to be in a version that supports it, but in v2 at least, this should be supported.
Version 2.03
Is this a fresh install? or an upgrade?
It's a fresh install, but it did have the Checkout plugin installed which has now been removed.
Hmm, that should be fine then.
Have you tried changing some of the other config options to make sure the config is actually getting picked up?
Hi Matt,
I'm having the same problem. I have a new property that is recorded in the order but does not appear in the backoffice.
The configuration file is getting picked. Do I have to fill in the view property or another type of property?
Version 2.1.1
ex: roadNumber: { alias: "billingRoadNumber", label: "Road Number" }
No a view isn't required as it will just default to a textbox.
Can you share your entire editor config? And what version of Umbraco are you using?
Hi, i'm using umbraco 8 version 8.17.2
}
Ok, so your issue is that only
orderliner.properties
andadditionalInfo
support adding your onw entries to. All the other sections are fixed and the editor config is really just allowing you tell Vendr which properties those should be associated with.Auto laying out any possible combination of properties would just be nightmarish logic so we limit to only those 2 places.
Ok, thanks Matt
is working on a reply...