Add cart and favorite class to container