Refactor to PSR-4: rename files and switch namespace

- Rename files to PascalCase: Product_Type → ProductType, Cart_Handler →
  CartHandler, Product_Selector → ProductSelector, Stock_Manager →
  StockManager, Admin/Product_Data → Admin/ProductData
- Switch namespace from WC_Composable_Product to Magdev\WcComposableProduct
- Update all cross-references in PHP, CSS, JS, translations, and docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 12:35:02 +01:00
parent dd5965ae4c
commit ea2261d8d7
21 changed files with 281 additions and 281 deletions

View File

@@ -1,7 +1,7 @@
/**
* Admin Styles for Composable Products
*
* @package WC_Composable_Product
* @package Magdev\WcComposableProduct
*/
/* Hide composable panel by default */

View File

@@ -1,7 +1,7 @@
/**
* Frontend Styles for Composable Products
*
* @package WC_Composable_Product
* @package Magdev\WcComposableProduct
*/
.wc-composable-product-selector {

View File

@@ -1,7 +1,7 @@
/**
* Admin JavaScript for Composable Products
*
* @package WC_Composable_Product
* @package Magdev\WcComposableProduct
*/
(function($) {

View File

@@ -1,7 +1,7 @@
/**
* Frontend JavaScript for Composable Products
*
* @package WC_Composable_Product
* @package Magdev\WcComposableProduct
*/
(function($) {