Skip to main content

Syntax

Description

The wishlist metafield contains an array of product variant GIDs (Global IDs) that the customer has added to their wishlist. This is automatically updated when customers add or remove items from their wishlist through the loyalty program.
The wishlist metafield contains a JSON array of Shopify product variant GIDs that must be parsed using Liquid’s parse_json filter before accessing.

Properties

Type: JSON Array Namespace: lantern

Return Values

Array Structure

The wishlist is an array of Shopify product variant Global IDs:
  • [index] (string): Shopify product variant GID (for example gid://shopify/ProductVariant/123456789)

Examples

Basic Wishlist Display

Check if Product is in Wishlist