Refactor code in plugin "cart"