The plugin comes a long with a few placeholders which can be used in order to dynamically display products based on certain parts of your context.
For instance if you want create a list of bestselling products, based on the title of your post, the shortcode looks as follows:
Overview of all available placeholders
|%post_title%||Title of the current post|
|%page_title%||Title of the current page|
|%post_category%||Name of the main category of the current post|
|%yoast_focus_keyword%||Only available when using Yoast SEO.|