B3 logoB3Docs

B3 Swatches Article

Share & Variation URLs

Generate variation-specific URLs, add the copy button beside add to cart, and style its messaging and icon.

This part of the plugin turns a selected variation into a shareable URL. It can auto-generate those links, let you store manual URLs per variation, and add a copy button beside add to cart when the current variation has a valid URL.

Browse docs
Discovery

Variation URLs

Variation URLs keep a product state shareable and easier to return to.

Variation URLs append the selected attributes to the product URL so the same configuration can be reopened later. The plugin can auto-generate those links from the variation data, or you can save a manual URL per variation in the product editor.

Product share button

Show the copy button only when the variation URL layer is ready.

The share button is a copy-to-clipboard button rendered beside add to cart. It only appears when variation URLs are enabled and the current selection matches a valid variation URL.

Share button styling

Set the button style, size, icon, tooltip, and success message.

The built-in share button is about copying the exact variation URL, not rendering a row of social-network buttons. You can still style it extensively so it fits the page.

Style and size
Choose `primary`, `secondary`, or `minimal`, then pick the button size that fits beside add to cart.
Icon and text
Pick one of the built-in icons or provide a custom icon URL. Optional text can sit beside the icon except in minimal mode.
Tooltip and success state
Control the hover tooltip text, the success message, and the success color shown after copying.