Changeset 3810457
- Timestamp:
- 11/19/2026 12:25:23 AM (less than one hour ago)
- Location:
- addon-boss/trunk
- Files:
-
- 5 edited
-
addon-boss.php (modified) (2 diffs)
-
changelog.txt (modified) (1 diff)
-
languages/addon-boss.pot (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
shared/options-engine/standalone.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
addon-boss/trunk/addon-boss.php
r3809229 r3810457 4 4 * Plugin URI: https://bossmage.com/addonboss/ 5 5 * 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. 06 * Version: 2.15.1 7 7 * Author: Stefanos Konstantinou 8 8 * License: GPLv2 or later … … 42 42 } else { 43 43 44 define( 'ADDON_BOSS_VERSION', '2.15. 0' );44 define( 'ADDON_BOSS_VERSION', '2.15.1' ); 45 45 define( 'ADDON_BOSS_PATH', plugin_dir_path( __FILE__ ) ); 46 46 define( 'ADDON_BOSS_URL', plugin_dir_url( __FILE__ ) ); -
addon-boss/trunk/changelog.txt
r3809229 r3810457 4 4 read without opening the WordPress.org listing. readme.txt is the source of 5 5 truth for what WordPress.org shows; the two must stay in step. 6 7 2026-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. 6 11 7 12 2026-11-18 - version 2.15.0 -
addon-boss/trunk/languages/addon-boss.pot
r3809229 r3810457 3 3 msgid "" 4 4 msgstr "" 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" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/addon-boss\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 1610 1610 msgstr "" 1611 1611 1612 #. translators: %s: the total price1613 #: shared/options-engine/standalone.php:124151614 #, php-format1615 msgid "%s total"1616 msgstr ""1617 1618 1612 #. translators: %s: the options subtotal price 1619 1613 #: shared/options-engine/standalone.php:12416 -
addon-boss/trunk/readme.txt
r3809229 r3810457 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.0 7 Stable tag: 2.15. 07 Stable tag: 2.15.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 240 240 == Changelog == 241 241 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 242 247 = 2.15.0 - 2026-11-18 = 243 248 * 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. … … 321 326 == Upgrade Notice == 322 327 328 = 2.15.1 = 329 Very large quantity grids (Pro) load much faster, and going Back to a grid never shows quantities under the wrong colours. 330 323 331 = 2.15.0 = 324 332 Option 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 12431 12431 /* translators: 1: how many are being bought, 2: what each one is. e.g. "3 × Team shirt" */ 12432 12432 . ' 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' ) . '"' 12433 12441 . ' data-symbol="' . esc_attr( get_woocommerce_currency_symbol() ) . '"' 12434 12442 . ' data-decimals="' . esc_attr( (string) wc_get_price_decimals() ) . '"' … … 12457 12465 // The owed line: see addon_boss_standalone_left_line_html(). 12458 12466 . 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>'12462 12467 . '</div>'; 12463 12468 addon_boss_standalone_receipt_held( (string) ob_get_clean() ); … … 13788 13793 var totalEl = box.querySelector( '.bb-st-total' ); 13789 13794 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'; }; 13791 13797 // ── The receipt lines, from the walk above. ──────────────────── 13792 13798 var linesEl = box.querySelector( '.bb-st-lines' ); … … 13942 13948 // states the figure plainly, and a quantity break's saving. 13943 13949 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 ) ); 13945 13951 } else { 13946 13952 noteEl.textContent = ''; … … 13948 13954 box.hidden = false; 13949 13955 } 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' ) ); 13951 13957 noteEl.textContent = ''; 13952 13958 box.hidden = false;
Note:
See TracChangeset
for help on using the changeset viewer.