Replace product lookups by permalink using where() with find_by_permalink()