Turbo Portland theme (Store 2.0) and Product page Affirm Code Help

I recently updated a copy of Turbo Portland from a very old version (v3.0.4) to the most recent version (v.7.0.0) that is Store 2.0 compliant.

While configuring the theme + reinserting Affirm code (for the product page specifically), I found that I cannot properly place the following previous snippet of code in the updated product-template.liquid. It seems it needs to be coded differently to work or coded in elsewhere which is my dilemma.

PS: I do not have the v7.0.0 theme live at the moment.


Product page wise, here’s what I’m trying to carry over (Affirm element right below product pricing)

Here’s a screen grab of the older product-template.liquid (v3.0.4) where the code snippet lives (highlighted):

And a grab of the updated product-template.liquid (v.7.0.0):

Any help would be greatly appreciated - thanks!

1 Like

Just an update & resolution to this.

I wound up using the Affirm ‘pay over time messaging’ app which doesn’t require any custom coding. Now the ‘starting at …’ message appears under our product pricing. Crisis averted :+1:

hey, did it automatically appear. or did you have to add anything through the affirm pay overtime messaging app? I have the app and nothing appears on my product pages.