We have 2 types of product that we sell. Standard & Configurable products.
I've got the Standard products working fine with a custom ProductAdapter & Snapshot where the price is pulled from our external ERP system.
I'm now trying to get configurable products working, but these products won't exist in Umbraco as there are many tens of thousands of combinations. We have a configurator that will spit out a custom SKU, but I'm struggling to see how I create a product snapshot from this. The GetProductSnapshot method that we override for standard products is expecting a snapshot from Umbraco (which we dont have).
The GetProductSnapshot method returns an IProductSnapshot so if this is a non-umbraco product, then you can implement that interface yourself and return the relevant information for each of it's properties.
Adding custom products to cart
We have 2 types of product that we sell. Standard & Configurable products.
I've got the Standard products working fine with a custom ProductAdapter & Snapshot where the price is pulled from our external ERP system.
I'm now trying to get configurable products working, but these products won't exist in Umbraco as there are many tens of thousands of combinations. We have a configurator that will spit out a custom SKU, but I'm struggling to see how I create a product snapshot from this. The GetProductSnapshot method that we override for standard products is expecting a snapshot from Umbraco (which we dont have).
Any ideas / pointers on how to approach this?
Hi Ian,
The
GetProductSnapshot
method returns anIProductSnapshot
so if this is a non-umbraco product, then you can implement that interface yourself and return the relevant information for each of it's properties.Matt
is working on a reply...