I'm getting a exception when trying to use the Vendr Store Entity Picker on the Product Page. Tried in my own store and the try.vendr.com, same result.
But when i use Vendr: Tax Class Picker [Obsolete, use Store Entity Picker instead] it works fine.
What should be the preferred way to add tax to a product, using the obsolete way, or the new way?
The Store Entity Picker is the prefered option, but I seem to be unable to replaicate this. I've just setup a tax class field on try.vendr.net on a product node using the store entity picker and it all eappears to work correctly.
Still, that shouldn't really pose a problem untill you attempt to add a product to an order. Looking at your configuration though I can see what the problem is. You've set up a Store Entity Picker, but you haven't configured what type of entity you want that picker to be able to pick
To pick Tax Classes you need to pick "Tax Class" from this dropdown.
Getting exception when adding tax to product
Hi.
I'm getting a exception when trying to use the Vendr Store Entity Picker on the Product Page. Tried in my own store and the try.vendr.com, same result.
But when i use Vendr: Tax Class Picker [Obsolete, use Store Entity Picker instead] it works fine.
What should be the preferred way to add tax to a product, using the obsolete way, or the new way?
Best Regards Daniel
Hi Daniel,
The Store Entity Picker is the prefered option, but I seem to be unable to replaicate this. I've just setup a tax class field on try.vendr.net on a product node using the store entity picker and it all eappears to work correctly.
Do you have some other config I'm not aware of?
Matt
Hi Matt.
I think i know what's "wrong", when adding Store Entity Picker on the product page, the alias needs to be taxClass right?
https://try.vendr.net/umbraco#/content/content/edit/1152?list=1147&page=1&filter=&orderBy=sortOrder&orderDirection=asc Here i have added Tax with the alias rax (I misspelled tax)
Best Regards Daniel.
Hey Daniel,
Id does yea. you can find details about the expected names here https://vendr.net/docs/core/2.1.0/umbraco-v9/key-concepts/umbraco-properties/#properties
Still, that shouldn't really pose a problem untill you attempt to add a product to an order. Looking at your configuration though I can see what the problem is. You've set up a Store Entity Picker, but you haven't configured what type of entity you want that picker to be able to pick
To pick Tax Classes you need to pick "Tax Class" from this dropdown.
Hi.
Yeah i had just discovered my error, now it works as it should.
Thanks for your fast replies.
Best regards Daniel.
No problem 👍
is working on a reply...