Set cart data only when there are data to set

Closes #3578096

Merge request reports

Loading