Skip to content

v3.0.2 — Checkbox attributes no longer stop the cart; shipping titles escaped

Latest

Choose a tag to compare

@dbltoe dbltoe released this 04 Oct 23:37
· 1 commit to master since this release

Zen Cart 2.0.0 – 2.3.0, PHP 8. Upload zc_plugins/MultiShip/v3.0.2/ and upgrade from Admin → Modules → Plugin Manager; no core or template files change, and nothing in your settings or database changes.

Fixed

  • A product with a ticked checkbox attribute in the cart stopped the shopping cart page with FATAL MySQL error 1054: Unknown column '13_chk36' in 'where clause'. Zen Cart stores a ticked checkbox under a combined key (<option>_chk<value>), and the plugin's check for downloadable attributes read that key as if it were a plain option number. It now reads both halves of the key, so checkbox, text and every other attribute type are checked the same way. Present since 3.0.0, on every Zen Cart and PHP version the plugin supports.
  • A multiship order couldn't be placed if the chosen shipping method's title contained an apostrophe (Bob's Courier, for example). The title was written into the order unescaped and broke the query; it's now escaped.

Multiple Ship-To Addresses Pro works with 3.0.2 unchanged.

Full history in the Read Me. Support: Zen Cart forum thread.