Magento Wishlist module for vue-storefront. Requires mediamanDE magento-module-wishlist-api
By hand (preferer):
git clone [email protected]:AbsoluteWebServices/vsf-magento-wishlist.git ./vue-storefront/src/modules/
Registration the Magento Wishlist module. Go to ./vue-storefront/src/modules/index.ts
...
import { MagentoWishlistExtend } from './vsf-magento-wishlist'
extendModule(MagentoWishlistExtend)
Add following settings to your config file.
"magentoWishlist": {
"endpoint": "http://localhost:8080/api/ext/magento-wishlist"
},
Install additional extension for vue-storefront-api
:
cp -f ./vue-storefront/src/modules/vsf-magento-wishlist/API/magento-wishlist ./vue-storefront-api/src/api/extensions/
Add it to registeredExtensions
in your api config.
"registeredExtensions": [
...
"magento-wishlist"
],