Created
August 7, 2015 20:43
-
-
Save cleytonmessias/51130d89f2090efd4d2e to your computer and use it in GitHub Desktop.
Script para Ciashop
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
<div id="_trustvox_widget"></div> |
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 _trustvox = _trustvox || []; | |
_trustvox.push(['_storeId', 'ID DA LOJA VAI AQUI']); | |
_trustvox.push(['_productId', "@Model.Product.Id"]); | |
_trustvox.push(['_productName',"@Model.Product.Name"]); | |
_trustvox.push(['_productPhotos', ["@Model.Product.Image"]]); | |
(function() { | |
var tv = document.createElement('script'); tv.type = 'text/javascript'; tv.async = true; | |
tv.charset = "UTF-8"; | |
tv.src = '//trustvox-production-assets.s3.amazonaws.com/assets/trustvox.1.min.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tv, s); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment