Additional Script, I can use this Shopify's example, but

Additional Script: I can use this Shopify’s example and works:

<script>
    // DEBUG {{ checkout.shipping_method.title }} has been used
    {% if checkout.shipping_method.title == 'Pick-up at the store' %}
      Shopify.Checkout.OrderStatus.addContentBox(
        `<p>Okay, we're ready for you to collect your products from 17 Mapple Crescent, Toronto. Our store is open 9:00 to 5:00 every day.</p>`
      )
    {% endif %}
  </script>

But, how can I build an “IF” to Payment Method?

  • This doen’t works:
<script>
      {% if checkout.payment_gateway.title == 'Paypal' %}
      Shopify.Checkout.OrderStatus.addContentBox(
      `<p> ANY TEXT .</p>`
      )
{% endif %}
  </script>

Regards

Thanks in advance

Hi Joe, did you get any further with this?

I am trying the same for paypal.