← Share a Wish

Plugin in progress – widget & API available today

Wishlist for Shopware 6

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.

Three ways into your storefront

All options use the same public key from the partner portal. Test keys work on localhost and staging domains.

Save button snippet

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.

Basket embed

The wishlist overview as an embed (iframe) on a dedicated page, e.g. via an HTML element in Shopping Experiences.

REST API

For deeper integrations (custom buttons, server-side saves, webhooks) the public API is available with test and live keys.

What the integration looks like

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).

product/index.html.twig
<!-- 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>
Wishlist page
<!-- 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>

Shopware plugin: register your interest

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.com

FAQ

Not yet – the plugin is in progress. Until then you integrate Share a Wish via the widget snippet, basket embed or API in your storefront; this typically takes less than an hour. If you are interested in the plugin, drop us a line and we will notify you at launch.

We use cookies to improve your experience and analyze site traffic. Learn more