Changed elseif to if when checking shop context