Commmerce Docs

What it is

Uses the Web Share API where supported; falls back to a per-channel menu (X, Facebook, WhatsApp, copy-link).

When to use

  • Sharing PDPs on social
  • Wishlist email-a-friend

Attributes

AttributeTypeDefaultDescription
data-channelsstringautoComma list of channels to expose.
idstringUnique element identifier.
classstringCustom CSS class list.
hiddenbooleanfalseHide the element without removing it from the DOM.

Examples

Default

Native share or fallback menu.

<mmm-pdp-share></mmm-pdp-share>