Tagged articles
4 articles
Page 1 of 1
php Courses
php Courses
Apr 17, 2023 · Backend Development

Generating SKU Combinations with Cartesian Product in PHP

This article demonstrates how to generate all possible SKU combinations in PHP by using Cartesian product on color, size, and version arrays, includes a full code example and the resulting array output.

ArrayBackendCode Example
0 likes · 3 min read
Generating SKU Combinations with Cartesian Product in PHP
php Courses
php Courses
Dec 14, 2022 · Backend Development

Generating Product SKU Combinations Using Cartesian Product in PHP

This article explains how to generate all possible product SKU combinations for an e‑commerce system by computing the Cartesian product of specification arrays, and provides two PHP implementations—one that returns SKU strings and another that returns nested arrays—along with sample output.

Backendcartesian productcode
0 likes · 6 min read
Generating Product SKU Combinations Using Cartesian Product in PHP
政采云技术
政采云技术
Aug 31, 2021 · Frontend Development

Minimal Inventory in E‑commerce: SKU and Algorithm Implementation

This article explains the theory and practice of handling SKU (Stock Keeping Unit) in e‑commerce platforms, covering product creation, cart selection, Cartesian‑product based SKU generation, adjacency‑matrix and set‑theory approaches, and provides complete JavaScript implementations for front‑end developers.

JavaScriptcartesian producte‑commerce
0 likes · 18 min read
Minimal Inventory in E‑commerce: SKU and Algorithm Implementation