Last active
August 29, 2015 14:06
-
-
Save cleytonmessias/5b83b4a5ad085f117e3f to your computer and use it in GitHub Desktop.
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"> | |
$(document).ready(function() { | |
window._trustvox = []; | |
_trustvox.push(['_storeId', '309']); | |
_trustvox.push(['_productId', $('#___rc-p-id').val()]); | |
_trustvox.push(['_productName',$('.fn.productName').text()]); | |
_trustvox.push(['_productPhotos', [$('#image-main').attr('src')]]); | |
(function() { | |
var tv = document.createElement('script'); tv.type = 'text/javascript'; tv.async = true; | |
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> |
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment