Shop Pay Installments update messes up the cart drawer

Shop Pay Installments update messes up the cart drawer

mateomoreno
Shopify Partner
7 0 1

Hello!

There was an update with Shop Pay Installments, and a code was automatically inserted onto my product page.
After that code was inserted onto my product page, the cart drawer notification stopped working.
I duplicated my theme to test removing the code, and the cart drawer functions properly. I am just not sure if by removing that code, the shop pay installments stops working.
Is it okay If I just remove the code? or what are my options to have both, Shop Pay installments and the cart drawer to function properly? 
Here is the code that was inserted automatically onto my product page:

{% capture form_id %}AddToCartForm-{{ section_id }}{% endcapture %}
{% form 'product', product, id: form_id, class: 'product-single__form' %}
{% comment %}
Automatically inserted by Shop Pay Installments theme updater
{% endcomment %}
{% unless settings.disable_autogenerated_payment_terms %}
{{ form | payment_terms }}
{% endunless %}
{% endform %}

 

Thank you very much for the help!

Replies 0 (0)