From fbc0d17cae52037e404a623e81f90b255dcfab08 Mon Sep 17 00:00:00 2001 From: shopkeeperdev Date: Tue, 11 Nov 2025 09:06:37 -0500 Subject: [PATCH] Rename module to AdminOrderColumns and add thumbnail removal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Major changes: - Renamed module from OrderItemsCustom to AdminOrderColumns for clarity - Added CSS to hide product thumbnails in order items view - Updated all namespaces from Shopkeeper\OrderItemsCustom to Shopkeeper\AdminOrderColumns - Updated composer package name to shopkeeper/module-admin-order-columns - Bumped version to 1.1.0 - Added layout XML and CSS files for thumbnail removal - Updated all documentation and installation instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../View/Items/Renderer/DefaultRenderer.php | 2 +- Plugin/Order/View/ItemsColumns.php | 2 +- README.md | 43 ++++++++++++------- composer.json | 8 ++-- etc/adminhtml/di.xml | 8 ++-- etc/module.xml | 2 +- registration.php | 2 +- view/adminhtml/layout/sales_order_view.xml | 11 +++++ view/adminhtml/web/css/order-items.css | 11 +++++ 9 files changed, 61 insertions(+), 28 deletions(-) create mode 100644 view/adminhtml/layout/sales_order_view.xml create mode 100644 view/adminhtml/web/css/order-items.css diff --git a/Plugin/Order/View/Items/Renderer/DefaultRenderer.php b/Plugin/Order/View/Items/Renderer/DefaultRenderer.php index 369f9c6..07b1a8e 100644 --- a/Plugin/Order/View/Items/Renderer/DefaultRenderer.php +++ b/Plugin/Order/View/Items/Renderer/DefaultRenderer.php @@ -1,5 +1,5 @@ - - diff --git a/etc/module.xml b/etc/module.xml index 16680b7..92e35d5 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,7 +1,7 @@ - + diff --git a/registration.php b/registration.php index c247303..6ddcb70 100644 --- a/registration.php +++ b/registration.php @@ -3,6 +3,6 @@ use Magento\Framework\Component\ComponentRegistrar; ComponentRegistrar::register( ComponentRegistrar::MODULE, - 'Shopkeeper_OrderItemsCustom', + 'Shopkeeper_AdminOrderColumns', __DIR__ ); diff --git a/view/adminhtml/layout/sales_order_view.xml b/view/adminhtml/layout/sales_order_view.xml new file mode 100644 index 0000000..c57217c --- /dev/null +++ b/view/adminhtml/layout/sales_order_view.xml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/view/adminhtml/web/css/order-items.css b/view/adminhtml/web/css/order-items.css new file mode 100644 index 0000000..8752854 --- /dev/null +++ b/view/adminhtml/web/css/order-items.css @@ -0,0 +1,11 @@ +/** + * Hide product thumbnails in order items view + */ +.order-tables .col-product .product-image { + display: none !important; +} + +/* Adjust product info spacing when thumbnail is hidden */ +.order-tables .col-product .product-sku-block { + margin-left: 0 !important; +}