Plugin in progress – widget & API available today
A Shopware plugin is in progress. Today you can already integrate Share a Wish into your storefront via save button snippet, basket embed or REST API – cross-device wishlists included.
All options use the same public key from the partner portal. Test keys work on localhost and staging domains.
One script tag plus a button with data attributes in your product template. The button opens the hosted save dialog – no backend of your own.
The wishlist overview as an embed (iframe) on a dedicated page, e.g. via an HTML element in Shopping Experiences.
For deeper integrations (custom buttons, server-side saves, webhooks) the public API is available with test and live keys.
Create a public key in the partner portal, include the SDK, add the button to your product template – done. Prices are passed in minor units (cents).
<!-- 1. SDK einbinden (z. B. im Storefront-Layout) -->
<script src="https://shareawish.shop/sdk/v1/widget.js" data-saw-key="pk_test_xxx"></script>
<!-- 2. Save-Button auf der Produktseite (Twig-Beispiel) -->
<button data-shareawish
data-url="{{ seoUrl('frontend.detail.page', { productId: page.product.id }) }}"
data-title="{{ page.product.translated.name }}"
data-image-url="{{ page.product.cover.media.url }}"
data-price="{{ (page.product.calculatedPrice.unitPrice * 100)|round }}"
data-currency="{{ context.currency.isoCode }}">
Auf die Wunschliste
</button><!-- Wunschlisten-Übersicht, z. B. als CMS-HTML-Element (configId aus Partner-Portal → Basket) -->
<script src="https://shareawish.shop/sdk/v1/basket-integration.js"></script>
<div id="shareawish-basket"></div>
<script>
ShareWishBasket.init({ apiKey: 'pk_test_xxx', configId: 'bkt_xxx' }).renderInto('#shareawish-basket');
</script>We are building a native Shopware 6 plugin with admin configuration and ready-made storefront blocks. Tell us which Shopware version and theme you use – we will get in touch at launch and take your feedback into planning.
contact@share-a-wish.comWe use cookies to improve your experience and analyze site traffic. Learn more