Closed venkat603 closed 2 years ago
Hi @venkat603 - ContextHub was removed for managing the Cart in the ASC 2.0.0 - the reason for this is ContextHub is rather heavy (i believe ~300KB of JS) and this same functionality can be achieved in a few lines of vanilla JS.
You should be able to use AssetShare.Cart
's methods shown here:
Feel free to re-open/comment on this issue if you have more Q's - but ill close it for now.
Hi Team,
I am trying to use cart store on AEM 6.5.10 which is from asset-share-commons. We recently upgraded to 6.5.10 from 6.3.
In 6.3 we used 1.6.10 asset share commons after upgrading to 6.5.10 we used 2.0.6 asset-share-commons.
We have changed all the paths related to contexthub and cleintlibs to Conf folder.
We are using AssestShare Cart for one of the components while loading the store which used in 1.6.10 "contexthub.assetsharecommonscart" in clientlib-contexthub\cart\store.assetsharecommonscart.js , we are facing below issue as attached. I see there is no where they are calling "contexthub.assetsharecommonscart in 2.0.6. Can you look into this.