Skip to content

Releases: GetStoreConnect/simple-donations-theme

Release v21

Choose a tag to compare

@aaronryematawaran aaronryematawaran released this 23 Jun 01:13
a88cc54

StoreConnect v21 and up

Summary

  • Cart Menu converted to Component — The header cart dropdown (header/dropdown/cart) has been replaced with a new cart-menu component that live-reloads on cart, voucher applied, and voucher removed events, keeping cart state in sync without a full page reload.
  • Checkout components now reactive — The payment information page and vouchers section on the checkout page are now rendered as components with live reload support for voucher events (sc.voucher-applied, sc.voucher-removed), ensuring the checkout UI stays up to date when vouchers are applied or removed.
  • CPQ Bundle support on Product page — Bundle anchor variants are now conditionally rendered based on whether a product is a CPQ bundle. Non-CPQ bundles render their anchor variants inline; CPQ bundles retain the previous empty anchor target behaviour.
  • Bundle pricing on Product Cards — Product cards now display the initial_bundle_total price for bundle anchor products, giving shoppers a visible starting price when browsing bundle products.
  • Bundle button condition fix — The "Configure Bundle" button on product cards now correctly uses product.is_bundle? instead of product.bundle_lead?.
  • Price error display on Add to Cart — A price validation error field has been added to the add-to-cart form, surfacing price picker errors to the user.
  • Express Checkout subscription restriction removed — Express checkout wallets now display for all eligible products regardless of subscription status, with wallet_disabled state passed through correctly.
  • Content Security Policy header — Added content_security_policy_header render to the main theme layout.

v20

v20

Choose a tag to compare

@gersongcg gersongcg released this 14 Jul 00:51
5b9394a

v20 Notes

The major change is the transfer of the theme assets to the resources directory. Starting from SC v19 we have set a new standard of how we manage and compile JS and CSS assets in order to improve performance. This helps you to have more freedom to make changes to these resources anytime you need. Important: The assets object is not deprecated, it's still a standard object.

Changes

  • The slideshow is now using the default template, previously we were re-purposing this template and it was used for testimonial slides
  • JS custom modules use the new SC onDOMChange function and thus they can be safely used within product and content templates
  • Improvements to the featured products, the grid will become a slider after 4 products are added to the content block

Fixes

As part of code maintenance and cleanup, I removed several rendering asset tags and consolidated them into a single call. For example, the product page rendered the donation picker differently for the master product and the variant views. This approach was used to mitigate DOM changes that were breaking the script. With the onDOMChange function we no longer need a hacky solution for this issue.

v19.0.0

Choose a tag to compare

@gersongcg gersongcg released this 05 Feb 06:44
27ad13a

Compatible with StoreConnect v19 and up

V19.0.0

V19.0.0 Pre-release
Pre-release

Choose a tag to compare

@gersongcg gersongcg released this 02 Dec 07:18
ee7488a

Compatible with StoreConnect v19 and up.

Liquid reference: v1.0.0