Custom Product Adapter & Snapshot not working as it did in Vendr #588
redmorello
announced in
Q&A [Archived]
Replies: 1 comment 11 replies
-
Can you show me the code where you are calling |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm migrating a working Umbraco V8 & Vendr website over to Umbraco 13.5.2 & Commerce 13.1.13
I've followed the documentation here: https://docs.umbraco.com/umbraco-commerce/key-concepts/product-adapters and tweaked our existing CustomProductAdapter & CustomProductSnapshot
It's being added inside the IUmbracoCommerceBuilder:
builder.Services.AddUnique<ProductAdapterBase, CustomProductAdapter>();
The CustomProductAdapter has been changed to inherit from ProductAdapterBase:
but when adding a product to the cart, we're getting a pricing error, but also, we're not hitting the custom adapter when debugging. Have we missed a step somewhere?
Beta Was this translation helpful? Give feedback.
All reactions