Show promotional messaging even without enhanced analytics

Created on 15 May 2025, about 2 months ago

Right now, promotional messaging does not appear on PDPs unless enhanced analytics is turned on. I assume this is because adding the JavaScript library to the page is not being triggered by the promotional messaging setting alone. However, they should work independently.

(And of course, if enhanced analytics is enabled, we should not duplicate attaching the library if promotional messaging is enabled as well.)

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rszrama

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @rszrama
  • πŸ‡ΊπŸ‡¦Ukraine marchuk.vitaliy Rivne, UA

    @rszrama
    It seems like the price of the product variation should be higher than $50, and in that case, it works well. And I can't find any information about this in the documentation. Only the following information was found in the Affirm modal:

  • πŸ‡ΊπŸ‡ΈUnited States rszrama

    The issue for me is apparent even on a test product worth CA $199. (I'm basically just taking a clean Kickstart installation and converting the white armchair to Canadian.) The modal link never appears beneath the Add to Cart unless I have the enhanced analytics option turned on, because the code at present, as far as I understand it, just assumes the library is loaded without checking to see if it is.

    On a quick test just now, note that I did have to clear all caches after toggling enhanced analytics off in order for the modal link to go away.

Production build 0.71.5 2024