add cart.data file
add _sync function