diff --git a/cron-turstmate.php b/cron-turstmate.php
index c61d9a7..c45abe8 100644
--- a/cron-turstmate.php
+++ b/cron-turstmate.php
@@ -64,24 +64,22 @@ if ( is_array( $order_id ) and $order_id['id'] )
TrustMate Cron
-
-
+ TRUST_MATE_USER_NAME = '= $order['client_name'];?>';
+ TRUST_MATE_USER_EMAIL = '= $order['client_email'];?>';
+ TRUST_MATE_ORDER_NUMBER = '= $order['id'];?>';
+ TRUST_MATE_COMPANY_UUID = '= $config['trustmate']['uid'];?>';
+ TRUSTMATE_PRODUCTS = [
+ foreach ( $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( $order['products'] ) ) echo ',';?>
+ endforeach;?>
+ ];
+
TrustMate Cron