Discount Ninja
  • Discount Ninja Developer Hub
    • Storefront API
      • Promotion Engine
        • Enable
        • JavaScript API
          • Functions
          • Events
          • Objects
        • Error Messages
      • Widgets
        • Guiding principles
          • Accessibility
          • Localization
          • Integration
          • Style
        • Announcement Bar
        • Notification
        • Offer Rules Popup
        • Product Banner
        • Promotion Summary
        • Promotion Code Field
        • Promotional Badge
    • Integration
    • Theme edits
      • App blocks
        • Product Page Banner
        • Promo Code Field
        • Promotion Summary
      • Code edits
        • Product Detail Page (PDP)
          • Price
          • Banner
          • Badge
        • Product List Page (PLP) and Collections
          • Attributes
          • Price
            • Searchanise Search & Filter
            • Globo Smart Product Filter & Search (aka SPF)
            • AI Search & Product Filter (Ultimate Search)
            • Boost AI Search & Filter (aka PFS)
          • Badge
          • Pagination
          • Quick View
        • Cart
          • Root
          • Cart item
          • Promo Code Field
          • Promotion Summary
          • Subtotal
        • Gift With Purchase
Powered by GitBook
On this page
  • Attributes
  • Hide sale badges of the app

Was this helpful?

  1. Discount Ninja Developer Hub
  2. Theme edits
  3. Code edits
  4. Product List Page (PLP) and Collections
  5. Price

Globo Smart Product Filter & Search (aka SPF)

PreviousSearchanise Search & FilterNextAI Search & Product Filter (Ultimate Search)

Last updated 8 months ago

Was this helpful?

Attributes

  • Find the globo.filter.search.liquid file

  • Apply the

    • IMPORTANT: multiply prices times 100 using the liquid code | times: 100

    • The multiplication be applied on all price attributes:

      • data-la-dn-product-price

      • data-la-dn-product-compare-at-price (2 times)

      • data-la-dn-product-price-min

    • Example:

      data-la-dn-product-price="{{ product.first_available_variant.price | times: 100 }}"

      Apply this to all prices in the data tags.

  • Find the globo.filter.product.liquid

  • Apply the collection data attributes to the div with class spf-product-card

    • IMPORTANT: multiply prices times 100 (see above)

  • Add the to the div with class spf-product-card__image-wrapper

Hide sale badges of the app

  • Add to the CSS of the app:

.limoniapps-discountninja-hidethirdpartybadges .spf-product__label-sale { display: none; }
collection data attributes
collection badge