How to setup product page banner for Shop pay installments

We have activated Shop Pay on our store(https://nanohearingaids.com) and I was following this tutorial for adding the product page banner for Shop pay installments. I had to place the code snippet code, {{ form | payment_terms }}, in the product-template.liquid file. But it does not work at all.

The main issue is we don't have the code snippet, {{ form | payment_terms }}, in our theme files anywhere.

Please help me. Thanks in advance!

I was able to resolve it myself by removing the whole opening <form> tag and replace it with the Liquid below:

 

{% form 'product', product %}

 

Also, replacing the form ending tag with the Liquid below:

 

{% endform %}