cart autorefresh working