Only flush theme transients if the old theme engine is being active.
Avoid serializing and saving the cart in wp-admin area