Plugin Directory

Changeset 3810457


Ignore:
Timestamp:
11/19/2026 12:25:23 AM (less than one hour ago)
Author:
bundleboss
Message:

AddOnBoss 2.15.1: very large quantity grids load much faster, going Back to a grid never puts quantities under the wrong colours, and the price summary keeps no hidden wording.

Location:
addon-boss/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • addon-boss/trunk/addon-boss.php

    r3809229 r3810457  
    44 * Plugin URI:  https://bossmage.com/addonboss/
    55 * Description: Reusable option sets, custom fields, add-ons and personalisation on any WooCommerce product - no bundle required. Runs happily alongside BundleBoss.
    6  * Version:     2.15.0
     6 * Version:     2.15.1
    77 * Author:      Stefanos Konstantinou
    88 * License:     GPLv2 or later
    … …  
    4242} else {
    4343
    44         define( 'ADDON_BOSS_VERSION', '2.15.0' );
     44        define( 'ADDON_BOSS_VERSION', '2.15.1' );
    4545        define( 'ADDON_BOSS_PATH', plugin_dir_path( __FILE__ ) );
    4646        define( 'ADDON_BOSS_URL', plugin_dir_url( __FILE__ ) );
  • addon-boss/trunk/changelog.txt

    r3809229 r3810457  
    44read without opening the WordPress.org listing. readme.txt is the source of
    55truth for what WordPress.org shows; the two must stay in step.
     6
     72026-11-18 - version 2.15.1
     8* Fixed (Pro): very large quantity grids load much faster. From 1,000 quantity boxes up, a design's boxes are drawn when the shopper opens it instead of all arriving with the page: a grid of 92 sign designs in 180 sizes went from 15 MB to 1.4 MB, and a phone has a fiftieth of the page to build. Prices, the basket and links that open a design are unchanged, and smaller grids load as before.
     9* Fixed (Pro): going Back to a quantity grid no longer shows quantities under the wrong colours. When the browser had to rebuild the page, it could put a quantity typed for one colour into another colour's box, with no total shown. The grid now comes back empty in that case, ready to fill again, and when the browser kept the page, every quantity and the total are exactly as the shopper left them.
     10* Fixed: the price summary under the options no longer keeps its unfinished wording hidden on the page. A theme that styles all text inside the summary could show it, such as "You save %s", under the Grand total. The summary reads exactly as before.
    611
    7122026-11-18 - version 2.15.0
  • addon-boss/trunk/languages/addon-boss.pot

    r3809229 r3810457  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: AddOnBoss - Product Add-Ons & Extra Product Options for WooCommerce 2.15.0\n"
     5"Project-Id-Version: AddOnBoss - Product Add-Ons & Extra Product Options for WooCommerce 2.15.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/addon-boss\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    16101610msgstr ""
    16111611
    1612 #. translators: %s: the total price
    1613 #: shared/options-engine/standalone.php:12415
    1614 #, php-format
    1615 msgid "%s total"
    1616 msgstr ""
    1617 
    16181612#. translators: %s: the options subtotal price
    16191613#: shared/options-engine/standalone.php:12416
  • addon-boss/trunk/readme.txt

    r3809229 r3810457  
    55Tested up to: 7.1
    66Requires PHP: 8.0
    7 Stable tag: 2.15.0
     7Stable tag: 2.15.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    240240== Changelog ==
    241241
     242= 2.15.1 - 2026-11-18 =
     243* Fixed (Pro): very large quantity grids load much faster. From 1,000 quantity boxes up, a design's boxes are drawn when the shopper opens it instead of all arriving with the page: a grid of 92 sign designs in 180 sizes went from 15 MB to 1.4 MB, and a phone has a fiftieth of the page to build. Prices, the basket and links that open a design are unchanged, and smaller grids load as before.
     244* Fixed (Pro): going Back to a quantity grid no longer shows quantities under the wrong colours. When the browser had to rebuild the page, it could put a quantity typed for one colour into another colour's box, with no total shown. The grid now comes back empty in that case, ready to fill again, and when the browser kept the page, every quantity and the total are exactly as the shopper left them.
     245* Fixed: the price summary under the options no longer keeps its unfinished wording hidden on the page. A theme that styles all text inside the summary could show it, such as "You save %s", under the Grand total. The summary reads exactly as before.
     246
    242247= 2.15.0 - 2026-11-18 =
    243248* New: option set titles, choices and notes, and a product's own field words, can be translated with Polylang or WPML. A German page reads "Farbe: Schwarz", and the cart and order say what the shopper read. A translated product keeps the same option settings as the original.
    … …  
    321326== Upgrade Notice ==
    322327
     328= 2.15.1 =
     329Very large quantity grids (Pro) load much faster, and going Back to a grid never shows quantities under the wrong colours.
     330
    323331= 2.15.0 =
    324332Option names and choices can be translated with Polylang or WPML, and option sets are stored one per row, so saving and shop pages are faster on large libraries.
  • addon-boss/trunk/shared/options-engine/standalone.php

    r3809229 r3810457  
    1243112431                /* translators: 1: how many are being bought, 2: what each one is. e.g. "3 × Team shirt" */
    1243212432                . ' data-qty-tpl="' . esc_attr__( '%1$s × %2$s', 'addon-boss' ) . '"'
     12433                // The other words the script fills in ride here too, never as hidden
     12434                // text: a span kept out of sight only by its hidden attribute is one
     12435                // theme rule away from printing "+ %s options" under the total, and
     12436                // anything that reads the box's text reads the placeholder with it.
     12437                /* translators: %s: the options subtotal price */
     12438                . ' data-tpl-opts="' . esc_attr__( '+ %s options', 'addon-boss' ) . '"'
     12439                /* translators: %s: what a quantity break takes off the total, like £24.60 */
     12440                . ' data-tpl-save="' . esc_attr__( 'You save %s', 'addon-boss' ) . '"'
    1243312441                . ' data-symbol="' . esc_attr( get_woocommerce_currency_symbol() ) . '"'
    1243412442                . ' data-decimals="' . esc_attr( (string) wc_get_price_decimals() ) . '"'
    … …  
    1245712465                // The owed line: see addon_boss_standalone_left_line_html().
    1245812466                . addon_boss_standalone_left_line_html() // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped where built.
    12459                 . '<span class="bb-st-tpl-total" hidden>' . /* translators: %s: the total price */ esc_attr__( '%s total', 'addon-boss' ) . '</span>'
    12460                 . '<span class="bb-st-tpl-opts" hidden>' . /* translators: %s: the options subtotal price */ esc_attr__( '+ %s options', 'addon-boss' ) . '</span>'
    12461                 . '<span class="bb-st-tpl-save" hidden>' . /* translators: %s: what a quantity break takes off the total, like £24.60 */ esc_html__( 'You save %s', 'addon-boss' ) . '</span>'
    1246212467                . '</div>';
    1246312468        addon_boss_standalone_receipt_held( (string) ob_get_clean() );
    … …  
    1378813793                        var totalEl = box.querySelector( '.bb-st-total' );
    1378913794                        var noteEl  = box.querySelector( '.bb-st-note' );
    13790                         var tpl     = function ( sel ) { var el = box.querySelector( sel ); return el ? el.textContent : '%s'; };
     13795                        // The server's words for the total, from the box's own attributes.
     13796                        var tpl     = function ( key ) { return box.dataset[ key ] || '%s'; };
    1379113797                        // ── The receipt lines, from the walk above. ────────────────────
    1379213798                        var linesEl = box.querySelector( '.bb-st-lines' );
    … …  
    1394213948                                // states the figure plainly, and a quantity break's saving.
    1394313949                                if ( qdSave > 0 ) {
    13944                                         noteEl.innerHTML = bbEscape( tpl( '.bb-st-tpl-save' ) ).replace( '%s', bbMoneyCell( box, qdSave + bbAdjOff, bbAdjOff || undefined === qdSaveO ? undefined : qdSaveO ) );
     13950                                        noteEl.innerHTML = bbEscape( tpl( 'tplSave' ) ).replace( '%s', bbMoneyCell( box, qdSave + bbAdjOff, bbAdjOff || undefined === qdSaveO ? undefined : qdSaveO ) );
    1394513951                                } else {
    1394613952                                        noteEl.textContent = '';
    … …  
    1394813954                                box.hidden = false;
    1394913955                        } else if ( opts > 0 || flat > 0 ) {
    13950                                 bbSetMoney( totalEl, box, opts * qty + flat, tpl( '.bb-st-tpl-opts' ) );
     13956                                bbSetMoney( totalEl, box, opts * qty + flat, tpl( 'tplOpts' ) );
    1395113957                                noteEl.textContent  = '';
    1395213958                                box.hidden = false;
Note: See TracChangeset for help on using the changeset viewer.