Landing Hero: Product snippets VS illustrations

Do you guys have some guidelines on when you'll use what I'll call "product snippets" like this shopify example

enter image description here

vs when you use illustrations

enter image description here

My guess is the more complicated your product, the more likely you'll just use an illustrations, as you won't be able to get your value proposition across in a product snippet? Any other thoughts/ideas?