The fast-moving Internet pricing games used by airlines and hotels are now moving deeper into the most mundane nooks of the consumer economy.

Deploying a new generation of algorithms, retailers are changing the price of products from toilet paper to bicycles on an hour-by-hour and sometimes minute-by-minute basis.

The pricing wars were fought...