Yea, I noticed this when I was testing the Vendr demo store. I'll be releasing a 1.4.1 soon with an update that allows this.
If you are just using the product adapter to change the product name like we did in the demo store, we do have a new IUmbracoProductNameExtractor you can use instead.
public class MyUmbracoProductNameExtractor : IUmbracoProductNameExtractor
{
public virtual string ExtractProductName(IPublishedContent content, string languageIsoCode)
{
return /* Your Generated Product Name */;
}
}
It’ll probably be the back end of next week to see if any other 1.4.0 issues pop up, but I’ll make sure it’s deployed to our nightly feed tomorrow so you can get early access if it’s holding you back.
Vendr Custom Product Adapter (v1.4 Licensing)
Hi Matt,
I have just updated a site that has been in development for a while to Vendr 1.4, an I am now getting the error:
Can't add a Product to an Order as custom product adapter has been configured which is not allowed by your license.
Is there any way that I can test the product adapter is still working correctly in the dev environment before I buy a license?
Thanks,
Paul.
Hi Paul,
Yea, I noticed this when I was testing the Vendr demo store. I'll be releasing a 1.4.1 soon with an update that allows this.
If you are just using the product adapter to change the product name like we did in the demo store, we do have a new
IUmbracoProductNameExtractor
you can use instead.To replace the existing one, you register it like
If you are doing something other than generating the product name, then yea, a Product Adapeter is necessary and the fix will b in 1.4.1.
Matt
Thanks Matt,
Unfortunately I'm not just changing the product name, so I will wait for the new release.
Do you have an ETA by any chance please?
No worries
It’ll probably be the back end of next week to see if any other 1.4.0 issues pop up, but I’ll make sure it’s deployed to our nightly feed tomorrow so you can get early access if it’s holding you back.
Matt
Hi Paul,
You can find our unstable feed at https://nuget.outfield.digital/unstable/vendr/v3/index.json where you can install the latest 1.4.1-beta which should include this fix.
I'll be looking to make the official release towards the end of the week.
Hope this helps
Matt
is working on a reply...