• Resolved Brendan

    (@brendymullan)


    Hi one of the types of on-site messaging has a parameter for setting the price so they can display a message such as “Make 4 payments of £25”

    data-purchase-amount=""

    How do I have this dynamically set? I can manually change it to something like the below which then shows the message based on the price being £100 but is it possible to have the product price dynamically populated?

    data-purchase-amount="10000"

    Full code example from Klarna:

    <!-- Placement v2 -->
    <klarna-placement
      data-key="credit-promotion-badge"
      data-locale="en-GB"
      data-purchase-amount=""
    ></klarna-placement>
    <!-- end Placement -->

    Thanks in advance!

    • This topic was modified 4 years, 10 months ago by Brendan.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Defining price for On-Site Messaging’ is closed to new replies.