Quinten
Quinten
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
Yes, this does clear up some things. Thanks for the response!
17 replies
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
^ @rohrig Updated my question, hopefully you can see where i'm coming from and my confusion around it.
17 replies
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
So in the end my question is, how can I for Magento 2 use the SDK that uses the UDM methods? I assume that there has to be an enterprise package, since the open source (@vue-storefront/magento-sdk) does not include these methods. So i've come to the following conclusion (see below), it this correct? Open source Package: @vue-storefront/magento-sdk which does not have the methods defined in https://docs.alokai.com/storefront/unified-data-layer/unified-methods/products as an example Method: So the following has to be used to get products -> sdk.commerce.products({}) Enterprise Package: @vsf-enterprise/magento-sdk (?) which does have the methods defined in https://docs.alokai.com/storefront/unified-data-layer/unified-methods/products as an example Method: The method sdk.commerce.getProducts() can be used to call Magneto 2 products, but in the future we could switch it out with @vsf-enterprise/sapcc-sdk and get the products from SAPCC platform. Or can the @vsf-enterprise/unified-sdk package just be used for all e-commerce frameworks on the front-end, which includes Magento 2 support. It's just not clear for me with the current documentation. I feel like i'm missing something?
17 replies
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
Okay, one more question. Because the Open Source Magento 2 SDK does not adhere to the UDM. I can assume there is a enterprise version of the magento 2 SDK where the correct methods can be called on? So an example the Open Source Magento 2 SDK provides the .products method to get products, while the UDM states it should be .getProducts. It also stated on the following page it should be compatible with Magento 2: https://docs.alokai.com/storefront/unified-data-layer/unified-methods/products To give context we are looking into Alokai SDK to implement the data connection to Magento 2 shop, but want in the future to change it to another e-commerce framework without much hassle. The Alokai SDK looked a perfect solution for this. But the docs (for the Open source magento 2 SDK) does not seem to reflect that. Hopefully, my concern makes sense?
17 replies
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
Okay, clear! So the enterprise solutation provides a uniform SDK for multiple e-commerce platforms, correct?
17 replies
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
Hi @rohrig, Correct me if I'm wrong. So the (unified) SDK with the unified methods is also open source? Or only the Magento 2 SDK?
17 replies
AAlokai
Created by Quinten on 3/28/2024 in #🙋|general-help
Magento 2 SDK (OS) and UDM
So going through previously posts i've come across this thread https://discord.com/channels/770285988244750366/1207721072112439296. Which also talks about the Magento 2 integrations, which kind off confirms my suspicions that there are two Magento 2 SDKs/integrations? An open source version and enterprise version. I can asume that the Unified Data Layer won't be open sourced, since it is part of the enterprise package?
17 replies