Go to file Use this template
Brandon Shipley 732819ff73
CI / testsuite (mysql, 8.1, ) (push) Failing after 0s Details
CI / testsuite (mysql, 8.4, ) (push) Failing after 0s Details
CI / testsuite (pgsql, 8.1, ) (push) Failing after 0s Details
CI / testsuite (pgsql, 8.4, ) (push) Failing after 1s Details
CI / testsuite (sqlite, 8.1, ) (push) Failing after 1s Details
CI / testsuite (sqlite, 8.1, prefer-lowest) (push) Failing after 0s Details
CI / testsuite (sqlite, 8.4, ) (push) Failing after 0s Details
CI / Coding Standard & Static Analysis (push) Failing after 1s Details
keyField vs valueField switched oops
2025-04-02 00:36:54 -07:00
.gitea/workflows mysql service 2025-03-27 21:21:50 -07:00
.github/workflows gitea and github ci workflows 2025-03-27 01:48:12 -07:00
config uuids instead of int ids fore xternal product catalogs, test fixes, many to many working now 2025-03-31 01:30:09 -07:00
src keyField vs valueField switched oops 2025-04-02 00:36:54 -07:00
templates form request query wrong request - now working 2025-04-02 00:29:05 -07:00
tests assert the link record was created 2025-03-31 02:02:34 -07:00
webroot add/assign catalogs to an api when adding it 2025-03-30 23:46:13 -07:00
.gitignore not used to plugin testing - trying to get working but fixtures not working yet 2025-03-26 00:07:05 -07:00
LICENSE Initial commit 2024-11-22 09:18:16 +00:00
README.md read me 2025-03-27 02:21:49 -07:00
composer.json minimum stablity=dev (for now) 2025-03-29 03:11:31 -07:00
phpunit.xml.dist not used to plugin testing - trying to get working but fixtures not working yet 2025-03-26 00:07:05 -07:00

README.md

CakeProducts plugin for CakePHP

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require hi-powered-dev/cake-products

Database Structure

Products belong to ProductCategories, ProductCategories is hierarchical and belongs to ProductCatalogs.

ProductCategoryAttributes belongs to ProductCategories and attributes are inherited from their parents up the category tree.

ProductCategoryAttributes can have many ProductCategoryAttributeOptions (constrained attributes)

You can either load the plugin with routes enabled to use default controller actions, or just use/extend the database structure and use your own controllers