Skip to main content

Selly / Treedify (TDF) Badges — Integration Guide

What it does: Promotional badges/labels on product images (e.g., "20% OFF", "NEW").

Components to modify:

  • storefront_search — selly anchor image in .marqo-product-card-image, notifySellyWidgets()
  • admin_server — settings: integrations.selly = true

How it works: TDF's addLabel scans a[href*="/products/"] links, finds the tallest <img>, and prepends a .tdf_label div. Our fix: transparent anchor <img class="marqo-selly-anchor"> sized to match the image container so TDF targets a stable element.

Verification: Badges should appear on product images after enabling.