category -> product association implemented

This commit is contained in:
echo committed 2025-02-16 20:02:41 +01:00
1 parent 0b8c5de8b0
commit c8bcfe6bd6
41 files changed
+2222 -703

No files matched your search

+11
View File
@@ -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;
}