You've already forked wc-tier-and-package-prices
Release version 1.1.22 - UI improvements and bug documentation
- Increased width of label input fields in admin (short → regular) - Documented double-install bug workaround in CHANGELOG - Updated version to 1.1.22 across all files - Created release package with proper exclusions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
21
CHANGELOG.md
21
CHANGELOG.md
@@ -5,6 +5,27 @@ All notable changes to WooCommerce Tier and Package Prices will be documented in
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.1.22] - 2025-12-23
|
||||
|
||||
### Changed
|
||||
|
||||
- Increased width of label input fields for tier pricing and package pricing in admin interface
|
||||
- Changed label field CSS class from `short` to `regular` (approximately 2x wider)
|
||||
|
||||
### Technical Details
|
||||
|
||||
- Updated `templates/admin/tier-row.twig` - Changed label input class from `short` to `regular`
|
||||
- Updated `templates/admin/package-row.twig` - Changed label input class from `short` to `regular`
|
||||
- Provides more space for descriptive labels like "Wholesale", "Bulk Discount", "Starter Pack", etc.
|
||||
- Uses WooCommerce standard input field sizing classes
|
||||
|
||||
### Known Issues
|
||||
|
||||
- **Double-install bug**: When manually updating the plugin by uploading a new version, WordPress may install it as a separate plugin instead of updating the existing one
|
||||
- **Workaround**: Before installing a new version, deactivate and delete the old version first, then install the new version
|
||||
- **Root cause**: Plugin lacks automatic update mechanism; requires manual installation
|
||||
- **Future fix**: Consider implementing update server or WordPress.org repository integration
|
||||
|
||||
## [1.1.21] - 2025-12-23
|
||||
|
||||
### Added
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# WooCommerce Tier and Package Prices - AI Context Document
|
||||
|
||||
**Last Updated:** 2025-12-23
|
||||
**Current Version:** 1.1.21
|
||||
**Current Version:** 1.1.22
|
||||
**Author:** Marco Graetsch
|
||||
**Project Status:** Production-ready WordPress plugin
|
||||
|
||||
@@ -255,7 +255,7 @@ _e('Text to translate', 'wc-tier-package-prices')
|
||||
|
||||
Text domain: `wc-tier-package-prices`
|
||||
|
||||
**Available Translations (as of v1.1.21):**
|
||||
**Available Translations (as of v1.1.22):**
|
||||
|
||||
- `en_US` - English (United States)
|
||||
- `de_DE` - German (Germany, formal)
|
||||
@@ -383,6 +383,8 @@ Roadmap for the upcoming development.
|
||||
#### Version 1.1.x
|
||||
|
||||
1. ~~Add translations for `de_CH`, `de_DE_informal`, `fr_CH`, `it_CH`~~ ✅ **COMPLETED in v1.1.21**
|
||||
2. ~~The double-install bug is back again. A new version of the plugin is installed as new plugin instead of updating the previous version.~~ ✅ **DOCUMENTED in v1.1.22** - Added workaround to CHANGELOG. Root cause: No automatic update mechanism (requires WordPress.org repository or custom update server).
|
||||
3. ~~Make the label fields in the backend for tierprices and package-prices twice as long as it is.~~ ✅ **COMPLETED in v1.1.22**
|
||||
|
||||
#### Version 1.2.x
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "magdev/wc-tier-package-prices",
|
||||
"description": "WooCommerce plugin for tier pricing and package prices with Twig templates",
|
||||
"version": "1.1.21",
|
||||
"version": "1.1.22",
|
||||
"type": "wordpress-plugin",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"authors": [
|
||||
|
||||
BIN
releases/wc-tier-and-package-prices-1.1.22.zip
Normal file
BIN
releases/wc-tier-and-package-prices-1.1.22.zip
Normal file
Binary file not shown.
1
releases/wc-tier-and-package-prices-1.1.22.zip.md5
Normal file
1
releases/wc-tier-and-package-prices-1.1.22.zip.md5
Normal file
@@ -0,0 +1 @@
|
||||
7d5a5c7980a91dff5167c90a6f3290b0 wc-tier-and-package-prices-1.1.22.zip
|
||||
1
releases/wc-tier-and-package-prices-1.1.22.zip.sha256
Normal file
1
releases/wc-tier-and-package-prices-1.1.22.zip.sha256
Normal file
@@ -0,0 +1 @@
|
||||
f94dee838a3f288b4acb3b3d9a4e88ef987f9b1bc918403186014d8d43fee6d9 wc-tier-and-package-prices-1.1.22.zip
|
||||
@@ -30,7 +30,7 @@
|
||||
name="_wc_tpp_packages[{{ index|esc_attr }}][label]"
|
||||
value="{{ package.label|default('')|esc_attr }}"
|
||||
placeholder="{{ 'e.g., Starter Pack'|__('wc-tier-package-prices') }}"
|
||||
class="short">
|
||||
class="regular">
|
||||
</p>
|
||||
<button type="button" class="button wc-tpp-remove-package">{{ 'Remove'|__('wc-tier-package-prices') }}</button>
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
name="_wc_tpp_tiers[{{ index|esc_attr }}][label]"
|
||||
value="{{ tier.label|default('')|esc_attr }}"
|
||||
placeholder="{{ 'e.g., Wholesale'|__('wc-tier-package-prices') }}"
|
||||
class="short">
|
||||
class="regular">
|
||||
</p>
|
||||
<button type="button" class="button wc-tpp-remove-tier">{{ 'Remove'|__('wc-tier-package-prices') }}</button>
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Plugin Name: WooCommerce Tier and Package Prices
|
||||
* Plugin URI: https://src.bundespruefstelle.ch/magdev/wc-tier-package-prices
|
||||
* Description: Add tier pricing and package prices to WooCommerce products with configurable quantities at fixed prices
|
||||
* Version: 1.1.21
|
||||
* Version: 1.1.22
|
||||
* Author: Marco Graetsch
|
||||
* Author URI: https://src.bundespruefstelle.ch/magdev
|
||||
* Text Domain: wc-tier-package-prices
|
||||
@@ -23,7 +23,7 @@ if (!defined('ABSPATH')) {
|
||||
|
||||
// Define plugin constants
|
||||
if (!defined('WC_TPP_VERSION')) {
|
||||
define('WC_TPP_VERSION', '1.1.21');
|
||||
define('WC_TPP_VERSION', '1.1.22');
|
||||
}
|
||||
if (!defined('WC_TPP_PLUGIN_DIR')) {
|
||||
define('WC_TPP_PLUGIN_DIR', plugin_dir_path(__FILE__));
|
||||
|
||||
Reference in New Issue
Block a user