category -> product association implemented
This commit is contained in:
1 parent
0b8c5de8b0
commit
c8bcfe6bd6
41 files changed
+2222
-703
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
interface ICategory
|
||||
{
|
||||
public function processCategoriesFromString(string $categories): array;
|
||||
public function createCategory(string $name, ?int $parentId = null): int;
|
||||
public function getCategoryIdByName(string $name, ?int $parentId = null): ?int;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
interface IProductSync
|
||||
{
|
||||
public function importProducts(int $perPage = 100): array;
|
||||
public function importSingleProduct(array $productData): bool;
|
||||
}
|
||||
Reference in new issue
Block a user