You use theoretically to say that although something is supposed to be true or to happen in the way stated, it may not in fact be true or happen in that way.
Theoretically, the price is supposed to be marked on the shelf.
从理论上说,价格是要标在货架上的。