承接 hi-powered-dev/cake-products 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hi-powered-dev/cake-products

最新稳定版本:v0.0.21

Composer 安装命令:

composer require hi-powered-dev/cake-products

包简介

A CakePHP plugin for managing product catalog(s)

README 文档

README

Installation

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

The recommended way to install is:

composer require hi-powered-dev/cake-products

Be sure to run the DB migrations:

bin/cake migrations migrate -p CakeProducts

And the DB seed(s):

bin/cake migrations seed -p CakeProducts

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

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)

ProductCategoryVariants are templates/common starting points for variants - when adding a new product in that category it is easy to toggle on that category variant so the product uses the variant

ProductCategoryVariantOptions are the various options for each category variant

ProductVariants are the assigning of category variants to a product. A product can have as many variants as it's category has category variants. A variant must exist at the category level in order to be assigned to a product.

Products can have many ProductSkus. A ProductSku is a specific combination of variant options - using a T-Shirt with a size and a color variant for example, the ProductSku would be a Red XL T-Shirt. Not all variant combinations need be used.

ProductSkuVariantValues is where the variant values of each SKU are stored.

Suggested Plugins

Use the CakeCarts plugin to quickly enable shopping cart functionality with your products CakeCarts

composer require hi-powered-dev/cake-carts

统计信息

  • 总下载量: 153
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 1

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: AGPL-3.0-or-later
  • 更新时间: 2025-03-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固