This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--START: items--> | |
<div class="row"> | |
<div class="invoice-id">[id]</div> | |
<div class="invoice-items">[itemname]</div> | |
<div class="invoice-price">[unitprice]</div> | |
<div class="invoice-qty">[numitems]</div> | |
<div class="invoice-total">[subtotal]</div> | |
<div class="clear"></div> | |
</div> | |
<!--END: items--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$SKUArr = new Array();$PriceArr = new Array();$QtyArr = new Array();$Cnt=0; | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$SKUArr = new Array();$PriceArr = new Array();$QtyArr = new Array(); | |
</script> | |
{% for line_item in line_items %} | |
<script> | |
$SKUArr['{{ forloop.index }}']="{{ line_item.sku }}"; | |
$PriceArr['{{ forloop.index }}']="{{ line_item.line_price | money_without_currency }}"; | |
$QtyArr['{{ forloop.index }}']="{{ line_item.quantity }}"; | |
</script> | |
{% endfor %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_tvpa.push(['track', 'products', [ | |
{ sku:"bb8100", price:"14.99", quantity: 4 }, | |
{ sku:"8525PDA", price:"59.99", quantity: 1 }, | |
{ sku:"MM-A900M", price:"5.00", quantity: 3 } | |
] | |
]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _tvpa = _tvpa || []; | |
_tvpa.push(['config', { | |
tr: "XXX", // Data source ID | |
li: "YYY" // Account ID | |
}]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var tvpa = document.createElement('script'); tvpa.type = 'text/javascript'; tvpa.async = true; | |
tvpa.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://a.tvpage.com/tvpa.min.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tvpa, s); | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
var orders = amznAnalytics.getList("multiOrderPurchase"); | |
var products = []; | |
if(orders && orders.length > 0) { | |
for(var n = 0; n < orders.length ; n++) { | |
for(var i = 0; i < orders[n].itemList.length; i++) { | |
products.push({ "sku":orders[n].itemList[i].SKU,"price":orders[n].itemList[i].unitPrice,"quantity":orders[n].itemList[i].quantity}); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(function() { | |
var tvpa = document.createElement('script'); tvpa.type = 'text/javascript'; tvpa.async = true; | |
tvpa.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://a.tvpage.com/tvpa.min.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tvpa, s); | |
})(); | |
var _tvpa = _tvpa || []; | |
_tvpa.push(['config', { | |
tr: "XXX", // Data source ID |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_tvpa.push(['config', { | |
debug: true, | |
tr: "XXX", // Data source ID | |
li: "YYY" // Account ID | |
}]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_tvpa.push(['config', { | |
tr: "XXX", // Data source ID | |
li: "YYY" // Account ID | |
}]); |