Fetch the information you need the Gloo way with Advanced Dynamic Tags for WooCommerce thanks to WooGloo. Toggle on the feature in the Gloo plugin settings page, and you’ll be able to dynamically select and show, where you want and when you want, products by:
The latter will let you return any user’s Active Subscriptions, current or queried, while the Thank You Page Order Details Tag will fetch the ID of the order from the URL of the native WooCommerce endpoint. This means that it can only be used in the WooCommerce order endpoint. Every Dynamic Tag in WooCommerce Advanced Dynamic Tags‘ kit can return their respective values as arrays, or through a delimiter-based output.
Only have your listings return whichever products reflect the aforementioned values you pick and choose. Dynamic tags also mean that once you upgrade a product, every single listing it’s listed on will update to reflect the new tags, no need for further editing.