feat: Update file sizes and remove temporary files in empikmarketplace module

This commit is contained in:
2025-06-03 11:27:30 +02:00
parent 1d3d247a1a
commit 748bab7032
14 changed files with 17 additions and 84 deletions

View File

@@ -7537,7 +7537,7 @@
}, },
"google-merchant_id-1.xml": { "google-merchant_id-1.xml": {
"type": "-", "type": "-",
"size": 64085549, "size": 64133014,
"lmtime": 0, "lmtime": 0,
"modified": true "modified": true
}, },
@@ -11780,8 +11780,8 @@
}, },
"import-product.php": { "import-product.php": {
"type": "-", "type": "-",
"size": 27503, "size": 33542,
"lmtime": 1748716538167, "lmtime": 1748903578581,
"modified": false "modified": false
}, },
"index.php": { "index.php": {
@@ -18221,11 +18221,23 @@
}, },
"views": { "views": {
"js": { "js": {
"index.php": {
"type": "-",
"size": 1309,
"lmtime": 0,
"modified": false
},
"jquery.autocomplete_productsearch.js": { "jquery.autocomplete_productsearch.js": {
"type": "-", "type": "-",
"size": 21892, "size": 21892,
"lmtime": 1747228389587, "lmtime": 1747228389587,
"modified": false "modified": false
},
"leosearch.js": {
"type": "-",
"size": 5163,
"lmtime": 1748904347658,
"modified": false
} }
} }
} }
@@ -50009,8 +50021,8 @@
}, },
"detail1526395446.tpl": { "detail1526395446.tpl": {
"type": "-", "type": "-",
"size": 29782, "size": 29810,
"lmtime": 1741161598708, "lmtime": 1748904347660,
"modified": false "modified": false
}, },
"detail1526396195.tpl": { "detail1526396195.tpl": {

View File

@@ -1,46 +0,0 @@
<?php
namespace Empik\Marketplace\Repository;
use Db;
use DbQuery;
use Empik\Marketplace\Utils\Utils;
class AttributeRepository
{
/** @var Db */
protected $db;
/** @var int */
protected $langId;
public function __construct()
{
$this->db = Db::getInstance();
$this->langId = Utils::getLangId();
}
public function getAttributes($productId, $productAttributeId)
{
$sql = new DbQuery();
$sql->select('al.name AS value, agl.public_name AS name');
$sql->from('attribute_group', 'ag');
$sql->leftJoin('attribute_group_lang', 'agl', 'agl.id_attribute_group = ag.id_attribute_group AND agl.id_lang = ' . (int)$this->langId);
$sql->leftJoin('product_attribute', 'pa', 'pa.id_product = ' . (int)$productId . ' AND pa.id_product_attribute = ' . (int)$productAttributeId);
$sql->leftJoin('product_attribute_combination', 'pac', 'pac.id_product_attribute = pa.id_product_attribute');
$sql->leftJoin('attribute', 'a', 'a.id_attribute = pac.id_attribute AND ag.id_attribute_group = a.id_attribute_group');
$sql->leftJoin('attribute_lang', 'al', 'al.id_attribute = a.id_attribute AND al.id_lang = ' . (int)$this->langId);
$sql->orderBy('ag.id_attribute_group');
$result = $this->db->executeS($sql);
$resultGrouped = [];
foreach ($result as $item) {
if (!isset($resultGrouped[$item['name']]) || $item['value']) {
$resultGrouped[$item['name']] = $item;
}
}
return (array)$resultGrouped;
}
}

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\composer\installers\src\Composer\Installers\~syncthing~CakePHPInstaller.php.tmp

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\config\Tests\Definition\~syncthing~MergeTest.php.tmp

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\dependency-injection\Tests\Compiler\~syncthing~CheckDefinitionValidityPassTest.php.tmp

View File

@@ -1,7 +0,0 @@
<?php
namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component2\Dir1;
class Service4
{
}

View File

@@ -1,22 +0,0 @@
<?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use App\BarService;
return function (ContainerConfigurator $c) {
$c->services()
->set('bar', 'Class1')
->set(BarService::class)
->abstract(true)
->lazy()
->set('foo')
->parent(BarService::class)
->decorate('bar', 'b', 1)
->args([ref('b')])
->class('Class2')
->file('file.php')
->parent('bar')
->parent(BarService::class)
;
};

View File

@@ -1 +0,0 @@
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\dependency-injection\Tests\Fixtures\xml\~syncthing~services_deprecated.xml.tmp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 71 KiB