Skip to content

Version 2.4.3

Compare
Choose a tag to compare
@Mesuva Mesuva released this 23 Nov 16:26
· 326 commits to master since this release

This release adds version 9 support, whilst continuing to support version 8 of Concrete CMS (using the same version).

With Version 9 of Concrete CMS being only recently released, please be aware that there may still be minor interface fixes to make. Please report any issues via the Issues section here on Github.

If you are currently running a site on version 8, with version 2.3.6 of Community Store, there's no critical need to update to this version.

For new Concrete CMS sites on version 8 this version of the add-on is recommended, and for version 9 sites it is required.

If you plan to upgrade an existing version 8 site to version 9 at some point, please upgrade to this release (or later) prior to updating Concrete.

New features:

  • adds ability to sort products by SKU
  • adds cost price field for products
  • adds options to hide various fields on product dashboard forms (e.g. wholesale prices)
  • adds ability to set products to default active and shippable statuses for new products
  • Use a nonce to prevent abuse of the /checkout/external URL (thanks JeRoNZ)
  • top level products page is no longer hidden from navigation by default on install
  • neater order and product searching in dashboard (v9)

Fixes

  • fix to ordering by status (thanks evgk)
  • fixes to image helper behaviour for V9 (thanks mnakalay)
  • fix to product variation display logic
  • better escaping of product labels on product blocks
  • allow different customer-entered priced products to be treated as different items in the cart
  • fix to quantity value when changing to unavailable product option and back to an available one
  • labelling improvements for Product List block options
  • replace instances of 'concrete5' throughout doco/interface

Updating to Version 9 considerations

If you are upgrading a site from version 8 to version 8 and you have overridden or created custom templates for the Product or Product List blocks, you may need to review the way that the image helper is defined.

The new method uses named parameters, e.g.:
https://github.com/concrete5-community-store/community_store/blob/master/blocks/community_product/view.php#L4

Bootstrap 5 classes

Note that block and page output has been set to simultaneously classes for both Bootstrap 4 and Bootstrap 5. If you find that these conflict with the theme you are using, the can be safely adjusted with overrides. However, classes that start with 'store-' should be left in place, as they may be used for non-styling purposes.