Custom Product Adapter & Snapshot not working as it did in Vendr #588
Unanswered
redmorello
asked this question in
Q&A
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
-
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