Sha256: 103fd30e5205d99b72f2333b13f5262b91a299d3172973c1ccc70a19270426ff

Contents?: true

Size: 434 Bytes

Versions: 2

Compression:

Stored size: 434 Bytes

Contents

<% if products.none? { |product| ::SolidusAfterpay::PaymentMethod.active.first.excluded_product?(product) } %>
  <% content_for :head do %>
    <script
      src="https://js.afterpay.com/afterpay-1.x.js"
      data-analytics-enabled
      async
      <% if max %>
      data-min="<%= min %>"
      data-max="<%= max %>"
      <% end %>
    ></script>
  <% end %>

  <%= content_tag("afterpay-placement", nil, data: data) %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_afterpay-0.3.0 app/views/spree/shared/_afterpay_messaging.html.erb
solidus_afterpay-0.2.0 app/views/spree/shared/_afterpay_messaging.html.erb