This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,24 @@
<?php
/**
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,22 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<script>
{literal}
(function(a,b,c,d,e,f,g){a['SkroutzAnalyticsObject']=e;a[e]= a[e] || function(){
(a[e].q = a[e].q || []).push(arguments);};f=b.createElement(c);f.async=true;
f.src=d;g=b.getElementsByTagName(c)[0];g.parentNode.insertBefore(f,g);
})(window,document,'script','https://analytics.skroutz.gr/analytics.min.js','skroutz_analytics');
skroutz_analytics('session', 'connect', '{/literal}{$skroutzId|escape:'htmlall':'UTF-8'}{literal}');
{/literal}
</script>

View File

@@ -0,0 +1,34 @@
{*
* 2010-2023 Bl Modules.
*
* If you wish to customize this module for your needs,
* please contact the authors first for more information.
*
* It's not allowed selling, reselling or other ways to share
* this file or any other module files without author permission.
*
* @author Bl Modules
* @copyright 2010-2023 Bl Modules
* @license
*}
<script>
{literal}
skroutz_analytics('ecommerce', 'addOrder', JSON.stringify({
order_id: '{/literal}{$order->id|escape:'htmlall':'UTF-8'}{literal}',
revenue: '{/literal}{$order->total_products_wt|escape:'htmlall':'UTF-8' + $order->total_shipping_tax_incl|escape:'htmlall':'UTF-8'}{literal}',
shipping: '{/literal}{$order->total_shipping_tax_incl|escape:'htmlall':'UTF-8'}{literal}',
tax: '{/literal}{$taxamt = $order->total_paid_tax_incl|escape:'htmlall':'UTF-8' - $order->total_paid_tax_excl|escape:'htmlall':'UTF-8'}{$taxamt|escape:'htmlall':'UTF-8'}{literal}'
}));
{/literal}
{foreach from=$order_products item=product}
{literal}
skroutz_analytics('ecommerce', 'addItem', JSON.stringify({
order_id: '{/literal}{$order->id|escape:'htmlall':'UTF-8'}{literal}',
product_id: '{/literal}{$product.id_product|escape:'htmlall':'UTF-8'}{$product.product_attribute_id|escape:'htmlall':'UTF-8'}{literal}',
name: '{/literal}{$product.product_name|escape:'htmlall':'UTF-8'}{literal}',
price: '{/literal}{$product.product_price_wt|escape:'htmlall':'UTF-8'}{literal}',
quantity:'{/literal}{$product.product_quantity|escape:'htmlall':'UTF-8'}{literal}'
}));
{/literal}
{/foreach}
</script>