Hello Nataliyag2,
You are correct that all of these require custom code. Additionally, products related to all themes are randomized.
Best Regards, 8Theme’s Team