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
_trustvox.push(['_productId', '<%= @product.id %>']); | |
_trustvox.push(['_productName', '<%= @product.name %>']); | |
_trustvox.push(['_productPhotos', <%= product_images_urls(@product).html_safe %>]); |
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', '1']); | |
_trustvox.push(['_productId', "$iluria.product.id"]); | |
_trustvox.push(['_productName',"$iluria.product.title"]); | |
_trustvox.push(['_productPhotos', ["http:$iluria.product.main.picture.850xN"]]); | |
(function() { | |
var tv = document.createElement('script'); tv.type = 'text/javascript'; tv.async = true; |
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
private function getPastOrders() | |
{ | |
$accepted_status = $this->getAccaptedStatuses(); | |
$query = $this->db->query('SELECT `order_id`, `firstname`, `lastname`, `email`, `date_added`, `currency_code`, `total` | |
FROM `'. DB_PREFIX. 'order` | |
WHERE `order_status_id` IN ('.join(',', $accepted_status).') AND | |
`date_added` < NOW() AND | |
DATE_SUB(NOW(), INTERVAL '.self::PAST_ORDERS_DAYS_BACK.' day) < `date_added` | |
LIMIT 0,'.self::PAST_ORDERS_LIMIT.''); | |
$result = $query->rows; |
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
$json = json_encode(array( | |
//'order_id' => $order->getId(), | |
'order_id' => 42, | |
'delivery_date' => $shipment_created, | |
//'delivery_date' => '2014-03-18 13:39', | |
'client' => $cliente, | |
'items' => $productArray | |
)); |
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', '75']); | |
_trustvox.push(['_productId', $(".product_code").find("span").text()]); | |
_trustvox.push(['_productName',$(".titulo_produto").find("h1").text()]); | |
_trustvox.push(['_productPhotos', [$(".product_main_img").find("img").attr("src")]]); | |
(function() { |
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', '1']); | |
_trustvox.push(['_productId', $("#IdProduto").val()]); | |
_trustvox.push(['_productName',$("#zoomProduto").attr("title")]); | |
_trustvox.push(['_productPhotos', [$("#zoomProduto").attr("href")]); | |
(function() { |
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', '34']); | |
_trustvox.push(['_productId', "XXXX"]); | |
_trustvox.push(['_productName',"XXXX"]); | |
_trustvox.push(['_productPhotos', ["XXXX", "XXXX"]]); | |
(function() { | |
var tv = document.createElement('script'); tv.type = 'text/javascript'; tv.async = true; |
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', '121']); | |
_trustvox.push(['_productId', "XXXX"]); | |
_trustvox.push(['_productName',"XXXX"]); | |
_trustvox.push(['_productPhotos', ["XXXX", "XXXX"]]); | |
(function() { | |
var tv = document.createElement('script'); tv.type = 'text/javascript'; tv.async = true; |
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
CONNECTED(00000003) | |
140735137555296:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177: | |
--- | |
no peer certificate available | |
--- | |
No client certificate CA names sent | |
--- | |
SSL handshake has read 0 bytes and written 517 bytes | |
--- | |
New, (NONE), Cipher is (NONE) |