I’m looking to add AFFIRM message to my products. like shown down in the example below.
I downloaded the affirm pay message app but no luck. had help with a great person here to try and help me code the message but it’s very inconsistent. I would have to refresh the page to get it to load up. instead of it loading up how SHOP PAY installments would.
Any help with getting affirm to show up like the example I provided down below.
To add an AFFIRM message to your products, you can use custom code to add the AFFIRM messaging to your product page template. Here’s an example of how to do this:
Add the AFFIRM messaging code to your product page template. You can do this by adding the following code to your product.liquid file, below the product price:
This code loads the AFFIRM messaging script, sets the AFFIRM configuration options, and displays the AFFIRM messaging on the product page with the amount, payment options, and “As low as” messaging.
Replace YOUR_PUBLIC_API_KEY with your actual public API key from AFFIRM. You can find your API key in your AFFIRM account dashboard.
Save the product.liquid file and test the product page to see if the AFFIRM messaging appears.