Skip to content

Instantly share code, notes, and snippets.

@cleytonmessias
Created August 18, 2015 12:55
Show Gist options
  • Save cleytonmessias/48e7fd0610dbcee35484 to your computer and use it in GitHub Desktop.
Save cleytonmessias/48e7fd0610dbcee35484 to your computer and use it in GitHub Desktop.
Ciashop - Homologação
<div id="_trustvox_widget"></div>
<script type="text/javascript">
var _trustvox = _trustvox || [];
_trustvox.push(['_storeId', '37']);
_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-staging-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