spree_gtm 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/spree/gtm/_google_tag_manager_head.html.erb +1 -1
- data/spree_gtm.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a7404e716898491d4a4ce04510ad1ebdcfe446d
|
4
|
+
data.tar.gz: 718c5445376067a13645e70db56359322a81dd7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e0cc62fee75f5b83bd9189966bd6a370505d881d073917013b64bdbf8327d136f863d5873375a5d7141add1775e55108d29e9ee57fad9548810e6f88556fea2
|
7
|
+
data.tar.gz: b0555398884097fc2ed7057c6e1766a4943291d0acad2d93378e5442764d7f38f7baab9de441175ec4995e2dde1e236bf7c96ae2084e61fa0e27c8d89d19df1e
|
@@ -16,7 +16,7 @@
|
|
16
16
|
dataLayer.push({'transactionEmail': '<%= @order.email %>'});
|
17
17
|
<% end %>
|
18
18
|
|
19
|
-
<% if current_page?('/cart') and
|
19
|
+
<% if current_page?('/cart') and @order.number.nill? %>
|
20
20
|
dataLayer.push({'cart': [
|
21
21
|
<%=raw @order.line_items.map { |line_item| "{ 'sku': '#{h line_item.variant.sku}',
|
22
22
|
'name': '#{h line_item.variant.product.name}',
|
data/spree_gtm.gemspec
CHANGED