Triggers
A variant is unavailable when something you switched on says so. There are two triggers, each its own switch under When to shuffle images in Settings, and a variant counts only for the ones you have on.
Hidden from the online store
Section titled “Hidden from the online store”The switch is A variant is unpublished, on by default. A variant counts as hidden when it is not published to your Online Store sales channel. Other channels do not count: a variant you sell only at a point of sale, or only on a marketplace, is still hidden from the shopper on your website, which is whose featured image this is about.
The app works out which of your channels is the online store the first time you open it. Until it has, it cannot tell “hidden from the website” from “hidden from the POS”, so it deliberately treats every variant as published rather than guess. While that is the case Settings shows a warning beside the switch (“This trigger cannot run yet”), and opening the app again tries once more.
Sold out
Section titled “Sold out”The switch is A variant sells out, off by default. A variant counts as sold out when Shopify says it cannot be bought right now: no sellable quantity, and the variant is not set to continue selling when out of stock. A variant set to keep selling is never sold out as far as the app cares, whatever its stock count says.
On stores with several locations this is Shopify’s own verdict on whether the variant can be purchased online, not a sum of the numbers in every warehouse.
The sell-out delay
Section titled “The sell-out delay”By default there is none. The images move as soon as the app learns the variant is sold out, usually within a minute.
Stock flickers, though. An order is cancelled, a warehouse syncs, a point of sale rings something through. If your stock does that, a gallery that reshuffles on every flicker is worse than one that reacts late, and you can make the sold-out trigger wait: set Wait before reacting to a sell-out, under When to shuffle images in Settings, to a number of hours. A variant must then have been sold out for at least that long before its images move. While the wait is running the app’s answer for that product is “A variant is sold out but has not been sold out long enough yet”.
With a wait set, the scheduled check does the timing. The wait starts at the first scheduled check that finds the variant sold out and the images move at the first one after it ends, so the real delay is your number plus up to a day, not your number to the minute.
Coming back into stock is never delayed. The moment a variant can be bought again, its images are eligible to return.
When neither trigger is on
Section titled “When neither trigger is on”The app does nothing to any gallery.