update
This commit is contained in:
BIN
templates_user/.DS_Store
vendored
Normal file
BIN
templates_user/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
templates_user/components/.DS_Store
vendored
Normal file
BIN
templates_user/components/.DS_Store
vendored
Normal file
Binary file not shown.
@@ -195,25 +195,4 @@
|
||||
<? unset( $_SESSION['google-adwords-purchase'] );?>
|
||||
<? endif;?>
|
||||
});
|
||||
</script>
|
||||
<? if ( \S::get_session('google-analytics-purchase') ):?>
|
||||
<script>
|
||||
TRUST_MATE_USER_NAME = '<?= $this -> order['client_name'];?>';
|
||||
TRUST_MATE_USER_EMAIL = '<?= $this -> order['client_email'];?>';
|
||||
TRUST_MATE_ORDER_NUMBER = '<?= $this -> order['id'];?>';
|
||||
TRUST_MATE_COMPANY_UUID = '34eb36ba-c715-4cdc-8707-22376c9f14c7';
|
||||
TRUSTMATE_PRODUCTS = [
|
||||
<? foreach ( $this -> order['products'] as $product ):?>
|
||||
{
|
||||
'local_id': <?= (int)$product['product_id'];?>,
|
||||
'name': '<?= $product['name'];?>',
|
||||
'product_url': 'https://pomysloweprezenty.pl<?= \front\factory\ShopProduct::product_url( new \shop\Product( $product['product_id'] ) );?>',
|
||||
"image_url": "https://pomysloweprezenty.pl<?= \front\factory\ShopProduct::product_image( $product['product_id'] );?>"
|
||||
}<? if ( $product != end( $this -> order['products'] ) ) echo ',';?>
|
||||
<? endforeach;?>
|
||||
];
|
||||
</script>
|
||||
<script type="text/javascript" src='https://trustmate.io/api/invitation/script'></script>
|
||||
<script type="text/javascript">var getCookie=function(e){for(var t=e+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var s=r[n];" "==s.charAt(0);)s=s.substring(1);if(0==s.indexOf(t))return s.substring(t.length,s.length)}return""},getUserId=function(){var e=getCookie("twd_u");return""===e?"":e},userId=getUserId(),xhr=new XMLHttpRequest;xhr.open("GET","https://trafficscanner.pl/ws2/index.php/?action=noscript&dt=77&cid=3655&user_id="+userId),xhr.send(); </script><script type="text/javascript" src="https://trafficscanner.pl/ws2/script/setSaleCookie.js"></script>
|
||||
<? unset( $_SESSION['google-analytics-purchase'] );?>
|
||||
<? endif;?>
|
||||
</script>
|
||||
Reference in New Issue
Block a user