Split out fragment code into wc-cart-fragments Closes #2528