Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

Search
Galleries & detail viewing

Save a product to a wishlist

Save the print and undo, checking icon, control state and list membership. Cross-device persistence needs an account-storage test beyond this demo.

Verify reload, sign-out and another signed-in device separately. This example toggles page state. A changed icon does not establish an account write or cross-device synchronization.

The second action restored the empty list. The result demonstrates reversibility; cross-device persistence depends on the storage implementation.

Reproduce the test and inspect the readings

Save one print to an empty list, then remove it and read the list feedback.

908 and 316 px, both preferences
Your list is empty. then Meadow, in bloom · 1 print then Your list is empty.

WESWOO loaded this example’s published HTML, CSS and JavaScript in standalone Chrome at 700 px viewport height. Both motion preferences were tested at each width.

2026-11-24 · Chrome 157.0.8103.79

Download test conditions and raw readings (JSON)

View the phone and desktop observations

WESWOO · 24 November 2026. We enabled reduced motion at phone width and used the default motion setting at desktop width. These observations come from the live example.

Window / preview widthActionObserved result
390 / 316 px♡ Save printPreviously “Your list is empty.”. The interface showed “Meadow, in bloom · 1 print”.
1440 / 908 px♡ Save printPreviously “Your list is empty.”. The interface showed “Meadow, in bloom · 1 print”.

Preparing preview

How the effect works

Show where the saved item went

Keep the artwork and its dimensions in view while the buyer saves it. Showing its name below the control makes the result easy to find.

Example source code

View 3 source filesHTML · CSS · MJS
wishlist-toggle.html
<section class="fx wish" lang="en" aria-label="Save a print">
  <figure data-stage><img src="__WW_VISUAL_1__" alt="Dandelions swaying in an open meadow"></figure>
  <div class="print-info"><p class="eyebrow">FIELD STUDIES / PHOTOGRAPHIC PRINT</p><h2>Meadow, in bloom</h2>
  <p class="print-size">Archival print · 30 × 40 cm</p>
  <button data-save aria-pressed="false"><span aria-hidden="true">♡</span> Save print</button>
  <div class="saved-list"><h3>Saved prints</h3><p data-list role="status">Your list is empty.</p></div></div>
</section>

Integration and checks

Theme integration

3 steps
  1. Duplicate the theme

    Integrate and preview the example in a duplicate theme.

  2. Connect the section settings

    Replace demo copy and artwork with section settings and scope the styles to that section.

  3. Connect the editor lifecycle

    Use the lifecycle script for editor reloads, pausing offscreen and cleanup on unload.

Placement

  • Beside a product or artwork.

Interaction

  • One Boolean drives the toggle and the list.

Touch and accessibility

  • Use the button with touch or a keyboard. The list announces the change.

Setup notes for this effect

This demo keeps state for the current preview. Connect a stable product or variant ID to your wishlist and handle write errors.

Before launch

Integration files
sections/ww-effect.liquid
{% comment %} WESWOO example shell. Add ONE effect's HTML inside .fx-slot. {% endcomment %}
{{ 'ww-effects.css' | asset_url | stylesheet_tag }}
<section id="ww-effect-{{ section.id }}" data-ww-effect-section>
  <h2>{{ section.settings.heading | escape }}</h2>
  <button type="button" data-effect-toggle aria-pressed="false">Play / pause effect</button>
  <div class="fx-slot">
    {% comment %} Insert the chosen .fx element here; read copy/images from section settings. {% endcomment %}
  </div>
</section>
<script type="module" src="{{ 'ww-effect-section.js' | asset_url }}"></script>
{% schema %}
{"name":"WESWOO effect","settings":[{"type":"text","id":"heading","label":"Heading","default":"Our story"}],"presets":[{"name":"WESWOO effect"}]}
{% endschema %}

Insert the selected effect into the shell. Each module loads one effect; multiple types need an explicit registry and Section mapping.

Sources and further reading

Scope and licensing

Examples are authored by WESWOO and credited open-source contributors; retain their applicable licenses. Project screens and photographs remain with their rights holders. Downloads use placeholders; replace them with imagery you may use.

Shopify/dawn · modal / slider base classesShopify/dawn · product media galleryShopify/dawn · license

References checked · 2026-11-24