Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Include Price List cache key in `spree_storefront_base_cache_key`

Damian Legawiec6f20cbc288cb
diff --git a/storefront/app/helpers/spree/storefront_helper.rb b/storefront/app/helpers/spree/storefront_helper.rb
index 946129f0cd..a85670d80f 100644
--- a/storefront/app/helpers/spree/storefront_helper.rb
+++ b/storefront/app/helpers/spree/storefront_helper.rb
@@ -12,7 +12,8 @@ module Spree
@spree_storefront_base_cache_key ||= [
spree_base_cache_key,
current_wishlist,
- current_order
+ current_order,
+ Spree::Current.price_lists.cache_key_with_version
].compact
end