Basket is not correctly loaded from template