Go to file Use this template
Brandon Shipley 868f9dbcce
CI / testsuite (mysql, 8.2, ) (push) Waiting to run Details
CI / testsuite (mysql, 8.4, ) (push) Waiting to run Details
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Waiting to run Details
CI / Coding Standard & Static Analysis (push) Waiting to run Details
more product types (events, subscriptions, digital goods), photos templates index/view
2025-11-03 23:15:31 -08:00
.gitea/workflows missed php 8.1 in ci.yaml 2025-09-05 23:34:57 -07:00
.github/workflows gitea and github ci workflows 2025-03-27 01:48:12 -07:00
config category id not null but product id can be null same with sku id - product photos 2025-11-01 23:39:15 -07:00
src more product types (events, subscriptions, digital goods), photos templates index/view 2025-11-03 23:15:31 -08:00
templates more product types (events, subscriptions, digital goods), photos templates index/view 2025-11-03 23:15:31 -08:00
tests handle internal id vs integer id category in product photos 2025-11-02 01:13:21 -07:00
webroot upload test passing + file not getting deleted every time - well it is but we now use a copy lol 2025-08-10 02:50:22 -07:00
.gitignore gitignore, product photos fixture, copy/delete in base controller test setUp/tearDown 2025-08-19 01:13:13 -07:00
LICENSE license update use MIT 2025-04-07 23:57:41 -07:00
README.md read me 2025-03-27 02:21:49 -07:00
composer.json added suggested cart package 2025-10-11 22:50:44 -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