Add new files for shop classes in version 0.294

- Introduced class files for Basket, Category, Coupon, Order, Product, ProductAttribute, ProductCustomField, ProductSet, Promotion, Search, Shop, and Transport.
This commit is contained in:
2026-02-18 02:09:08 +01:00
parent 1283846b39
commit 99d78abea9
6 changed files with 86 additions and 2 deletions

File diff suppressed because one or more lines are too long

3
.vscode/ftp-kr.json vendored
View File

@@ -13,6 +13,7 @@
"ignore": [
".git",
".svn",
"/.vscode"
"/.vscode",
"/temp/*"
]
}

1
TODO.md Normal file
View File

@@ -0,0 +1 @@
Operacje na kombinacjach nie czyszczą cache

70
temp/build_294.sh Normal file
View File

@@ -0,0 +1,70 @@
#!/bin/bash
set -e
cd "c:/visual studio code/projekty/shopPRO"
# Files to include in update package (modified, excluding .md, tests, .phpunit)
FILES=(
admin/templates/dashboard/main-view.php
admin/templates/shop-order/order-details.php
admin/templates/shop-order/order-edit.php
admin/templates/shop-product/product-combination.php
autoload/Domain/Attribute/AttributeRepository.php
autoload/Domain/Basket/BasketCalculator.php
autoload/Domain/Category/CategoryRepository.php
autoload/Domain/Integrations/IntegrationsRepository.php
autoload/Domain/Order/OrderAdminService.php
autoload/Domain/Order/OrderRepository.php
autoload/Domain/Product/ProductRepository.php
autoload/Domain/Promotion/PromotionRepository.php
autoload/Shared/Helpers/Helpers.php
autoload/admin/Controllers/ShopOrderController.php
autoload/admin/Controllers/ShopProductController.php
autoload/admin/Controllers/ShopPromotionController.php
autoload/front/App.php
autoload/front/Controllers/ShopBasketController.php
autoload/front/Controllers/ShopClientController.php
autoload/front/Controllers/ShopOrderController.php
autoload/front/Controllers/ShopProductController.php
autoload/front/LayoutEngine.php
autoload/front/Controllers/SearchController.php
autoload/front/Views/ShopSearch.php
cron-turstmate.php
cron.php
index.php
templates/controls/alert-product-sets.php
templates/shop-basket/_partials/product-custom-fields.php
templates/shop-basket/alert-product-sets.php
templates/shop-basket/basket-details.php
templates/shop-basket/summary-view.php
templates/shop-category/blog-category-products.php
templates/shop-category/category-infinitescroll.php
templates/shop-category/category.php
templates/shop-category/products.php
templates/shop-client/client-orders.php
templates/shop-order/mail-summary.php
templates/shop-order/order-details.php
templates/shop-order/order-simple.php
templates/shop-producer/products.php
templates/shop-product/_partial/product-attribute.php
templates/shop-product/_partial/product-meta.php
templates/shop-product/_partial/product-warehouse-message.php
templates/shop-product/product-mini.php
templates/shop-product/product.php
templates/shop-product/products-box.php
templates/shop-product/products-new.php
templates/shop-product/products-top.php
templates/shop-product/promoted-products.php
templates/shop-search/product-search.php
templates/shop-search/products.php
updates/changelog.php
updates/versions.php
)
# Create directory structure and copy files
for f in "${FILES[@]}"; do
dir=$(dirname "$f")
mkdir -p "temp/temp_294/$dir"
cp "$f" "temp/temp_294/$f"
done
echo "Copied ${#FILES[@]} files to temp/temp_294/"

BIN
temp/ver_0.294.zip Normal file

Binary file not shown.

12
temp/ver_0.294_files.txt Normal file
View File

@@ -0,0 +1,12 @@
F: ../autoload/shop/class.Basket.php
F: ../autoload/shop/class.Category.php
F: ../autoload/shop/class.Coupon.php
F: ../autoload/shop/class.Order.php
F: ../autoload/shop/class.Product.php
F: ../autoload/shop/class.ProductAttribute.php
F: ../autoload/shop/class.ProductCustomField.php
F: ../autoload/shop/class.ProductSet.php
F: ../autoload/shop/class.Promotion.php
F: ../autoload/shop/class.Search.php
F: ../autoload/shop/class.Shop.php
F: ../autoload/shop/class.Transport.php