Merge pull request #55 from rohit053/v1.3.1

V1.3.1 released: Stats Modules Added + added travis
This commit is contained in:
Webkul
2018-11-01 10:18:48 +05:30
committed by GitHub
429 changed files with 2516 additions and 9498 deletions

View File

@@ -14,6 +14,16 @@ dist: trusty
php:
- 5.6
- 7.2
before_script:
- sudo cp -f tests/travis-ci-apache-vhost /etc/apache2/sites-available/default
- sudo cp -Rf . /var/www/qloapps.unit.test
- sudo chmod 777 -R /var/www/
- sudo service apache2 restart
script:
- cd /var/www/qloapps.unit.test/tests && bash getcomposer.sh && php composer.phar install && php vendor/bin/phpunit -c .
after_script:
- sudo cat /var/log/apache2/error.log
@@ -23,4 +33,4 @@ after_failure:
- cat /etc/apache2/sites-available/000-default.conf
- sudo cat /var/log/php-fpm.log
- sudo ls -l /var/log/apache2
- sudo cat /var/log/apache2/other_vhosts_access.log
- sudo cat /var/log/apache2/other_vhosts_access.log

View File

@@ -1,3 +1,23 @@
####################################
# V1.3.1
####################################
## Added Features:
[+] BO : All already compatible Stats module are installed to the qloapps now.
## Improved/changed features:
[+] BO : Hotel name is shown in the Room Type Booking list and Room Type booking status tables.
[+] FO : Hotel name is shown in the Customer shopping list, Order confirmation and order details booking lists.
## Bug/Issues Resolved:
[-] CO : Resolved :: When set up the new install, the upload_max_filesize value in the php.ini file less than 16M, but the error message is displaying for memory_limit.
####################################
# V1.3.0
####################################
@@ -13,6 +33,7 @@
[+] CO : System compatibility check for Qloapps installation improved .
####################################
# V1.2.0
####################################
@@ -321,4 +342,4 @@
[-] MO : wktestimonialblock : Fixed while adding the image in valid format on configuration page then showing error page.
[-] MO : wkpaypaladaptive : Fixed paypal is not working because paypal api has been changed.
[-] MO : wkpaypaladaptive : Fixed fopen issues fixed, done by CURL.
[-] MO : wkpaypaladaptive : Fixed payment negative value bug fixed.
[-] MO : wkpaypaladaptive : Fixed payment negative value bug fixed.

View File

@@ -33,6 +33,11 @@
<td class="text-center">
{$data.room_type}
</td>
<td class="text-center">
<a href="{$link->getAdminLink('AdminAddHotel')}&amp;id={$data['id_hotel']}&amp;updatehtl_branch_info" target="_blank">
<span>{$data['hotel_name']}</span>
</a>
</td>
<td class="text-center">
<span class="booking_duration_show">{$data.date_from|date_format:"%d-%m-%Y"}&nbsp-&nbsp {$data.date_to|date_format:"%d-%m-%Y"}</span>
@@ -63,7 +68,7 @@
<span class="product_original_price {if $data.feature_price_diff > 0}room_type_old_price{/if}" {if $data.feature_price_diff < 0} style="display:none;"{/if}>
{convertPriceWithCurrency price=$data.unit_price_without_reduction_tax_incl currency=$currency->id}
</span>&nbsp;
<span class="room_type_current_price" {if !$data.feature_price_diff}style="display:none;"{/if}>
<span class="room_type_current_price" {if !$data.feature_price_diff}style="display:none;"{/if}>
{convertPriceWithCurrency price=$data.paid_unit_price_tax_incl currency=$currency->id}
</span>
</td>
@@ -91,7 +96,7 @@
</div>
{/if}
</td>
<td class="text-center stage_name">
<p>
{if isset($data['stage_name']) && $data['stage_name']}
@@ -173,6 +178,6 @@
.room_type_old_price {
text-decoration: line-through;
color:#979797;
font-size:12px;
font-size:12px;
}
</style>

View File

@@ -280,6 +280,7 @@
<table class="table table-responsive">
<tr>
<th>{l s='Room No.'}</th>
<th>{l s='Hotel Name'}</th>
<th>{l s='Date From'}</th>
<th>{l s='Date To'}</th>
<th>{l s='Order Status'}</th>
@@ -290,6 +291,11 @@
<td>
{$data['room_num']}
</td>
<td>
<a href="{$link->getAdminLink('AdminAddHotel')}&amp;id={$data['id_hotel']}&amp;updatehtl_branch_info" target="_blank">
<span>{$data['hotel_name']}</span>
</a>
</td>
<td>
{$data['date_from']|date_format:"%d-%m-%Y"}
</td>
@@ -301,7 +307,7 @@
<select style="display:inline;width:40%;" name="booking_order_status">
{foreach from=$hotel_order_status item=state}
<option value="{$state['id']|intval}" {if isset($data.id_status) && $state.id == $data.id_status} selected="selected" disabled="disabled"{/if}>{$state.status|escape}</option>
{/foreach}
{/foreach}
</select>
<input type="hidden" name="date_from" value="{$data['date_from']}" />
<input type="hidden" name="date_to" value="{$data['date_to']}" />
@@ -319,7 +325,7 @@
<td>{l s='No data found.'}</td>
</tr>
{/if}
</table>
</table>
</div>
</div>
</div>
@@ -969,6 +975,7 @@
<th class="text-center"><span class="title_box">{l s='Room No.'}</span></th>
<th class="text-center"><span class="title_box">{l s='Room Image'}</th>
<th class="text-center"><span class="title_box">{l s='Room Type'}</span></th>
<th class="text-center"><span class="title_box">{l s='Hotel Name'}</span></th>
<th class="text-center"><span class="title_box">{l s='Duration'}</span></th>
<th class="text-center"><span class="title_box">{l s='Unit Price'}</span></th>
<th class="text-center"><span class="title_box">{l s='Total Price'}</span></th>
@@ -1096,7 +1103,7 @@
{/if}
</div>
</div> <!-- by webkul to hide unnessary things in the page--> *}
<!-- For Due amount submit panel (by webkul) -->
{if isset($order_adv_dtl)}
<div class="col-xs-6">
@@ -1134,17 +1141,17 @@
</div>
</td>
</tr>
{/if}
{/if}
</table>
</div>
{if ($order_adv_dtl['total_order_amount'] - $order_adv_dtl['total_paid_amount'])|round:2 > 0}
<button type="submit" class="btn btn-primary" name="payDueAmount" style="margin-top:10px;">{l s="Submit Amount"}</button>
{/if}
{/if}
</form>
</div>
</div>
{/if}
<div class="col-xs-6 pull-right">
<div class="panel panel-vouchers" style="{if !sizeof($discounts)}display:none;{/if}">
{if (sizeof($discounts) || $can_edit)}
@@ -1281,9 +1288,9 @@
</td>
</tr>
{/if}
{assign var=order_total_price value=$order->total_paid_tax_incl}
<tr id="total_order">
<td class="text-right"><strong>{l s='Total'}</strong></td>
<td class="amount text-right nowrap">
@@ -1643,7 +1650,7 @@
$(".realloc_avail_rooms_container").empty().text(no_rm_avail_txt);
}
});
/*For reallocating rooms in the modal*/
$("#realloc_allocated_rooms").on('click', function(e){
$(".error_text").text('');
@@ -1663,7 +1670,7 @@
return false;
}
});
/*END*/
$(".textarea-autosize").autosize();

View File

@@ -1892,11 +1892,20 @@ class AdminOrdersControllerCore extends AdminController
$htl_booking_data_order_id = $obj_bookin_detail->getBookingDataByOrderId(Tools::getValue('id_order'));
if ($htl_booking_data_order_id) {
$obj_htl_rm_info = new HotelRoomInformation();
$objHtlBranchInfo = new HotelBranchInformation();
foreach ($htl_booking_data_order_id as $key => $value) {
$htl_booking_data_order_id[$key]['room_num'] = $obj_htl_rm_info->getHotelRoomInfoById($value['id_room']);
$htl_booking_data_order_id[$key]['order_status'] = $value['id_status'];
$htl_booking_data_order_id[$key]['date_from'] = $value['date_from'];
$htl_booking_data_order_id[$key]['date_to'] = $value['date_to'];
//enter hotel name
$hotelInfo = $objHtlBranchInfo->hotelBranchesInfo(
Configuration::get('PS_LANG_DEFAULT'),
2,
0,
$value['id_hotel']
);
$htl_booking_data_order_id[$key]['hotel_name'] = $hotelInfo['hotel_name'];
}
}
$htl_order_status = HotelOrderStatus::getAllHotelOrderStatus();
@@ -2897,7 +2906,7 @@ class AdminOrdersControllerCore extends AdminController
/*By webkul to edit the Hotel Cart and Hotel Order tables when editing the room for the order detail page*/
$update_htl_tables = $obj_booking_detail->UpdateHotelCartHotelOrderOnOrderEdit($id_order, $id_room, $old_date_from, $old_date_to, $new_date_from, $new_date_to);
//Update Order Info in Customer Advance payment table
$obj_customer_adv = new HotelCustomerAdvancedPayment();
$obj_customer_adv->updateAdvancePaymentInfoOnOrderEdit($id_order);

View File

@@ -109,6 +109,7 @@ class OrderConfirmationControllerCore extends FrontController
$cartOrders = Order::getAllOrdersByCartId($order->id_cart);
if ($cartOrders) {
$objHtlBranchInfo = new HotelBranchInformation();
$obj_cart_bk_data = new HotelCartBookingData();
$obj_htl_bk_dtl = new HotelBookingDetail();
$obj_rm_type = new HotelRoomType();
@@ -222,6 +223,15 @@ class OrderConfirmationControllerCore extends FrontController
$feature_price_diff = (float)($cart_htl_data[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_incl'] - $cart_htl_data[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl']);
$cart_htl_data[$type_key]['date_diff'][$date_join]['feature_price_diff'] = $feature_price_diff;
//enter hotel name
$hotelInfo = $objHtlBranchInfo->hotelBranchesInfo(
Configuration::get('PS_LANG_DEFAULT'),
2,
0,
$data_v['id_hotel']
);
$cart_htl_data[$type_key]['hotel_name'] = $hotelInfo['hotel_name'];
}
}
}

View File

@@ -323,7 +323,7 @@ class OrderDetailControllerCore extends FrontController
//by webkul to show order details properly on order history page
if (Module::isInstalled('hotelreservationsystem')) {
require_once _PS_MODULE_DIR_.'hotelreservationsystem/define.php';
$objHtlBranchInfo = new HotelBranchInformation();
$obj_cart_bk_data = new HotelCartBookingData();
$obj_htl_bk_dtl = new HotelBookingDetail();
$obj_rm_type = new HotelRoomType();
@@ -427,6 +427,15 @@ class OrderDetailControllerCore extends FrontController
$feature_price_diff = (float)($cart_htl_data[$type_key]['date_diff'][$date_join]['product_price_without_reduction_tax_incl'] - $cart_htl_data[$type_key]['date_diff'][$date_join]['paid_unit_price_tax_incl']);
$cart_htl_data[$type_key]['date_diff'][$date_join]['feature_price_diff'] = $feature_price_diff;
//enter hotel name
$hotelInfo = $objHtlBranchInfo->hotelBranchesInfo(
Configuration::get('PS_LANG_DEFAULT'),
2,
0,
$data_v['id_hotel']
);
$cart_htl_data[$type_key]['hotel_name'] = $hotelInfo['hotel_name'];
}
}
$redirect_link_terms = $this->context->link->getCMSLink(new CMS(3, $this->context->language->id), null, $this->context->language->id);

View File

@@ -475,7 +475,7 @@ class OrderOpcControllerCore extends ParentOrderController
if (count($avai_rm['rm_data'][0]['data']['available']) < count($cl_val['id_rms'])) {
$cartChanged = true;
foreach ($cl_val['id_rms'] as $cr_key => $cr_val) {
$isRmBooked = $obj_htl_bk_dtl->chechRoomBooked($cr_val, $cl_val['date_from'], $cl_val['date_to']);
if ($isRmBooked) {
@@ -502,7 +502,7 @@ class OrderOpcControllerCore extends ParentOrderController
if ($cart_htl_data) {
$this->context->smarty->assign('cart_htl_data', $cart_htl_data);
}
// For Advanced Payment
$advance_payment_active = Configuration::get('WK_ALLOW_ADVANCED_PAYMENT');
if ($advance_payment_active) {

View File

@@ -95,9 +95,9 @@ class InstallControllerHttpSystem extends InstallControllerHttp
'curl' => $this->l('Curl extension is not loaded'),
'soap' => $this->l('SOAP extension is not loaded'),
'simplexml' => $this->l('SimpleXml extension is not loaded'),
'upload_max_filesize' => $this->l('In the PHP configuration set memory_limit to minimum 128M'),
'memory_limit' => $this->l('In the PHP configuration set memory_limit to minimum 128M'),
'max_execution_time' => $this->l('In the PHP configuration set max_execution_time to minimum 500'),
'memory_limit' => $this->l('In the PHP configuration set upload_max_filesize to minimum 16M'),
'upload_max_filesize' => $this->l('In the PHP configuration set upload_max_filesize to minimum 16M'),
)
),
array(
@@ -160,4 +160,4 @@ class InstallControllerHttpSystem extends InstallControllerHttp
$this->displayTemplate('system');
}
}
}

View File

@@ -9,8 +9,8 @@
<field name="id_shop"/>
</fields>
<entities>
<connections id="connections_1" id_guest="guest_1" id_page="1" ip_address="2130706433" id_shop_group="1" id_shop="1">
<http_referer>http://www.prestashop.com</http_referer>
<connections id="connections_1" id_guest="guest_1" id_page="1" ip_address="10424105181" id_shop_group="1" id_shop="1">
<http_referer>http://www.qloapps.com</http_referer>
</connections>
</entities>
</entity_connections>

View File

@@ -25,4 +25,4 @@
*/
define('_PS_INSTALL_VERSION_', '1.6.1.1');
define('_QLO_INSTALL_VERSION_', '1.3.0');
define('_QLO_INSTALL_VERSION_', '1.3.1');

View File

@@ -683,6 +683,20 @@ class InstallModelInstall extends InstallAbstractModel
'dashtrends',
'dashgoals',
'dashproducts',
'graphnvd3',
'statsdata',
'statsvisits',
'statsorigin',
'statslive',
'sekeywords',
'statssales',
'statspersonalinfos',
'pagesnotfound',
'statsnewsletter',
'statsregistrations',
'statsbestvouchers',
'statsbestcustomers',
'statsequipment',
'wkpaypaladaptive',
'wkfooterlangcurrencyblock',
'wkfooterexploreblock',

View File

@@ -1,7 +1,7 @@
<?php $this->displayTemplate('header') ?>
<?php if (Tools::getMemoryLimit() < Tools::getOctets('32M')): ?>
<div class="warnBlock"><?php echo $this->l('QloApps requires at least 32 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.'); ?></div>
<div class="warnBlock"><?php echo $this->l('QloApps requires at least 128 MB of memory to run: please check the memory_limit directive in your php.ini file or contact your host provider about this.'); ?></div>
<?php endif; ?>
<?php if ($this->can_upgrade): ?>

View File

@@ -1,37 +0,0 @@
# NVD3 Charts
## About
## Contributing
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
### Requirements
Contributors **must** follow the following rules:
* **Make your Pull Request on the "dev" branch**, NOT the "master" branch.
* Do not update the module's version number.
* Follow [the coding standards][1].
### Process in details
Contributors wishing to edit a module's files should follow the following process:
1. Create your GitHub account, if you do not have one already.
2. Fork the graphnvd3 project to your GitHub account.
3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation.
4. Create a branch in your local clone of the module for your changes.
5. Change the files in your branch. Be sure to follow [the coding standards][1]!
6. Push your changed branch to your fork in your GitHub account.
7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3].
8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open-source project! Congratulations!
[1]: http://doc.prestashop.com/display/PS16/Coding+Standards
[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message
[3]: https://help.github.com/articles/using-pull-requests

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>graphnvd3</name>
<displayName><![CDATA[NVD3 Charts]]></displayName>
<version><![CDATA[1.4]]></version>
<description><![CDATA[]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[administration]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,77 +19,80 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_VERSION_'))
exit;
if (!defined('_PS_VERSION_')) {
exit;
}
class GraphNvD3 extends ModuleGraphEngine
{
private $_width;
private $_height;
private $_values;
private $_legend;
private $_titles;
private $_width;
private $_height;
private $_values;
private $_legend;
private $_titles;
function __construct($type = null)
public function __construct($type = null)
{
if ($type !== null)
return parent::__construct($type);
if ($type !== null) {
return parent::__construct($type);
}
$this->name = 'graphnvd3';
$this->tab = 'administration';
$this->version = '1.4';
$this->author = 'PrestaShop';
$this->need_instance = 0;
$this->name = 'graphnvd3';
$this->tab = 'administration';
$this->version = '1.5.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;
Module::__construct();
Module::__construct();
$this->displayName = $this->l('NVD3 Charts');
$this->description = '';
$this->displayName = $this->l('NVD3 Charts');
$this->description = '';
}
function install()
{
return (parent::install() && $this->registerHook('GraphEngine') && $this->registerHook('actionAdminControllerSetMedia'));
}
public function install()
{
return (parent::install() && $this->registerHook('GraphEngine') && $this->registerHook('actionAdminControllerSetMedia'));
}
public function hookActionAdminControllerSetMedia($params)
{
$admin_webpath = str_ireplace(_PS_ROOT_DIR_, '', _PS_ADMIN_DIR_);
$admin_webpath = preg_replace('/^'.preg_quote(DIRECTORY_SEPARATOR, '/').'/', '', $admin_webpath);
public function hookActionAdminControllerSetMedia($params)
{
$admin_webpath = str_ireplace(_PS_ROOT_DIR_, '', _PS_ADMIN_DIR_);
$admin_webpath = preg_replace('/^'.preg_quote(DIRECTORY_SEPARATOR, '/').'/', '', $admin_webpath);
$this->context->controller->addJS(array(
_PS_JS_DIR_.'vendor/d3.v3.min.js',
__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->context->employee->bo_theme.'/js/vendor/nv.d3.min.js',
));
$this->context->controller->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->context->employee->bo_theme.'/css/vendor/nv.d3.css');
}
$this->context->controller->addJS(array(
_PS_JS_DIR_.'vendor/d3.v3.min.js',
__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->context->employee->bo_theme.'/js/vendor/nv.d3.min.js',
));
$this->context->controller->addCSS(__PS_BASE_URI__.$admin_webpath.'/themes/'.$this->context->employee->bo_theme.'/css/vendor/nv.d3.css');
}
public static function hookGraphEngine($params, $drawer)
{
static $divid = 1;
public static function hookGraphEngine($params, $drawer)
{
static $divid = 1;
if (strpos($params['width'], '%') !== false)
$params['width'] = (int)preg_replace('/\s*%\s*/', '', $params['width']).'%';
else
$params['width'] = (int)$params['width'].'px';
if (strpos($params['width'], '%') !== false) {
$params['width'] = (int)preg_replace('/\s*%\s*/', '', $params['width']).'%';
} else {
$params['width'] = (int)$params['width'].'px';
}
$nvd3_func = array(
'line' => '
$nvd3_func = array(
'line' => '
nv.models.lineChart()',
'pie' => '
'pie' => '
nv.models.pieChart()
.x(function(d) { return d.label; })
.y(function(d) { return d.value; })
.showLabels(true)
.showLegend(false)'
);
);
return '
return '
<div id="nvd3_chart_'.$divid.'" class="chart with-transitions">
<svg style="width:'.$params['width'].';height:'.(int)$params['height'].'px"></svg>
</div>
@@ -121,60 +124,58 @@ class GraphNvD3 extends ModuleGraphEngine
}
});
</script>';
}
}
public function createValues($values)
{
$this->_values = $values;
}
public function createValues($values)
{
$this->_values = $values;
}
public function setSize($width, $height)
{
$this->_width = $width;
$this->_height = $height;
}
public function setSize($width, $height)
{
$this->_width = $width;
$this->_height = $height;
}
public function setLegend($legend)
{
$this->_legend = $legend;
}
public function setLegend($legend)
{
$this->_legend = $legend;
}
public function setTitles($titles)
{
$this->_titles = $titles;
}
public function setTitles($titles)
{
$this->_titles = $titles;
}
public function draw()
{
$array = array(
'axisLabels' => array('xAxis' => $this->_titles['x'], 'yAxis' => $this->_titles['y']),
'data' => array()
);
public function draw()
{
$array = array(
'axisLabels' => array('xAxis' => $this->_titles['x'], 'yAxis' => $this->_titles['y']),
'data' => array()
);
if (!isset($this->_values[0]) || !is_array($this->_values[0]))
{
$nvd3_values = array();
if (Tools::getValue('type') == 'pie')
{
foreach ($this->_values as $x => $y)
$nvd3_values[] = array('label' => $this->_legend[$x], 'value' => $y);
$array['data'] = $nvd3_values;
}
else
{
foreach ($this->_values as $x => $y)
$nvd3_values[] = array('x' => $x, 'y' => $y);
$array['data'][] = array('values' => $nvd3_values, 'key' => $this->_titles['main']);
}
}
else
foreach ($this->_values as $layer => $gross_values)
{
$nvd3_values = array();
foreach ($gross_values as $x => $y)
$nvd3_values[] = array('x' => $x, 'y' => $y);
$array['data'][] = array('values' => $nvd3_values, 'key' => $this->_titles['main'][$layer]);
}
die(preg_replace('/"([0-9]+)"/', '$1', Tools::jsonEncode($array)));
}
if (!isset($this->_values[0]) || !is_array($this->_values[0])) {
$nvd3_values = array();
if (Tools::getValue('type') == 'pie') {
foreach ($this->_values as $x => $y) {
$nvd3_values[] = array('label' => $this->_legend[$x], 'value' => $y);
}
$array['data'] = $nvd3_values;
} else {
foreach ($this->_values as $x => $y) {
$nvd3_values[] = array('x' => $x, 'y' => $y);
}
$array['data'][] = array('values' => $nvd3_values, 'key' => $this->_titles['main']);
}
} else {
foreach ($this->_values as $layer => $gross_values) {
$nvd3_values = array();
foreach ($gross_values as $x => $y) {
$nvd3_values[] = array('x' => $x, 'y' => $y);
}
$array['data'][] = array('values' => $nvd3_values, 'key' => $this->_titles['main'][$layer]);
}
}
die(preg_replace('/"([0-9]+)"/', '$1', Tools::jsonEncode($array)));
}
}

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'Diagramas NVD3';
return $_MODULE;

View File

@@ -1,8 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'NVD3 диаграми';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'NVD3 Gráficos';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'Gràfics NVD3';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'NVD3 Charts';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'NVD3 Charts';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'Diagramas NVD3';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'Graphiques NVD3';
return $_MODULE;

View File

@@ -1,8 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'NVD3 Chart';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{graphnvd3}prestashop>graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'NVD3 Tabel';
return $_MODULE;

View File

@@ -1006,6 +1006,7 @@ class HotelBookingDetail extends ObjectModel
$context = Context::getContext();
$order_detail_data = $this->getOrderCurrentDataByOrderId((int) $id_order);
if ($order_detail_data) {
$objHtlBranchInfo = new HotelBranchInformation();
foreach ($order_detail_data as $key => $value) {
$product_image_id = Product::getCover($value['id_product']);
$link_rewrite = ((new Product((int) $value['id_product'], Configuration::get('PS_LANG_DEFAULT')))->link_rewrite[Configuration::get('PS_LANG_DEFAULT')]);
@@ -1036,6 +1037,15 @@ class HotelBookingDetail extends ObjectModel
$order_detail_data[$key]['feature_price_diff'] = $feature_price_diff;
$order_detail_data[$key]['quantity'] = $num_days;
//enter hotel name
$hotelInfo = $objHtlBranchInfo->hotelBranchesInfo(
Configuration::get('PS_LANG_DEFAULT'),
2,
0,
$value['id_hotel']
);
$order_detail_data[$key]['hotel_name'] = $hotelInfo['hotel_name'];
}
}
if ($order_detail_data) {
@@ -1520,4 +1530,4 @@ class HotelBookingDetail extends ObjectModel
{
return Db::getInstance()->getRow('SELECT * FROM `'._DB_PREFIX_.'htl_booking_detail` WHERE `id_order`='.(int) $id_order.' AND `id_product`='.(int) $id_product.' AND `date_from`=\''.$date_from.'\' AND `date_to`= \''.$date_to.'\'');
}
}
}

View File

@@ -639,7 +639,7 @@ class HotelCartBookingData extends ObjectModel
if (Module::isInstalled('hotelreservationsystem')) {
require_once _PS_MODULE_DIR_.'hotelreservationsystem/define.php';
$objHtlBranchInfo = new HotelBranchInformation();
$obj_cart_bk_data = new self();
$obj_htl_bk_dtl = new HotelBookingDetail();
$obj_rm_type = new HotelRoomType();
@@ -718,6 +718,15 @@ class HotelCartBookingData extends ObjectModel
$feature_price_diff = (float)($unitPriceWithoutReduction - $feature_price);
$cart_htl_data[$type_key]['date_diff'][$date_join]['feature_price'] = $feature_price;
$cart_htl_data[$type_key]['date_diff'][$date_join]['feature_price_diff'] = $feature_price_diff;
//enter hotel name
$hotelInfo = $objHtlBranchInfo->hotelBranchesInfo(
$context->language->id,
2,
0,
$data_v['id_hotel']
);
$cart_htl_data[$type_key]['hotel_name'] = $hotelInfo['hotel_name'];
}
foreach ($cart_htl_data[$type_key]['date_diff'] as $key => $value) {
$cart_htl_data[$type_key]['total_num_rooms'] += $value['num_rm'];
@@ -796,4 +805,4 @@ class HotelCartBookingData extends ObjectModel
{
return Db::getInstance()->executeS("SELECT * FROM `"._DB_PREFIX_."htl_cart_booking_data` WHERE `id_cart`=".(int) $id_cart." AND `id_product`=".(int) $id_product);
}
}
}

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>pagesnotfound</name>
<displayName><![CDATA[Pages not found]]></displayName>
<version><![CDATA[1.3.4]]></version>
<description><![CDATA[Adds a tab to the Stats dashboard, showing the pages requested by your visitors that have not been found.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[analytics_stats]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>

View File

@@ -24,34 +24,36 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_VERSION_'))
exit;
if (!defined('_PS_VERSION_')) {
exit;
}
class PagesNotFound extends Module
{
private $html = '';
private $html = '';
public function __construct()
{
$this->name = 'pagesnotfound';
$this->tab = 'analytics_stats';
$this->version = '1.3.4';
$this->author = 'PrestaShop';
$this->need_instance = 0;
public function __construct()
{
$this->name = 'pagesnotfound';
$this->tab = 'analytics_stats';
$this->version = '1.3.4';
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
parent::__construct();
$this->displayName = $this->l('Pages not found');
$this->description = $this->l('Adds a tab to the Stats dashboard, showing the pages requested by your visitors that have not been found.');
}
$this->displayName = $this->l('Pages not found');
$this->description = $this->l('Adds a tab to the Stats dashboard, showing the pages requested by your visitors that have not been found.');
}
public function install()
{
if (!parent::install() || !$this->registerHook('top') || !$this->registerHook('AdminStatsModules'))
return false;
public function install()
{
if (!parent::install() || !$this->registerHook('top') || !$this->registerHook('AdminStatsModules')) {
return false;
}
return Db::getInstance()->execute(
'CREATE TABLE `'._DB_PREFIX_.'pagenotfound` (
return Db::getInstance()->execute(
'CREATE TABLE `'._DB_PREFIX_.'pagenotfound` (
id_pagenotfound INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
id_shop INTEGER UNSIGNED NOT NULL DEFAULT \'1\',
id_shop_group INTEGER UNSIGNED NOT NULL DEFAULT \'1\',
@@ -61,55 +63,54 @@ class PagesNotFound extends Module
PRIMARY KEY(id_pagenotfound),
INDEX (`date_add`)
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;'
);
}
);
}
public function uninstall()
{
return (parent::uninstall() && Db::getInstance()->execute('DROP TABLE `'._DB_PREFIX_.'pagenotfound`'));
}
public function uninstall()
{
return (parent::uninstall() && Db::getInstance()->execute('DROP TABLE `'._DB_PREFIX_.'pagenotfound`'));
}
private function getPages()
{
$sql = 'SELECT http_referer, request_uri, COUNT(*) as nb
private function getPages()
{
$sql = 'SELECT http_referer, request_uri, COUNT(*) as nb
FROM `'._DB_PREFIX_.'pagenotfound`
WHERE date_add BETWEEN '.ModuleGraph::getDateBetween()
.Shop::addSqlRestriction().
'GROUP BY http_referer, request_uri';
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql);
.Shop::addSqlRestriction().
'GROUP BY http_referer, request_uri';
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql);
$pages = array();
foreach ($result as $row)
{
$row['http_referer'] = parse_url($row['http_referer'], PHP_URL_HOST).parse_url($row['http_referer'], PHP_URL_PATH);
if (!isset($row['http_referer']) || empty($row['http_referer']))
$row['http_referer'] = '--';
if (!isset($pages[$row['request_uri']]))
$pages[$row['request_uri']] = array('nb' => 0);
$pages[$row['request_uri']][$row['http_referer']] = $row['nb'];
$pages[$row['request_uri']]['nb'] += $row['nb'];
}
uasort($pages, 'pnfSort');
$pages = array();
foreach ($result as $row) {
$row['http_referer'] = parse_url($row['http_referer'], PHP_URL_HOST).parse_url($row['http_referer'], PHP_URL_PATH);
if (!isset($row['http_referer']) || empty($row['http_referer'])) {
$row['http_referer'] = '--';
}
if (!isset($pages[$row['request_uri']])) {
$pages[$row['request_uri']] = array('nb' => 0);
}
$pages[$row['request_uri']][$row['http_referer']] = $row['nb'];
$pages[$row['request_uri']]['nb'] += $row['nb'];
}
uasort($pages, 'pnfSort');
return $pages;
}
return $pages;
}
public function hookAdminStatsModules()
{
if (Tools::isSubmit('submitTruncatePNF'))
{
Db::getInstance()->execute('TRUNCATE `'._DB_PREFIX_.'pagenotfound`');
$this->html .= '<div class="alert alert-warning"> '.$this->l('The "pages not found" cache has been emptied.').'</div>';
} else if (Tools::isSubmit('submitDeletePNF'))
{
Db::getInstance()->execute(
'DELETE FROM `'._DB_PREFIX_.'pagenotfound`
public function hookAdminStatsModules()
{
if (Tools::isSubmit('submitTruncatePNF')) {
Db::getInstance()->execute('TRUNCATE `'._DB_PREFIX_.'pagenotfound`');
$this->html .= '<div class="alert alert-warning"> '.$this->l('The "pages not found" cache has been emptied.').'</div>';
} elseif (Tools::isSubmit('submitDeletePNF')) {
Db::getInstance()->execute(
'DELETE FROM `'._DB_PREFIX_.'pagenotfound`
WHERE date_add BETWEEN '.ModuleGraph::getDateBetween()
);
$this->html .= '<div class="alert alert-warning"> '.$this->l('The "pages not found" cache has been deleted.').'</div>';
}
);
$this->html .= '<div class="alert alert-warning"> '.$this->l('The "pages not found" cache has been deleted.').'</div>';
}
$this->html .= '
$this->html .= '
<div class="panel-heading">
'.$this->displayName.'
</div>
@@ -117,22 +118,22 @@ class PagesNotFound extends Module
<div class="alert alert-warning">
<h4>'.$this->l('404 errors').'</h4>
<p>'
.$this->l('A 404 error is an HTTP error code which means that the file requested by the user cannot be found. In your case it means that one of your visitors entered a wrong URL in the address bar, or that you or another website has a dead link. When possible, the referrer is shown so you can find the page/site which contains the dead link. If not, it generally means that it is a direct access, so someone may have bookmarked a link which doesn\'t exist anymore.').'
.$this->l('A 404 error is an HTTP error code which means that the file requested by the user cannot be found. In your case it means that one of your visitors entered a wrong URL in the address bar, or that you or another website has a dead link. When possible, the referrer is shown so you can find the page/site which contains the dead link. If not, it generally means that it is a direct access, so someone may have bookmarked a link which doesn\'t exist anymore.').'
</p>
<p>&nbsp;</p>
<h4>'.$this->l('How to catch these errors?').'</h4>
<p>'
.sprintf($this->l('If your webhost supports .htaccess files, you can create one in the root directory of PrestaShop and insert the following line inside: "%s".'), 'ErrorDocument 404 '.__PS_BASE_URI__.'404.php').'<br />'.
sprintf($this->l('A user requesting a page which doesn\'t exist will be redirected to the following page: %s. This module logs access to this page.'), __PS_BASE_URI__.'404.php').'
.sprintf($this->l('If your webhost supports .htaccess files, you can create one in the root directory of Qloapps and insert the following line inside: "%s".'), 'ErrorDocument 404 '.__PS_BASE_URI__.'404.php').'<br />'.
sprintf($this->l('A user requesting a page which doesn\'t exist will be redirected to the following page: %s. This module logs access to this page.'), __PS_BASE_URI__.'404.php').'
</p>
</div>';
if (!file_exists($this->_normalizeDirectory(_PS_ROOT_DIR_).'.htaccess'))
$this->html .= '<div class="alert alert-warning">'.$this->l('You must use a .htaccess file to redirect 404 errors to the "404.php" page.').'</div>';
if (!file_exists($this->_normalizeDirectory(_PS_ROOT_DIR_).'.htaccess')) {
$this->html .= '<div class="alert alert-warning">'.$this->l('You must use a .htaccess file to redirect 404 errors to the "404.php" page.').'</div>';
}
$pages = $this->getPages();
if (count($pages))
{
$this->html .= '
$pages = $this->getPages();
if (count($pages)) {
$this->html .= '
<table class="table">
<thead>
<tr>
@@ -142,23 +143,27 @@ class PagesNotFound extends Module
</tr>
</thead>
<tbody>';
foreach ($pages as $ru => $hrs)
foreach ($hrs as $hr => $counter)
if ($hr != 'nb')
$this->html .= '
foreach ($pages as $ru => $hrs) {
foreach ($hrs as $hr => $counter) {
if ($hr != 'nb') {
$this->html .= '
<tr>
<td><a href="'.$ru.'-admin404">'.wordwrap($ru, 30, '<br />', true).'</a></td>
<td><a href="'.Tools::getProtocol().$hr.'">'.wordwrap($hr, 40, '<br />', true).'</a></td>
<td>'.$counter.'</td>
</tr>';
$this->html .= '
}
}
}
$this->html .= '
</tbody>
</table>';
} else
$this->html .= '<div class="alert alert-warning"> '.$this->l('No "page not found" issue registered for now.').'</div>';
} else {
$this->html .= '<div class="alert alert-warning"> '.$this->l('No "page not found" issue registered for now.').'</div>';
}
if (count($pages))
$this->html .= '
if (count($pages)) {
$this->html .= '
<h4>'.$this->l('Empty database').'</h4>
<form action="'.Tools::htmlEntitiesUtf8($_SERVER['REQUEST_URI']).'" method="post">
<button type="submit" class="btn btn-default" name="submitDeletePNF">
@@ -168,51 +173,52 @@ class PagesNotFound extends Module
<i class="icon-remove"></i> '.$this->l('Empty ALL "pages not found" notices').'
</button>
</form>';
}
return $this->html;
}
return $this->html;
}
public function hookTop($params)
{
if (strstr($_SERVER['REQUEST_URI'], '404.php') && isset($_SERVER['REDIRECT_URL']))
$_SERVER['REQUEST_URI'] = $_SERVER['REDIRECT_URL'];
if (!Validate::isUrl($request_uri = $_SERVER['REQUEST_URI']) || strstr($_SERVER['REQUEST_URI'], '-admin404'))
return;
public function hookTop($params)
{
if (strstr($_SERVER['REQUEST_URI'], '404.php') && isset($_SERVER['REDIRECT_URL'])) {
$_SERVER['REQUEST_URI'] = $_SERVER['REDIRECT_URL'];
}
if (!Validate::isUrl($request_uri = $_SERVER['REQUEST_URI']) || strstr($_SERVER['REQUEST_URI'], '-admin404')) {
return;
}
if (get_class(Context::getContext()->controller) == 'PageNotFoundController')
{
$http_referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
if (empty($http_referer) || Validate::isAbsoluteUrl($http_referer))
{
Db::getInstance()->execute(
'
if (get_class(Context::getContext()->controller) == 'PageNotFoundController') {
$http_referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : '';
if (empty($http_referer) || Validate::isAbsoluteUrl($http_referer)) {
Db::getInstance()->execute(
'
INSERT INTO `'._DB_PREFIX_.'pagenotfound` (`request_uri`, `http_referer`, `date_add`, `id_shop`, `id_shop_group`)
VALUES (\''.pSQL($request_uri).'\', \''.pSQL($http_referer).'\', NOW(), '.(int)$this->context->shop->id.', '.(int)$this->context->shop->id_shop_group.')
'
);
}
}
}
);
}
}
}
private function _normalizeDirectory($directory)
{
$last = $directory[strlen($directory) - 1];
private function _normalizeDirectory($directory)
{
$last = $directory[strlen($directory) - 1];
if (in_array($last, array('/', '\\')))
{
$directory[strlen($directory) - 1] = DIRECTORY_SEPARATOR;
return $directory;
}
if (in_array($last, array('/', '\\'))) {
$directory[strlen($directory) - 1] = DIRECTORY_SEPARATOR;
return $directory;
}
$directory .= DIRECTORY_SEPARATOR;
return $directory;
}
$directory .= DIRECTORY_SEPARATOR;
return $directory;
}
}
function pnfSort($a, $b)
{
if ($a['nb'] == $b['nb'])
return 0;
if ($a['nb'] == $b['nb']) {
return 0;
}
return ($a['nb'] > $b['nb']) ? -1 : 1;
return ($a['nb'] > $b['nb']) ? -1 : 1;
}

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>sekeywords</name>
<displayName><![CDATA[Search engine keywords]]></displayName>
<version><![CDATA[1.2.4]]></version>
<description><![CDATA[Displays which keywords have led visitors to your website.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[analytics_stats]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>

View File

@@ -24,47 +24,49 @@
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_VERSION_'))
exit;
if (!defined('_PS_VERSION_')) {
exit;
}
class SEKeywords extends ModuleGraph
{
private $html = '';
private $query = '';
private $query2 = '';
private $html = '';
private $query = '';
private $query2 = '';
public function __construct()
{
$this->name = 'sekeywords';
$this->tab = 'analytics_stats';
$this->version = '1.2.4';
$this->author = 'PrestaShop';
$this->need_instance = 0;
public function __construct()
{
$this->name = 'sekeywords';
$this->tab = 'analytics_stats';
$this->version = '1.2.4';
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
parent::__construct();
$this->query = 'SELECT `keyword`, COUNT(TRIM(`keyword`)) as occurences
$this->query = 'SELECT `keyword`, COUNT(TRIM(`keyword`)) as occurences
FROM `'._DB_PREFIX_.'sekeyword`
WHERE '.(Configuration::get('SEK_FILTER_KW') == '' ? '1' : '`keyword` REGEXP \''.pSQL(Configuration::get('SEK_FILTER_KW')).'\'')
.Shop::addSqlRestriction().
' AND `date_add` BETWEEN ';
.Shop::addSqlRestriction().
' AND `date_add` BETWEEN ';
$this->query2 = 'GROUP BY TRIM(`keyword`)
$this->query2 = 'GROUP BY TRIM(`keyword`)
HAVING occurences > '.(int)Configuration::get('SEK_MIN_OCCURENCES').'
ORDER BY occurences DESC';
$this->displayName = $this->l('Search engine keywords');
$this->description = $this->l('Displays which keywords have led visitors to your website.');
}
$this->displayName = $this->l('Search engine keywords');
$this->description = $this->l('Displays which keywords have led visitors to your website.');
}
public function install()
{
if (!parent::install() || !$this->registerHook('top') || !$this->registerHook('AdminStatsModules'))
return false;
Configuration::updateValue('SEK_MIN_OCCURENCES', 1);
Configuration::updateValue('SEK_FILTER_KW', '');
public function install()
{
if (!parent::install() || !$this->registerHook('top') || !$this->registerHook('AdminStatsModules')) {
return false;
}
Configuration::updateValue('SEK_MIN_OCCURENCES', 1);
Configuration::updateValue('SEK_FILTER_KW', '');
return Db::getInstance()->execute('
return Db::getInstance()->execute('
CREATE TABLE `'._DB_PREFIX_.'sekeyword` (
id_sekeyword INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
id_shop INTEGER UNSIGNED NOT NULL DEFAULT \'1\',
@@ -73,61 +75,64 @@ class SEKeywords extends ModuleGraph
date_add DATETIME NOT NULL,
PRIMARY KEY(id_sekeyword)
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8');
}
}
public function uninstall()
{
if (!parent::uninstall())
return false;
public function uninstall()
{
if (!parent::uninstall()) {
return false;
}
return (Db::getInstance()->execute('DROP TABLE `'._DB_PREFIX_.'sekeyword`'));
}
return (Db::getInstance()->execute('DROP TABLE `'._DB_PREFIX_.'sekeyword`'));
}
public function hookTop($params)
{
if (!isset($_SERVER['HTTP_REFERER']) || strpos($_SERVER['HTTP_REFERER'], Tools::getHttpHost(false, false) == 0))
return;
public function hookTop($params)
{
if (!isset($_SERVER['HTTP_REFERER']) || strpos($_SERVER['HTTP_REFERER'], Tools::getHttpHost(false, false) == 0)) {
return;
}
if ($keywords = $this->getKeywords($_SERVER['HTTP_REFERER']))
Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'sekeyword` (`keyword`, `date_add`, `id_shop`, `id_shop_group`)
if ($keywords = $this->getKeywords($_SERVER['HTTP_REFERER'])) {
Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'sekeyword` (`keyword`, `date_add`, `id_shop`, `id_shop_group`)
VALUES (\''.pSQL(Tools::strtolower(trim($keywords))).'\', NOW(), '.(int)$this->context->shop->id.', '.(int)$this->context->shop->id_shop_group.')');
}
}
}
public function hookAdminStatsModules()
{
if (Tools::isSubmit('submitSEK'))
{
Configuration::updateValue('SEK_FILTER_KW', trim(Tools::getValue('SEK_FILTER_KW')));
Configuration::updateValue('SEK_MIN_OCCURENCES', (int)Tools::getValue('SEK_MIN_OCCURENCES'));
Tools::redirectAdmin('index.php?tab=AdminStats&token='.Tools::getValue('token').'&module='.$this->name);
}
public function hookAdminStatsModules()
{
if (Tools::isSubmit('submitSEK')) {
Configuration::updateValue('SEK_FILTER_KW', trim(Tools::getValue('SEK_FILTER_KW')));
Configuration::updateValue('SEK_MIN_OCCURENCES', (int)Tools::getValue('SEK_MIN_OCCURENCES'));
Tools::redirectAdmin('index.php?tab=AdminStats&token='.Tools::getValue('token').'&module='.$this->name);
}
if (Tools::getValue('export'))
$this->csvExport(array('type' => 'pie'));
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.ModuleGraph::getDateBetween().$this->query2);
$total = count($result);
$this->html = '
if (Tools::getValue('export')) {
$this->csvExport(array('type' => 'pie'));
}
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.ModuleGraph::getDateBetween().$this->query2);
$total = count($result);
$this->html = '
<div class="panel-heading">'
.$this->displayName.'
.$this->displayName.'
</div>
<h4>'.$this->l('Guide').'</h4>
<div class="alert alert-warning">
<h4>'.$this->l('Identify external search engine keywords').'</h4>
<p>'
.$this->l('This is one of the most common ways of finding a website through a search engine.').'&nbsp;'.
$this->l('Identifying the most popular keywords entered by your new visitors allows you to see the products you should put in front if you want to achieve better visibility in search engines.').'
.$this->l('This is one of the most common ways of finding a website through a search engine.').'&nbsp;'.
$this->l('Identifying the most popular keywords entered by your new visitors allows you to see the room types you should put in front if you want to achieve better visibility in search engines.').'
</p>
<p>&nbsp;</p>
<h4>'.$this->l('How does it work?').'</h4>
<p>'
.$this->l('When a visitor comes to your website, the web server notes the URL of the site he/she comes from. This module then parses the URL, and if it finds a reference to a known search engine, it finds the keywords in it.').'<br>'.
$this->l('This module can recognize all the search engines listed in PrestaShop\'s Stats/Search Engine page -- and you can add more!').'<br>'.
$this->l('IMPORTANT NOTE: in September 2013, Google chose to encrypt its searches queries using SSL. This means all the referer-based tools in the World (including this one) cannot identify Google keywords anymore.').'
.$this->l('When a visitor comes to your website, the web server notes the URL of the site he/she comes from. This module then parses the URL, and if it finds a reference to a known search engine, it finds the keywords in it.').'<br>'.
$this->l('This module can recognize all the search engines listed in Qloapps\'s Stats/Search Engine page -- and you can add more!').'<br>'.
$this->l('IMPORTANT NOTE: in September 2013, Google chose to encrypt its searches queries using SSL. This means all the referer-based tools in the World (including this one) cannot identify Google keywords anymore.').'
</p>
</div>
<p>'.($total == 1 ? sprintf($this->l('%d keyword matches your query.'), $total) : sprintf($this->l('%d keywords match your query.'), $total)).'</p>';
$form = '
$form = '
<form action="'.Tools::htmlentitiesUTF8($_SERVER['REQUEST_URI']).'" method="post" class="form-horizontal">
<div class="row row-margin-bottom">
<label class="control-label col-lg-3">'.$this->l('Filter by keyword').'</label>
@@ -150,9 +155,8 @@ class SEKeywords extends ModuleGraph
</div>
</form>';
if ($result && $total)
{
$table = '
if ($result && $total) {
$table = '
<table class="table">
<thead>
<tr>
@@ -161,80 +165,82 @@ class SEKeywords extends ModuleGraph
</tr>
</thead>
<tbody>';
foreach ($result as $row)
{
$keyword =& $row['keyword'];
$occurences =& $row['occurences'];
$table .= '<tr><td>'.$keyword.'</td><td>'.$occurences.'</td></tr>';
}
$table .= '</tbody></table>';
$this->html .= '<div>'.$this->engine(array('type' => 'pie')).'</div>
foreach ($result as $row) {
$keyword =& $row['keyword'];
$occurences =& $row['occurences'];
$table .= '<tr><td>'.$keyword.'</td><td>'.$occurences.'</td></tr>';
}
$table .= '</tbody></table>';
$this->html .= '<div>'.$this->engine(array('type' => 'pie')).'</div>
<a class="btn btn-default" href="'.Tools::safeOutput($_SERVER['REQUEST_URI']).'&export=1&exportType=language"><<i class="icon-cloud-upload"></i> '.$this->l('CSV Export').'</a>
'.$form.'<br/>'.$table;
}
else
$this->html .= $form.'<p><strong>'.$this->l('No keywords').'</strong></p>';
} else {
$this->html .= $form.'<p><strong>'.$this->l('No keywords').'</strong></p>';
}
return $this->html;
}
return $this->html;
}
public function getKeywords($url)
{
if (!Validate::isAbsoluteUrl($url))
return false;
public function getKeywords($url)
{
if (!Validate::isAbsoluteUrl($url)) {
return false;
}
$parsed_url = parse_url($url);
if (!isset($parsed_url['query']) && isset($parsed_url['fragment']))
$parsed_url['query'] = $parsed_url['fragment'];
$parsed_url = parse_url($url);
if (!isset($parsed_url['query']) && isset($parsed_url['fragment'])) {
$parsed_url['query'] = $parsed_url['fragment'];
}
if (!isset($parsed_url['query']))
return false;
if (!isset($parsed_url['query'])) {
return false;
}
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT `server`, `getvar` FROM `'._DB_PREFIX_.'search_engine`');
foreach ($result as $row)
{
$host =& $row['server'];
$varname =& $row['getvar'];
if (strstr($parsed_url['host'], $host))
{
$k_array = array();
preg_match('/[^a-zA-Z&]?'.$varname.'=.*\&'.'/U', $parsed_url['query'], $k_array);
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT `server`, `getvar` FROM `'._DB_PREFIX_.'search_engine`');
foreach ($result as $row) {
$host =& $row['server'];
$varname =& $row['getvar'];
if (strstr($parsed_url['host'], $host)) {
$k_array = array();
preg_match('/[^a-zA-Z&]?'.$varname.'=.*\&'.'/U', $parsed_url['query'], $k_array);
if (!isset($k_array[0]) || empty($k_array[0]))
preg_match('/[^a-zA-Z&]?'.$varname.'=.*$'.'/', $parsed_url['query'], $k_array);
if (!isset($k_array[0]) || empty($k_array[0])) {
preg_match('/[^a-zA-Z&]?'.$varname.'=.*$'.'/', $parsed_url['query'], $k_array);
}
if (!isset($k_array[0]) || empty($k_array[0]))
return false;
if (!isset($k_array[0]) || empty($k_array[0])) {
return false;
}
if ($k_array[0][0] == '&' && Tools::strlen($k_array[0]) == 1)
return false;
if ($k_array[0][0] == '&' && Tools::strlen($k_array[0]) == 1) {
return false;
}
return urldecode(str_replace('+', ' ', ltrim(Tools::substr(rtrim($k_array[0], '&'), Tools::strlen($varname) + 1), '=')));
}
}
return urldecode(str_replace('+', ' ', ltrim(Tools::substr(rtrim($k_array[0], '&'), Tools::strlen($varname) + 1), '=')));
}
}
return false;
}
return false;
}
protected function getData($layers)
{
$this->_titles['main'] = $this->l('Top 10 keywords');
$total_result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.$this->getDate().$this->query2);
$total = 0;
$total2 = 0;
foreach ($total_result as $total_row)
$total += $total_row['occurences'];
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.$this->getDate().$this->query2.' LIMIT 9');
foreach ($result as $row)
{
$this->_legend[] = $row['keyword'];
$this->_values[] = $row['occurences'];
$total2 += $row['occurences'];
}
if ($total >= $total2)
{
$this->_legend[] = $this->l('Others');
$this->_values[] = $total - $total2;
}
}
protected function getData($layers)
{
$this->_titles['main'] = $this->l('Top 10 keywords');
$total_result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.$this->getDate().$this->query2);
$total = 0;
$total2 = 0;
foreach ($total_result as $total_row) {
$total += $total_row['occurences'];
}
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query.$this->getDate().$this->query2.' LIMIT 9');
foreach ($result as $row) {
$this->_legend[] = $row['keyword'];
$this->_values[] = $row['occurences'];
$total2 += $row['occurences'];
}
if ($total >= $total2) {
$this->_legend[] = $this->l('Others');
$this->_values[] = $total - $total2;
}
}
}

View File

@@ -1,37 +0,0 @@
# Best categories
## About
Adds a list of the best categories to the Stats dashboard.
## Contributing
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
### Requirements
Contributors **must** follow the following rules:
* **Make your Pull Request on the "dev" branch**, NOT the "master" branch.
* Do not update the module's version number.
* Follow [the coding standards][1].
### Process in details
Contributors wishing to edit a module's files should follow the following process:
1. Create your GitHub account, if you do not have one already.
2. Fork the statsbestcategories project to your GitHub account.
3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation.
4. Create a branch in your local clone of the module for your changes.
5. Change the files in your branch. Be sure to follow [the coding standards][1]!
6. Push your changed branch to your fork in your GitHub account.
7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3].
8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open-source project! Congratulations!
[1]: http://doc.prestashop.com/display/PS16/Coding+Standards
[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message
[3]: https://help.github.com/articles/using-pull-requests

View File

@@ -2,11 +2,11 @@
<module>
<name>statsbestcategories</name>
<displayName><![CDATA[Best categories]]></displayName>
<version><![CDATA[1.4.1]]></version>
<version><![CDATA[1.5.1]]></version>
<description><![CDATA[Adds a list of the best categories to the Stats dashboard.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[analytics_stats]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>
</module>

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
@@ -41,7 +41,7 @@ class StatsBestCategories extends ModuleGrid
{
$this->name = 'statsbestcategories';
$this->tab = 'analytics_stats';
$this->version = '1.4.1';
$this->version = '1.5.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;
@@ -71,6 +71,12 @@ class StatsBestCategories extends ModuleGrid
'dataIndex' => 'totalPriceSold',
'align' => 'right'
),
array(
'id' => 'totalWholeSalePriceSold',
'header' => $this->l('Total Margin'),
'dataIndex' => 'totalWholeSalePriceSold',
'align' => 'center'
),
array(
'id' => 'totalPageViewed',
'header' => $this->l('Total Viewed'),
@@ -81,7 +87,7 @@ class StatsBestCategories extends ModuleGrid
$this->displayName = $this->l('Best categories');
$this->description = $this->l('Adds a list of the best categories to the Stats dashboard.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.7.0.99');
}
public function install()
@@ -91,6 +97,8 @@ class StatsBestCategories extends ModuleGrid
public function hookAdminStatsModules($params)
{
$onlyChildren = (int)Tools::getValue('onlyChildren');
$engine_params = array(
'id' => 'id_category',
'title' => $this->displayName,
@@ -98,7 +106,10 @@ class StatsBestCategories extends ModuleGrid
'defaultSortColumn' => $this->default_sort_column,
'defaultSortDirection' => $this->default_sort_direction,
'emptyMessage' => $this->empty_message,
'pagingMessage' => $this->paging_message
'pagingMessage' => $this->paging_message,
'customParams' => array(
'onlyChildren' => $onlyChildren,
)
);
if (Tools::getValue('export'))
@@ -109,9 +120,29 @@ class StatsBestCategories extends ModuleGrid
<i class="icon-sitemap"></i> '.$this->displayName.'
</div>
'.$this->engine($engine_params).'
<a class="btn btn-default export-csv" href="'.Tools::safeOutput($_SERVER['REQUEST_URI'].'&export=1').'">
<i class="icon-cloud-upload"></i> '.$this->l('CSV Export').'
</a>';
<div class="row form-horizontal">
<div class="col-md-3">
<a class="btn btn-default export-csv" href="'.Tools::safeOutput($_SERVER['REQUEST_URI'].'&export=1').'">
<i class="icon-cloud-upload"></i> '.$this->l('CSV Export').'
</a>
</div>
<div class="col-md-9">
<div class="checkbox">
<label for="onlyChildren">
<input type="checkbox" name="onlyChildren" id="onlyChildren" value="1" '.($onlyChildren == 1 ? 'checked="checked"' : '').'>
'.$this->l('Display final level categories only (that have no child categories)').'
</label>
</div>
</div>
</div>
<script type="text/javascript">
$(function(){
$("#onlyChildren").change(function(){
$("#calendar_form").append($(this).clone().css("display", "none")).submit();
});
});
</script>';
return $this->html;
}
@@ -122,6 +153,12 @@ class StatsBestCategories extends ModuleGrid
$date_between = $this->getDate();
$id_lang = $this->getLang();
//If column 'order_detail.original_wholesale_price' does not exist, create it
Db::getInstance(_PS_USE_SQL_SLAVE_)->query('SHOW COLUMNS FROM `'._DB_PREFIX_.'order_detail` LIKE "original_wholesale_price"');
if (Db::getInstance()->NumRows() == 0) {
Db::getInstance()->execute('ALTER TABLE `'._DB_PREFIX_.'order_detail` ADD `original_wholesale_price` DECIMAL( 20, 6 ) NOT NULL DEFAULT "0.000000"');
}
// If a shop is selected, get all children categories for the shop
$categories = array();
if (Shop::getContext() != Shop::CONTEXT_ALL)
@@ -153,46 +190,113 @@ class StatsBestCategories extends ModuleGrid
}
}
$onlyChildren = '';
if ((int)Tools::getValue('onlyChildren') == 1) {
$onlyChildren = 'AND NOT EXISTS (SELECT NULL FROM '._DB_PREFIX_.'category WHERE id_parent = ca.id_category)';
}
// Get best categories
$this->query = '
SELECT SQL_CALC_FOUND_ROWS ca.`id_category`, CONCAT(parent.name, \' > \', calang.`name`) as name,
IFNULL(SUM(t.`totalQuantitySold`), 0) AS totalQuantitySold,
ROUND(IFNULL(SUM(t.`totalPriceSold`), 0), 2) AS totalPriceSold,
(
SELECT IFNULL(SUM(pv.`counter`), 0)
FROM `'._DB_PREFIX_.'page` p
LEFT JOIN `'._DB_PREFIX_.'page_viewed` pv ON p.`id_page` = pv.`id_page`
LEFT JOIN `'._DB_PREFIX_.'date_range` dr ON pv.`id_date_range` = dr.`id_date_range`
LEFT JOIN `'._DB_PREFIX_.'product` pr ON CAST(p.`id_object` AS UNSIGNED INTEGER) = pr.`id_product`
LEFT JOIN `'._DB_PREFIX_.'category_product` capr2 ON capr2.`id_product` = pr.`id_product`
WHERE capr.`id_category` = capr2.`id_category`
AND p.`id_page_type` = 1
AND dr.`time_start` BETWEEN '.$date_between.'
AND dr.`time_end` BETWEEN '.$date_between.'
) AS totalPageViewed
FROM `'._DB_PREFIX_.'category` ca
LEFT JOIN `'._DB_PREFIX_.'category_lang` calang ON (ca.`id_category` = calang.`id_category` AND calang.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('calang').')
LEFT JOIN `'._DB_PREFIX_.'category_lang` parent ON (ca.`id_parent` = parent.`id_category` AND parent.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('parent').')
LEFT JOIN `'._DB_PREFIX_.'category_product` capr ON ca.`id_category` = capr.`id_category`
LEFT JOIN (
SELECT pr.`id_product`, t.`totalQuantitySold`, t.`totalPriceSold`
FROM `'._DB_PREFIX_.'product` pr
if (version_compare(_PS_VERSION_, '1.6.1.1', '>=')) {
$this->query = '
SELECT SQL_CALC_FOUND_ROWS ca.`id_category`, CONCAT(parent.name, \' > \', calang.`name`) as name,
IFNULL(SUM(t.`totalQuantitySold`), 0) AS totalQuantitySold,
ROUND(IFNULL(SUM(t.`totalPriceSold`), 0), 2) AS totalPriceSold,
ROUND(IFNULL(SUM(t.`totalWholeSalePriceSold`), 0), 2) AS totalWholeSalePriceSold,
(
SELECT IFNULL(SUM(pv.`counter`), 0)
FROM `'._DB_PREFIX_.'page` p
LEFT JOIN `'._DB_PREFIX_.'page_viewed` pv ON p.`id_page` = pv.`id_page`
LEFT JOIN `'._DB_PREFIX_.'date_range` dr ON pv.`id_date_range` = dr.`id_date_range`
LEFT JOIN `'._DB_PREFIX_.'product` pr ON CAST(p.`id_object` AS UNSIGNED INTEGER) = pr.`id_product`
LEFT JOIN `'._DB_PREFIX_.'category_product` capr2 ON capr2.`id_product` = pr.`id_product`
WHERE capr.`id_category` = capr2.`id_category`
AND p.`id_page_type` = 1
AND dr.`time_start` BETWEEN '.$date_between.'
AND dr.`time_end` BETWEEN '.$date_between.'
) AS totalPageViewed,
(
SELECT COUNT(id_category) FROM '._DB_PREFIX_.'category WHERE `id_parent` = ca.`id_category`
) AS hasChildren
FROM `'._DB_PREFIX_.'category` ca
LEFT JOIN `'._DB_PREFIX_.'category_lang` calang ON (ca.`id_category` = calang.`id_category` AND calang.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('calang').')
LEFT JOIN `'._DB_PREFIX_.'category_lang` parent ON (ca.`id_parent` = parent.`id_category` AND parent.`id_lang` = '.(int)$id_lang.Shop::addSqlRestrictionOnLang('parent').')
LEFT JOIN `'._DB_PREFIX_.'category_product` capr ON ca.`id_category` = capr.`id_category`
LEFT JOIN (
SELECT pr.`id_product`,
SELECT pr.`id_product`, t.`totalQuantitySold`, t.`totalPriceSold`, t.`totalWholeSalePriceSold`
FROM `'._DB_PREFIX_.'product` pr
LEFT JOIN (
SELECT pr.`id_product`, pa.`wholesale_price`,
IFNULL(SUM(cp.`product_quantity`), 0) AS totalQuantitySold,
IFNULL(SUM(cp.`product_price` * cp.`product_quantity`), 0) / o.conversion_rate AS totalPriceSold,
IFNULL(SUM(
CASE
WHEN cp.`original_wholesale_price` <> "0.000000"
THEN cp.`original_wholesale_price` * cp.`product_quantity`
WHEN pa.`wholesale_price` <> "0.000000"
THEN pa.`wholesale_price` * cp.`product_quantity`
WHEN pr.`wholesale_price` <> "0.000000"
THEN pr.`wholesale_price` * cp.`product_quantity`
END
), 0) / o.conversion_rate AS totalWholeSalePriceSold
FROM `'._DB_PREFIX_.'product` pr
LEFT OUTER JOIN `'._DB_PREFIX_.'order_detail` cp ON pr.`id_product` = cp.`product_id`
LEFT JOIN `'._DB_PREFIX_.'orders` o ON o.`id_order` = cp.`id_order`
LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa ON pa.`id_product_attribute` = cp.`product_attribute_id`
'.Shop::addSqlRestriction(Shop::SHARE_ORDER, 'o').'
WHERE o.valid = 1
AND o.invoice_date BETWEEN '.$date_between.'
GROUP BY pr.`id_product`
) t ON t.`id_product` = pr.`id_product`
) t ON t.`id_product` = capr.`id_product`
'.(($categories) ? 'WHERE ca.id_category IN ('.implode(', ', $categories).')' : '').'
'.$onlyChildren.'
GROUP BY ca.`id_category`
HAVING ca.`id_category` != 1';
}else{
$this->query = '
SELECT SQL_CALC_FOUND_ROWS ca.`id_category`, CONCAT(parent.name, \' > \', calang.`name`) as name,
IFNULL(SUM(t.`totalQuantitySold`), 0) AS totalQuantitySold,
ROUND(IFNULL(SUM(t.`totalPriceSold`), 0), 2) AS totalPriceSold,
(
SELECT IFNULL(SUM(pv.`counter`), 0)
FROM `' . _DB_PREFIX_ . 'page` p
LEFT JOIN `' . _DB_PREFIX_ . 'page_viewed` pv ON p.`id_page` = pv.`id_page`
LEFT JOIN `' . _DB_PREFIX_ . 'date_range` dr ON pv.`id_date_range` = dr.`id_date_range`
LEFT JOIN `' . _DB_PREFIX_ . 'product` pr ON CAST(p.`id_object` AS UNSIGNED INTEGER) = pr.`id_product`
LEFT JOIN `' . _DB_PREFIX_ . 'category_product` capr2 ON capr2.`id_product` = pr.`id_product`
WHERE capr.`id_category` = capr2.`id_category`
AND p.`id_page_type` = 1
AND dr.`time_start` BETWEEN ' . $date_between . '
AND dr.`time_end` BETWEEN ' . $date_between . '
) AS totalPageViewed,
(
SELECT COUNT(id_category) FROM '._DB_PREFIX_.'category WHERE `id_parent` = ca.`id_category`
) AS hasChildren
FROM `' . _DB_PREFIX_ . 'category` ca
LEFT JOIN `' . _DB_PREFIX_ . 'category_lang` calang ON (ca.`id_category` = calang.`id_category` AND calang.`id_lang` = ' . (int)$id_lang . Shop::addSqlRestrictionOnLang('calang') . ')
LEFT JOIN `' . _DB_PREFIX_ . 'category_lang` parent ON (ca.`id_parent` = parent.`id_category` AND parent.`id_lang` = ' . (int)$id_lang . Shop::addSqlRestrictionOnLang('parent') . ')
LEFT JOIN `' . _DB_PREFIX_ . 'category_product` capr ON ca.`id_category` = capr.`id_category`
LEFT JOIN (
SELECT pr.`id_product`, t.`totalQuantitySold`, t.`totalPriceSold`
FROM `' . _DB_PREFIX_ . 'product` pr
LEFT JOIN (
SELECT pr.`id_product`,
IFNULL(SUM(cp.`product_quantity`), 0) AS totalQuantitySold,
IFNULL(SUM(cp.`product_price` * cp.`product_quantity`), 0) / o.conversion_rate AS totalPriceSold
FROM `'._DB_PREFIX_.'product` pr
LEFT OUTER JOIN `'._DB_PREFIX_.'order_detail` cp ON pr.`id_product` = cp.`product_id`
LEFT JOIN `'._DB_PREFIX_.'orders` o ON o.`id_order` = cp.`id_order`
'.Shop::addSqlRestriction(Shop::SHARE_ORDER, 'o').'
WHERE o.valid = 1
AND o.invoice_date BETWEEN '.$date_between.'
GROUP BY pr.`id_product`
) t ON t.`id_product` = pr.`id_product`
) t ON t.`id_product` = capr.`id_product`
'.(($categories) ? 'WHERE ca.id_category IN ('.implode(', ', $categories).')' : '').'
GROUP BY ca.`id_category`
HAVING ca.`id_category` != 1';
FROM `' . _DB_PREFIX_ . 'product` pr
LEFT OUTER JOIN `' . _DB_PREFIX_ . 'order_detail` cp ON pr.`id_product` = cp.`product_id`
LEFT JOIN `' . _DB_PREFIX_ . 'orders` o ON o.`id_order` = cp.`id_order`
' . Shop::addSqlRestriction(Shop::SHARE_ORDER, 'o') . '
WHERE o.valid = 1
AND o.invoice_date BETWEEN ' . $date_between . '
GROUP BY pr.`id_product`
) t ON t.`id_product` = pr.`id_product`
) t ON t.`id_product` = capr.`id_product`
' . (($categories) ? 'WHERE ca.id_category IN (' . implode(', ', $categories) . ')' : '') . '
'.$onlyChildren.'
GROUP BY ca.`id_category`
HAVING ca.`id_category` != 1';
}
if (Validate::IsName($this->_sort))
{
@@ -205,8 +309,24 @@ class StatsBestCategories extends ModuleGrid
$this->query .= ' LIMIT '.(int)$this->_start.', '.(int)$this->_limit;
$values = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query);
foreach ($values as &$value)
foreach ($values as &$value){
if ((int)Tools::getIsset('export') == false) {
$parts = explode('>', $value['name']);
$value['name'] = '<i class="icon-folder-open"></i> '.trim($parts[0]).' > ';
if ((int)$value['hasChildren'] == 0) {
$value['name'] .= '&bull; ';
} else {
$value['name'] .= '<i class="icon-folder-open"></i> ';
}
$value['name'] .= trim($parts[1]);
}
if (isset($value['totalWholeSalePriceSold'])) {
$value['totalWholeSalePriceSold'] = Tools::displayPrice($value['totalPriceSold'] - $value['totalWholeSalePriceSold'], $currency);
}
$value['totalPriceSold'] = Tools::displayPrice($value['totalPriceSold'], $currency);
}
$this->_values = $values;
$this->_totalCount = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('SELECT FOUND_ROWS()');

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'El recordset se devolvio vacío';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Cantidad total venta';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Precio total venta';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Margen total';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Total visto:';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Mejores categorías';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Añade un listado de las mejores categorías al panel de control de Estadísticas.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Mostrar solo el nivel final de categorías (si no tiene categorías hijo)';
return $_MODULE;

View File

@@ -1,10 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'عاد سجلات فارغة';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'أفضل الفئات';
return $_MODULE;

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Върнат празен запис';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Показва %1$s от %2$s ';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Име';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Общо продадено количество';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Крайна цена';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Общо марж';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Общо прегледани';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Най-добри категории';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Добавя списък на най-добрите категории към Таблото със статистика.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Експорт на CSV';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Показва само крайните категории (тези, които нямат подкатегории)';
return $_MODULE;

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Limpar o retorno de registros';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Exibindo %1$s de %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Nome';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Quantidade total vendida';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Preço total vendido';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Margem Total';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Totais vistos';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Melhores categorias';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Adiciona uma lista com as melhores categorias para o Painel de Estatísticas';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Mostrar apenas o nível final de categorias (aquelas que não possuem subcategorias)';
return $_MODULE;

View File

@@ -1,17 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'No es troben registres';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrant %1$s a %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Nom';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Quantitat total venuda';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Import total venut';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Total vist';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Millors categories';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Afegeix una llista de les millors categories al tauler d\'estadístiques.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Exportació CSV';
return $_MODULE;

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Leeren Datensatz erhalten';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = '%1$s von %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Name';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Insgesamt verkaufte Menge';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Gesamtpreis';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Handelsspanne';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Summe angesehen';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Beliebteste Kategorien';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Fügt der Statistik-Übersicht eine Liste der beliebtesten Kategorien hinzu';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'CSV-Export';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Nur Endkategorien anzeigen (die keine Unterkategorien haben)';
return $_MODULE;

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Empty recordset returned';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Displaying %1$s of %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Name';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Total Quantity Sold';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Total Price';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Total Margin';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Total Viewed';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Best categories';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Adds a list of the best categories to the Stats dashboard.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'CSV Export';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Display final level categories only (that have no child categories)';
return $_MODULE;

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Se devolvió el conjunto de registros vacío';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Cantidad total venta';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Precio total venta';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Margen total';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Total visto';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Mejores categorías';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Añade un listado de las mejores categorías al panel de control de Estadísticas.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Mostrar solo el nivel final de categorías (si no tiene categorías hijo)';
return $_MODULE;

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Aucun résultat renvoyé';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Affichage de %1$s de %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Nom';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Quantité totale vendue';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Prix total vendu';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Marge';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Total consulté';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Meilleures catégories';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Ajoute une liste des meilleures catégories dans le tableau de bord des statistiques.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Export CSV';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Afficher uniquement les catégories de dernier niveau (qui n\'ont pas de sous-catégories)';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Nome';
return $_MODULE;

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Data tidak ditemukan';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Menampilkan %1$s dari %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Nama';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Jumlah terjual';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Jumlah Harga Sold';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Margin total';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Jumlah Dilihat';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Kategori Terbaik';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Tambahkan daftar kategori terbaik ke statistik dashboard.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Ekspor CSV';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Hanya tampilkan kategori utama (yang tidak memiliki subkategori)';
return $_MODULE;

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

View File

@@ -1,19 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_4f29d8c727dcf2022ac241cb96c31083'] = 'Leeg resultaat';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f5c493141bb4b2508c5938fd9353291a'] = 'Toon %1$s van %2$s';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_49ee3087348e8d44e1feda1917443987'] = 'Naam';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_eebfd2d9a7ea25b9e61e8260bcd4849c'] = 'Totaal hoeveelheid verkocht';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_f3547ae5e06426d87312eff7dda775aa'] = 'Totaal verkocht';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_89a4e26859399438513f41c4971795b5'] = 'Totale marge';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_c13329e42ec01a10f84c0f950274b404'] = 'Totaal bekeken';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_6e3b3150807da868ebd33ad2c991b8d7'] = 'Beste categorieën';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_e5510869e31bbf721ca15dff21cf1169'] = 'Hiermee voegt u een lijst toe van de beste categorieën in de statistieken dashboard.';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_998e4c5c80f27dec552e99dfed34889a'] = 'Export CSV';
$_MODULE['<{statsbestcategories}prestashop>statsbestcategories_26f1502c886f4daa37c43d27bb58d40d'] = 'Geef alleen categorieën weer zonder subcategorieën';
return $_MODULE;

View File

@@ -1,37 +0,0 @@
# Best customers
## About
Adds a list of the best customers to the Stats dashboard.
## Contributing
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
### Requirements
Contributors **must** follow the following rules:
* **Make your Pull Request on the "dev" branch**, NOT the "master" branch.
* Do not update the module's version number.
* Follow [the coding standards][1].
### Process in details
Contributors wishing to edit a module's files should follow the following process:
1. Create your GitHub account, if you do not have one already.
2. Fork the statsbestcustomers project to your GitHub account.
3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation.
4. Create a branch in your local clone of the module for your changes.
5. Change the files in your branch. Be sure to follow [the coding standards][1]!
6. Push your changed branch to your fork in your GitHub account.
7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3].
8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open-source project! Congratulations!
[1]: http://doc.prestashop.com/display/PS16/Coding+Standards
[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message
[3]: https://help.github.com/articles/using-pull-requests

View File

@@ -2,11 +2,11 @@
<module>
<name>statsbestcustomers</name>
<displayName><![CDATA[Best customers]]></displayName>
<version><![CDATA[1.4.1]]></version>
<version><![CDATA[1.5.1]]></version>
<description><![CDATA[Adds a list of the best customers to the Stats dashboard.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[analytics_stats]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>
</module>

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,106 +19,108 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
if (!defined('_PS_VERSION_'))
exit;
if (!defined('_PS_VERSION_')) {
exit;
}
class StatsBestCustomers extends ModuleGrid
{
private $html;
private $query;
private $columns;
private $default_sort_column;
private $default_sort_direction;
private $empty_message;
private $paging_message;
private $html;
private $query;
private $columns;
private $default_sort_column;
private $default_sort_direction;
private $empty_message;
private $paging_message;
public function __construct()
{
$this->name = 'statsbestcustomers';
$this->tab = 'analytics_stats';
$this->version = '1.4.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;
public function __construct()
{
$this->name = 'statsbestcustomers';
$this->tab = 'analytics_stats';
$this->version = '1.5.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
parent::__construct();
$this->default_sort_column = 'totalMoneySpent';
$this->default_sort_direction = 'DESC';
$this->empty_message = $this->l('Empty recordset returned');
$this->paging_message = sprintf($this->l('Displaying %1$s of %2$s'), '{0} - {1}', '{2}');
$this->default_sort_column = 'totalMoneySpent';
$this->default_sort_direction = 'DESC';
$this->empty_message = $this->l('Empty recordset returned');
$this->paging_message = sprintf($this->l('Displaying %1$s of %2$s'), '{0} - {1}', '{2}');
$currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
$currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
$this->columns = array(
array(
'id' => 'lastname',
'header' => $this->l('Last Name'),
'dataIndex' => 'lastname',
'align' => 'center'
),
array(
'id' => 'firstname',
'header' => $this->l('First Name'),
'dataIndex' => 'firstname',
'align' => 'center'
),
array(
'id' => 'email',
'header' => $this->l('Email'),
'dataIndex' => 'email',
'align' => 'center'
),
array(
'id' => 'totalVisits',
'header' => $this->l('Visits'),
'dataIndex' => 'totalVisits',
'align' => 'center'
),
array(
'id' => 'totalValidOrders',
'header' => $this->l('Valid orders'),
'dataIndex' => 'totalValidOrders',
'align' => 'center'
),
array(
'id' => 'totalMoneySpent',
'header' => $this->l('Money spent').' ('.Tools::safeOutput($currency->iso_code).')',
'dataIndex' => 'totalMoneySpent',
'align' => 'center'
)
);
$this->columns = array(
array(
'id' => 'lastname',
'header' => $this->l('Last Name'),
'dataIndex' => 'lastname',
'align' => 'center'
),
array(
'id' => 'firstname',
'header' => $this->l('First Name'),
'dataIndex' => 'firstname',
'align' => 'center'
),
array(
'id' => 'email',
'header' => $this->l('Email'),
'dataIndex' => 'email',
'align' => 'center'
),
array(
'id' => 'totalVisits',
'header' => $this->l('Visits'),
'dataIndex' => 'totalVisits',
'align' => 'center'
),
array(
'id' => 'totalValidOrders',
'header' => $this->l('Valid orders'),
'dataIndex' => 'totalValidOrders',
'align' => 'center'
),
array(
'id' => 'totalMoneySpent',
'header' => $this->l('Money spent').' ('.Tools::safeOutput($currency->iso_code).')',
'dataIndex' => 'totalMoneySpent',
'align' => 'center'
)
);
$this->displayName = $this->l('Best customers');
$this->description = $this->l('Adds a list of the best customers to the Stats dashboard.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
}
$this->displayName = $this->l('Best customers');
$this->description = $this->l('Adds a list of the best customers to the Stats dashboard.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.7.0.99');
}
public function install()
{
return (parent::install() && $this->registerHook('AdminStatsModules'));
}
public function install()
{
return (parent::install() && $this->registerHook('AdminStatsModules'));
}
public function hookAdminStatsModules($params)
{
$engine_params = array(
'id' => 'id_customer',
'title' => $this->displayName,
'columns' => $this->columns,
'defaultSortColumn' => $this->default_sort_column,
'defaultSortDirection' => $this->default_sort_direction,
'emptyMessage' => $this->empty_message,
'pagingMessage' => $this->paging_message
);
public function hookAdminStatsModules($params)
{
$engine_params = array(
'id' => 'id_customer',
'title' => $this->displayName,
'columns' => $this->columns,
'defaultSortColumn' => $this->default_sort_column,
'defaultSortDirection' => $this->default_sort_direction,
'emptyMessage' => $this->empty_message,
'pagingMessage' => $this->paging_message
);
if (Tools::getValue('export'))
$this->csvExport($engine_params);
if (Tools::getValue('export')) {
$this->csvExport($engine_params);
}
$this->html = '
$this->html = '
<div class="panel-heading">
'.$this->displayName.'
</div>
@@ -130,10 +132,10 @@ class StatsBestCustomers extends ModuleGrid
'.$this->l('Word of mouth is also a means for getting new, satisfied clients. A dissatisfied customer can hurt your e-reputation and obstruct future sales goals.').'<br />
'.$this->l('In order to achieve this goal, you can organize:').'
<ul>
<li>'.$this->l('Punctual operations: commercial rewards (personalized special offers, product or service offered), non commercial rewards (priority handling of an order or a product), pecuniary rewards (bonds, discount coupons, payback).').'</li>
<li>'.$this->l('Punctual operations: commercial rewards (personalized special offers or service offered), non commercial rewards (priority handling of an order or a room), pecuniary rewards (bonds, discount coupons, payback).').'</li>
<li>'.$this->l('Sustainable operations: loyalty points or cards, which not only justify communication between merchant and client, but also offer advantages to clients (private offers, discounts).').'</li>
</ul>
'.$this->l('These operations encourage clients to buy products and visit your online store more regularly.').'
'.$this->l('These operations encourage clients to buy rooms and visit your website more regularly.').'
</div>
</div>
'.$this->engine($engine_params).'
@@ -141,12 +143,12 @@ class StatsBestCustomers extends ModuleGrid
<i class="icon-cloud-upload"></i> '.$this->l('CSV Export').'
</a>';
return $this->html;
}
return $this->html;
}
public function getData()
{
$this->query = '
public function getData()
{
$this->query = '
SELECT SQL_CALC_FOUND_ROWS c.`id_customer`, c.`lastname`, c.`firstname`, c.`email`,
COUNT(co.`id_connections`) as totalVisits,
IFNULL((
@@ -169,20 +171,21 @@ class StatsBestCustomers extends ModuleGrid
LEFT JOIN `'._DB_PREFIX_.'guest` g ON c.`id_customer` = g.`id_customer`
LEFT JOIN `'._DB_PREFIX_.'connections` co ON g.`id_guest` = co.`id_guest`
WHERE co.date_add BETWEEN '.$this->getDate()
.Shop::addSqlRestriction(Shop::SHARE_CUSTOMER, 'c').
'GROUP BY c.`id_customer`, c.`lastname`, c.`firstname`, c.`email`';
.Shop::addSqlRestriction(Shop::SHARE_CUSTOMER, 'c').
'GROUP BY c.`id_customer`, c.`lastname`, c.`firstname`, c.`email`';
if (Validate::IsName($this->_sort))
{
$this->query .= ' ORDER BY `'.bqSQL($this->_sort).'`';
if (isset($this->_direction) && Validate::isSortDirection($this->_direction))
$this->query .= ' '.$this->_direction;
}
if (Validate::IsName($this->_sort)) {
$this->query .= ' ORDER BY `'.bqSQL($this->_sort).'`';
if (isset($this->_direction) && Validate::isSortDirection($this->_direction)) {
$this->query .= ' '.$this->_direction;
}
}
if (($this->_start === 0 || Validate::IsUnsignedInt($this->_start)) && Validate::IsUnsignedInt($this->_limit))
$this->query .= ' LIMIT '.(int)$this->_start.', '.(int)$this->_limit;
if (($this->_start === 0 || Validate::IsUnsignedInt($this->_start)) && Validate::IsUnsignedInt($this->_limit)) {
$this->query .= ' LIMIT '.(int)$this->_start.', '.(int)$this->_limit;
}
$this->_values = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query);
$this->_totalCount = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('SELECT FOUND_ROWS()');
}
$this->_values = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($this->query);
$this->_totalCount = Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('SELECT FOUND_ROWS()');
}
}

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'El recordset se devolvio vacío';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Apellido';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Nombre';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'email';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'visitas';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Pedidos válidos';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Dinero enviado';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Mejor cliente';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Añade una lista de los mejores clientes al panel de control de estadísticas.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Guia';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Desarrolle la fidelidad de sus clientes';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Mantener un cliente satisfecho es más rentable que captar uno nuevo. Por lo tanto, es necesario ganarse su lealtad, para que vuelva a su tienda.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'El boca a boca es uno de los mejores medios de conseguir clientes satisfechos; un cliente satisfecho atrae nuevos clientes.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Para alcanzar esta meta que usted puede organizar: ';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Operaciones puntuales: recompensas comerciales (ofertas especiales personalizadas, producto o servicio ofrecidos), recompensas no comerciales (prioridad en el envío de un pedido o de un producto), recompensas pecuniarias (enlaces, cupones del descuento, reembolsos...).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Operaciones sostenibles: tarjetas clientes o puntos de fidelidad, que no sólo justifican la comunicación entre el comerciante y el cliente, pero también ofrecen ventajas a los clientes (ofertas, descuentos privados).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Estas operaciones incitan a los clientes a comprar productos y visitar tu tienda con más regularidad.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,14 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'الاسم الأخير';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'الاسم الأول';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'طلبات شراء صحيحة:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'إنفاق الأموال';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'تطوير ولاء العملاء';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'من أجل تحقيق هذا الهدف يمكن تنظيم :';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Върнат празен запис';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Показва %1$s от %2$s ';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Фамилия';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Имe';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Имейл';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Посещения';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Валидни поръчки';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Похарчени пари';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Най-добри клиенти';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Добавя списък с най-добрите клиенти към Таблото със статистика.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Инструкция';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Създай програма за лоялност';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Да задържите клиент е по-изгодно, отколкото да спечелите нов. Това е една от многото причини да създадете лоялност в клиентите.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'Разпространението от уста на уста също е начин да привлечете нови, удовлетворени клиенти. Един неудовлетворен клиент може да навреди на e-репутацията и да попречи на постигането на бъдещи продажни цели.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'За да постигнеш това, трябва да организираш:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Пунктуални операции: търговски награди (персонализирани специални оферти, продукти или услуги), нетърговски награди (приоритетна обработка на поръчка или продукт), парични награди (ваучери, талони за намаление, връщане на сума).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Устойчиви операции: бонус точки или клубни карти, които са не само повод за редовна комуникация с потребителите, но и им дават предимства (ограничени оферти, намаления).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Тези операции поощряват клиентите да купуват продукти и да посещават Вашият магазин по-редовно.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Експорт на CSV';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Limpar o retorno de registros';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Exibindo %1$s de %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Sobrenome';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Name';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Visitas';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Pedidos válidos';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Dinheiro gasto';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Melhores clientes';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Adiciona uma lista com os melhores clientes ao Painel de Estatísticas';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Guia';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Desenvolver fidelidade entre os clientes';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Manter um cliente é mais lucrativo do que conquistar um novo. Assim, é necessário desenvolver a sua lealdade, em outras palavras, fazê-los querer voltar à sua loja virtual.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'Palavra de boca é também um meio de obtenção de novos clientes satisfeitos; um insatisfeitos não irá atrair novos clientes.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Para atingir este objetivo você deve organizar:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Operações pontuais: recompensas comerciais (personalize ofertas especiais, ofertas de produto ou serviço), recompensas não comerciais (tratamento prioritário de uma ordem ou um produto), recompensas pecuniárias (títulos, cupons de desconto, reembolso).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Operações sustentáveis​​: pontos de fidelidade ou cartões, que não só aproximam a comunicação entre comerciante e cliente, mas também oferecem vantagens aos clientes (ofertas especiais, descontos).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Estas operações encorajam os clientes a comprar produtos e visitar sua loja virtual regularmente.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'No es troben registres';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrant %1$s a %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Cognoms';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Nom';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Adreça electrònica';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Visites';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Comandes vàlides';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Diners que es gasta';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Millors clients';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Afegeix una llista dels millors clients al tauler d\'estadístiques.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Guia';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Desenvolupar la fidelització dels clients';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Mantenir un client és més rendible que guanyar-ne un de nou. Aquesta és una de les diverses raons per les quals és necessari cultivar la lleialtat del client.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'El boca a boca és també un mitjà per aconseguir de nous clients, satisfets, un insatisfet no atraurà a nous clients.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Per tal d\'assolir aquest objectiu es pot organitzar:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Operacions puntuals: recompenses comercials (ofertes especials personalitzades, de productes o serveis oferits), no comercials (donar prioritat en servir una comanda o un producte), recompenses monetàries (bons, cupons de descompte, reemborsaments).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Operacions permanents: punts o targetes de fidelització, que no tan sols justifiquen la relació comerciant-client, sinó que a més ofereixen avantatges als clients (ofertes privades, descomptes).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Aquestes operacions encoratgen els clients a adquirir productes i visitar la vostra botiga virtual regularment.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportació CSV';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Leeren Datensatz erhalten';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = '%1$s von %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Name';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Vorname';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-Mail';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Besuche';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Gültige Bestellungen';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'ausgegebenes Geld';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Beste Kunden';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Fügt der Statistik-Übersicht eine Liste der besten Kunden hinzu';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Erklärung';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Kundentreue entwickeln';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Kunden zu behalten ist rentabler als einen Neukunden zu akquirieren. Daher ist es notwendig, Ihre Treue zu gewinnen, oder anders gesagt, sie dazu zu bringen, zu Ihrem Webshop zurückzukehren.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'Mundpropaganda ist ebenfalls ein Mittel, um neue,zufriedene Kunden zu bekommen; ein unzufriedener Kunde zieht keine Neukunden an.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Um dieses Ziel zu erreichen, können Sie Folgendes machen:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Punktuelle Aktionen: kommerzielle Belohnungen (benutzerdefinierte Sondernagebote, geschenkte Artikel oder Dienstleistungen), nicht-kommerzielle Belohnungen (bevorzugte Bearbeitung einer Bestellung oder eines Produkts), geldliche Belohnungen (Gutscheine, Ermäßigungsgutscheine, Payback,...).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Dauerhafte Aktionen: Treue- oder Punktekarten, die nicht nur der Kommunikation mit dem Kunden dienen, sondern ihm auch Vorteile bringen (persönliche Angebote, Rabatte).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Solche Aktionen animieren Kunden, Artikel zu kaufen und Ihren Webshop regelmäßig zu besuchen.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'CSV-Export';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Empty recordset returned';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Displaying %1$s of %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Last Name';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'First Name';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Visits';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Valid orders';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Money spent';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Best customers';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Adds a list of the best customers to the Stats dashboard.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Guide';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Develop clients\' loyalty';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Keeping a client can be more profitable than gaining a new one. That is one of the many reasons it is necessary to cultivate customer loyalty.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'Word of mouth is also a means for getting new, satisfied clients. A dissatisfied customer can hurt your e-reputation and obstruct future sales goals.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'In order to achieve this goal, you can organize:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Punctual operations: commercial rewards (personalized special offers, product or service offered), non commercial rewards (priority handling of an order or a product), pecuniary rewards (bonds, discount coupons, payback).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Sustainable operations: loyalty points or cards, which not only justify communication between merchant and client, but also offer advantages to clients (private offers, discounts).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'These operations encourage clients to buy products and visit your online store more regularly.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'CSV Export';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Se devolvió el conjunto de registros vacío';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Apellidos';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Nombre';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Correo electrónico';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Visitas';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Pedidos válidos';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Dinero enviado';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Mejores clientes';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Añade una lista de los mejores clientes al panel de control de estadísticas.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Guía';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Desarrolle la fidelidad de sus clientes';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Mantener un cliente satisfecho es más rentable que captar uno nuevo. Por lo tanto, es necesario ganarse su lealtad, para que vuelva a su tienda.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'El boca a boca es uno de los mejores medios de conseguir clientes satisfechos; un cliente satisfecho atrae nuevos clientes.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Para alcanzar este objetivo usted puede organizar:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Operaciones puntuales: recompensas comerciales (ofertas especiales personalizadas, producto o servicio ofrecidos), recompensas no comerciales (prioridad en el envío de un pedido o de un producto), recompensas pecuniarias (enlaces, cupones del descuento, reembolsos...).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Operaciones sostenibles: tarjetas clientes o puntos de fidelidad, que no sólo justifican la comunicación entre el comerciante y el cliente, pero también ofrecen ventajas a los clientes (ofertas, descuentos privados).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Estas operaciones incitan a los clientes a comprar productos y visitar tu tienda con más regularidad.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Aucun résultat renvoyé';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Affichage de %1$s de %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Nom';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Prénom';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Visites';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Commandes valides';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Argent dépensé';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Meilleurs clients';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Ajoute une liste de meilleurs clients à tableau de bord des statistiques.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Guide';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Fidéliser les clients';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Garder un client peut être plus rentable que d’en conquérir un nouveau. Il est donc impératif de le fidéliser, c\'est-à-dire de lui donner envie de revenir sur votre boutique.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'Le bouche à oreille est également un moyen d\'avoir de nouveaux clients satisfaits ; car un client mécontent n\'en attirera pas de nouveaux.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Pour y parvenir, plusieurs moyens existent :';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Les opérations ponctuelles : les récompenses marchandes (offres promotionnelles ciblées et personnalisées, cadeaux -produit ou service offert-), les récompenses non marchandes (traitement prioritaire d\'une commande ou d\'un produit), les récompenses pécuniaires (bons d\'achat, de réduction, de remboursement). ';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Les opérations pérennes : carte de fidélité, points de fidélité. Elles justifient la communication marchand-clients, mais offrent aussi des avantages aux clients (offres privatives, réductions).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Ces opérations encouragent vos clients à acheter vos produits et à se rendre sur votre boutique plus régulièrement.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Export CSV';
return $_MODULE;

View File

@@ -1,15 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Apelido';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Nome';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Correo electronico';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Visitas';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Guia';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Desarrollar a lealtade dos clientes';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Para lograr este obxetivo téñense que organizar.';
return $_MODULE;

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Data tidak ditemukan';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Menampilkan %1$s dari %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Nama Belakang';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Nama Depan';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Kunjungan';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Order valid';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Uang yang dibelanjakan';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Pelanggan terbaik';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Tambahkan daftar pelanggan terbaik ke statistik dashboard.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Panduan';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Membangun kesetiaan pleanggan';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Menjaga klien lebih menguntungkan daripada mendapatkan pelanggan baru. Jadi, perlu untuk mengembangkan kesetiaan mereka, dengan kata lain untuk membuat mereka ingin kembali ke website Anda.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'Word of mouth is also a means to of getting new, satisfied clients; a dissatisfied one won\'t attract new clients.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Dalam rangka mencapai tujuan ini Anda dapat mengatur:';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Sasaran jangka panjang: commercial rewards (personalisasi penawaran khusus untuk produk maupun layanan), non commercial rewards (prioritas dalam penanganan order atau produk), pecuniary rewards (kupon diskon, cashback).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Sasaran jangka pendek: poin loyalty atau kartu, yang tidak hanya melancarkan komunikasi antara penjual dan pembeli, tapi juga menawarkan keuntungal lain bagi pelanggan (penawaran khusus, diskon).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Operasi ini akan menganjurkan pelanggan untuk membeli produk dan mengunjungi toko Anda lebih sering lagi.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Ekspor CSV';
return $_MODULE;

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

View File

@@ -1,27 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4f29d8c727dcf2022ac241cb96c31083'] = 'Leeg resultaat';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_f5c493141bb4b2508c5938fd9353291a'] = 'Toon %1$s van %2$s';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_77587239bf4c54ea493c7033e1dbf636'] = 'Achternaam';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bc910f8bdf70f29374f496f05be0330c'] = 'Voornaam';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_d7e637a6e9ff116de2fa89551240a94d'] = 'Visites';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_ec1ee973b8947391f8f014c76ac7379f'] = 'Geldige bestellingen';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_1ff1b62d08d1195f073c6adac00f1894'] = 'Uitgegegeven geld';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Beste klanten';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_9a1643c70b51526dd35d546ef8e17b87'] = 'Voeg een lijst met de beste klanten toe aan het statistieken dashboard.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_6602bbeb2956c035fb4cb5e844a4861b'] = 'Gids';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_cb21e843b037359d0fb5b793fccf964f'] = 'Fidéliser les clients';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_c01d21a09f02b8e661114db60a0f60d4'] = 'Klantbehoud kan winstgevender zijn dan het werven van nieuwe. Dit is één van de belangrijkste redenen om klanten te binden.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_197bad7ad08abfd1dc45ab92f96f155d'] = 'Mond tot mond reclame is ook een manier om nieuwe, tevreden klanten te krijgen; een ontevreden klant trekt geen nieuwe klanten.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_bf0d87b5aa8d331563ee61f2ac82069d'] = 'Om dit doel te bereiken kunt u het volgende organiseren: ';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_397a5e109a5897ee7d699050cbc93347'] = 'Nauwkeurig werk: Commerciële beloning (Persoonlijke speciale aanbiedingen, producten of service aangeboden), niet-commerciële beloning (voorkeursbehandeling bij het plaatsen van een bestelling), geldelijke beloning (obligaties, waardebonnen, terugbetaling).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_4bc24eed56e0ba89fc3ab4e094d18d8a'] = 'Duurzaam werk: loyaliteitspunten of -kaarten, die niet alleen communicatie tussen de koper en de verkopen mogelijk maakt, maar ook voordelen voor klanten opleveren (persoonlijke aanbiedingen, kortingen).';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_2f408c42912e3afe23a0e4adcbe34b96'] = 'Deze acties moedigen klanten aan om producten te kopen en uw online winkel regelmatiger te bezoeken.';
$_MODULE['<{statsbestcustomers}prestashop>statsbestcustomers_998e4c5c80f27dec552e99dfed34889a'] = 'Export CSV';
return $_MODULE;

View File

@@ -1,37 +0,0 @@
# Best manufacturers
## About
Adds a list of the best manufacturers to the Stats dashboard.
## Contributing
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
### Requirements
Contributors **must** follow the following rules:
* **Make your Pull Request on the "dev" branch**, NOT the "master" branch.
* Do not update the module's version number.
* Follow [the coding standards][1].
### Process in details
Contributors wishing to edit a module's files should follow the following process:
1. Create your GitHub account, if you do not have one already.
2. Fork the statsbestmanufacturers project to your GitHub account.
3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation.
4. Create a branch in your local clone of the module for your changes.
5. Change the files in your branch. Be sure to follow [the coding standards][1]!
6. Push your changed branch to your fork in your GitHub account.
7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3].
8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open-source project! Congratulations!
[1]: http://doc.prestashop.com/display/PS16/Coding+Standards
[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message
[3]: https://help.github.com/articles/using-pull-requests

View File

@@ -2,11 +2,11 @@
<module>
<name>statsbestmanufacturers</name>
<displayName><![CDATA[Best manufacturers]]></displayName>
<version><![CDATA[1.4.1]]></version>
<version><![CDATA[1.5.1]]></version>
<description><![CDATA[Adds a list of the best manufacturers to the Stats dashboard.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[analytics_stats]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>
</module>

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
@@ -41,7 +41,7 @@ class StatsBestManufacturers extends ModuleGrid
{
$this->name = 'statsbestmanufacturers';
$this->tab = 'analytics_stats';
$this->version = '1.4.1';
$this->version = '1.5.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;
@@ -78,7 +78,7 @@ class StatsBestManufacturers extends ModuleGrid
$this->displayName = $this->l('Best manufacturers');
$this->description = $this->l('Adds a list of the best manufacturers to the Stats dashboard.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.7.0.99');
}
public function install()

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'El recordset se devolvió vacío.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Cantidad vendida';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'total_pagar';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Mejores fabricantes';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Añade una lista de los mejores manufactureros al panel de control de estadísticas.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,13 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'الاسم';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'بيعت كمية';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'إجمالي المدفوعات';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'أفضل الماركات';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'إستيراد ملف إعدادات';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'Върнат празен запис.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Показва %1$s от %2$s ';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Име';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Продадено количество';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Общо платено';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Най-добри производители';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Добавя списък на най-добрите производители към Таблото със статистика.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Експорт на CSV';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'Registro vazio retornado.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Exibindo %1$s de %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Nome';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Quantidade vendida';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Total pago';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Melhores fabricantes';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Adiciona uma lista dos melhores fabricantes para o Painel de Estatísticas.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'No es troben registres.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrant %1$s a %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Nom';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Quantitat venuda';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Total pagat';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Millors fabricants';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Afegeix una llista amb els millors fabricants al tauler d\'estadística.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportació CSV';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'Leerer Datensatz zurückgegeben.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = '%1$s von %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Name';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Verkaufte Menge';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Gesamt';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Beliebteste Hersteller';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Fügt der Statistik-Übersicht eine Liste der beliebtesten Hersteller hinzu';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'CSV-Export';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'Empty recordset returned.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Displaying %1$s of %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Name';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Quantity sold';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Total paid';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Best manufacturers';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Adds a list of the best manufacturers to the Stats dashboard.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'CSV Export';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'El recordset se devolvió vacío.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Cant.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Pago total';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Mejores fabricantes';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Añade una lista de los mejores manufactureros al panel de control de estadísticas.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'Enregistrement vide renvoyé.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Affichage de %1$s de %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Nom';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Quantité vendue';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Total payé';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Meilleurs fabricants';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Ajoute une liste des meilleurs fabricants dans le tableau de bord des statistiques.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Export CSV';
return $_MODULE;

View File

@@ -1,9 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Nome';
return $_MODULE;

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'Data tidak ditemukan.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Menampilkan %1$s dari %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Nama';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Jumlah yang dijual';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Jumlah yang dibayarkan';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Produsen Terbaik';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Tambahkan daftar brand terbaik di statistik dashboard.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Ekspor CSV';
return $_MODULE;

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

View File

@@ -1,16 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_58ef962a87e6fbbea6027c17a954a18d'] = 'Leeg resultaat.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_f5c493141bb4b2508c5938fd9353291a'] = 'Toon %1$s van %2$s';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_49ee3087348e8d44e1feda1917443987'] = 'Naam';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_2a0440eec72540c5b30d9199c01f348c'] = 'Hoeveelheid verkocht';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_ea067eb37801c5aab1a1c685eb97d601'] = 'Totaal betaald';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_72fd9b5482201824daae557360d91196'] = 'Beste fabrikanten';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_891374571b52a78a29a622308f1fa292'] = 'Voegt een lijst met beste producenten toe aan het Statistieken dashboard.';
$_MODULE['<{statsbestmanufacturers}prestashop>statsbestmanufacturers_998e4c5c80f27dec552e99dfed34889a'] = 'Export CSV';
return $_MODULE;

View File

@@ -1,37 +0,0 @@
# Best-selling products
## About
Adds a list of the best-selling products to the Stats dashboard.
## Contributing
PrestaShop modules are open-source extensions to the PrestaShop e-commerce solution. Everyone is welcome and even encouraged to contribute with their own improvements.
### Requirements
Contributors **must** follow the following rules:
* **Make your Pull Request on the "dev" branch**, NOT the "master" branch.
* Do not update the module's version number.
* Follow [the coding standards][1].
### Process in details
Contributors wishing to edit a module's files should follow the following process:
1. Create your GitHub account, if you do not have one already.
2. Fork the statsbestproducts project to your GitHub account.
3. Clone your fork to your local machine in the ```/modules``` directory of your PrestaShop installation.
4. Create a branch in your local clone of the module for your changes.
5. Change the files in your branch. Be sure to follow [the coding standards][1]!
6. Push your changed branch to your fork in your GitHub account.
7. Create a pull request for your changes **on the _'dev'_ branch** of the module's project. Be sure to follow [the commit message norm][2] in your pull request. If you need help to make a pull request, read the [Github help page about creating pull requests][3].
8. Wait for one of the core developers either to include your change in the codebase, or to comment on possible improvements you should make to your code.
That's it: you have contributed to this open-source project! Congratulations!
[1]: http://doc.prestashop.com/display/PS16/Coding+Standards
[2]: http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message
[3]: https://help.github.com/articles/using-pull-requests

View File

@@ -2,11 +2,11 @@
<module>
<name>statsbestproducts</name>
<displayName><![CDATA[Best-selling products]]></displayName>
<version><![CDATA[1.4.1]]></version>
<version><![CDATA[1.5.1]]></version>
<description><![CDATA[Adds a list of the best-selling products to the Stats dashboard.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[analytics_stats]]></tab>
<is_configurable>0</is_configurable>
<need_instance>0</need_instance>
<limited_countries></limited_countries>
</module>
</module>

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA

View File

@@ -1,6 +1,6 @@
<?php
/*
* 2007-2014 PrestaShop
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
@@ -19,7 +19,7 @@
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
@@ -41,7 +41,7 @@ class StatsBestProducts extends ModuleGrid
{
$this->name = 'statsbestproducts';
$this->tab = 'analytics_stats';
$this->version = '1.4.1';
$this->version = '1.5.1';
$this->author = 'PrestaShop';
$this->need_instance = 0;
@@ -111,7 +111,7 @@ class StatsBestProducts extends ModuleGrid
$this->displayName = $this->l('Best-selling products');
$this->description = $this->l('Adds a list of the best-selling products to the Stats dashboard.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => '1.7.0.99');
}
public function install()

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'El recordset se devolvio vacío';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Referencia';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Cantidad vendida';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Precio de venta';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventas';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Cantidad vendida en un día';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Páginas vistas';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Cantidad disponible para la venta';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Activo';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Mejores productos';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Añade una lista de los productos más vendidos al panel de control de estadísticas.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,17 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'عاد سجلات فارغة';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'المرجع';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'الاسم';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'بيعت كمية';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'سعر بيعها';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'المبيعات';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'صفحة في الموقع';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'نشط';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'إستيراد ملف إعدادات';
return $_MODULE;

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'Беше върнат празен запис.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = 'Показва %1$s от %2$s ';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Референция';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Име';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Продадено количество';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Цена на продажби';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Продажби';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Продадено количество за ден';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Прегледани страници';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Налични количества за продажба';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Активен';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Най-много продавани продукти.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Добавя списък с най-продавани продукти към Таблото със статистика.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'Експорт на CSV';
return $_MODULE;

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'Limpar o retorno de registros';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = 'Exibindo %1$s de %2$s';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Referência';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Nome';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Quantidade vendida';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Preço de venda';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Vendas';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Quantidade vendida em um dia';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Página visualizada';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Quantidade disponível para venda';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Ativo';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Melhores produtos';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Adiciona uma lista com os produtos mais vendidos ao Painel de Estatísticas';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'No es troben registres';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrant %1$s a %2$s';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Referència';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Nom';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Quantitat venuda';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Preu de venda';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Vendes';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Quantitat venuda en un dia';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Pàgines vistes';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Quantitat disponible per a la venda';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Actiu';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Millors productes';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Afegeix una llista dels productes més venuts al tauler d\'estadística.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'Exportació CSV';
return $_MODULE;

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'Leere Datensätze erhalten';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = '%1$s von %2$s';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Artikel-Nr.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Name';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Verkaufte Menge';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Verkaufspreis';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Umsatz';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Verkaufte Menge/Tag';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Seitenaufrufe';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Lieferbare Verkaufsmenge';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Aktiv';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Beliebteste Artikel';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Fügt der Statistik-Übersicht eine Liste der Verkaufshits hinzu';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'CSV-Export';
return $_MODULE;

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'An empty record-set was returned.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = 'Displaying %1$s of %2$s';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Reference';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Name';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Quantity sold';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Price sold';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Sales';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Quantity sold in a day';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Page views';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Available quantity for sale';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Active';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Best-selling products';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Adds a list of the best-selling products to the Stats dashboard.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'CSV Export';
return $_MODULE;

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'Devolución de recordset vacío';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = 'Mostrando %1$s de %2$s';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Referencia';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Nombre';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Cant.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Precio de venta';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventas';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Cantidad vendida en un día';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Páginas vistas';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Cantidad disponible para la venta';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Activar';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Mejores productos';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Añade una lista de los productos más vendidos al panel de control de estadísticas.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'Exportar CSV';
return $_MODULE;

View File

@@ -1,22 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_8c4d7af5f578693f9a6cf391e912ee33'] = 'Aucun résultat';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_f5c493141bb4b2508c5938fd9353291a'] = 'Affichage de %1$s de %2$s';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Référence';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Nom';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_2a0440eec72540c5b30d9199c01f348c'] = 'Quantité vendue';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_6771f2d557a34bd89ea7abc92a0a069c'] = 'Prix de vente';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_25f4b31e8f3baec8b2f266e05af88943'] = 'Quantité vendue en une journée';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7664a37e0cc56aaf39aebf2edbd3f98e'] = 'Pages vues';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_7bd5825a187064017975513b95d7f7de'] = 'Quantité disponible à la vente';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Activé';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_950cf49f8ca529be64c924f16fcb5404'] = 'Meilleures ventes';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_15429f69e40860368f6e113e4cba5601'] = 'Ajoute une liste des vos meilleures ventes dans le tableau de bord des statistiques.';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_998e4c5c80f27dec552e99dfed34889a'] = 'Export CSV';
return $_MODULE;

View File

@@ -1,11 +0,0 @@
<?php
global $_MODULE;
$_MODULE = array();
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_63d5049791d9d79d86e9a108b0a999ca'] = 'Referencia';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_49ee3087348e8d44e1feda1917443987'] = 'Nome';
$_MODULE['<{statsbestproducts}prestashop>statsbestproducts_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Activo';
return $_MODULE;

Some files were not shown because too many files have changed in this diff Show More