This members-only tutorial provides the steps to use the recently introduced Dynamic Slider composite element to display products that belong to the same category as the current product on single product pages in Oxygen.
Edit the Template that applies to singular products with Oxygen.
Note: Hydrogen Pack/Paste codes are provided at the end of this tutorial so you can simply copy and paste the entire structure w/o manually building - if you want.
Add a Dynamic Slider composite element.
Select the Repeater inside and set the WP Query to this manual one: