• v1.2.8 cf11cb5bd1

    Release version 1.2.8 - Critical bugfixes for admin UI and data persistence

    magdev released this 2025-12-30 00:27:19 +00:00 | 31 commits to main since this release

    1. Currency Symbol Missing in Admin Tables

      • Added currency symbols to all price column headers (displays as 'Price (€)')
      • Updated all input placeholders to include currency (e.g., 'e.g., 9.99 €')
      • Applied to simple products, variable parents, and all variations
    2. Variation Pricing Data Not Deleted Properly

      • Fixed save logic that was persisting empty arrays instead of deleting meta
      • Changed from always saving on isset to checking for empty before save/delete
      • Affects both tier and package pricing on variations
    • Updated table headers to use printf(__('Price (%s)'), get_woocommerce_currency_symbol())

    • Modified all render methods to pass currency_symbol to Twig templates

    • Updated admin/tier-row.twig and admin/package-row.twig placeholders

    • Added if (!empty()) checks before update_post_meta() calls

    • Properly calls delete_post_meta() when pricing entries are removed

    • includes/class-wc-tpp-product-meta.php

    • templates/admin/tier-row.twig

    • templates/admin/package-row.twig

    🤖 Generated with Claude Code

    Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com

    Downloads