Two counters, two kinds of record
The pharmacy and the front store ring up separately. Prescriptions are recorded in your pharmacy file and can be found later. Cosmetics, snacks and over-the-counter products only get the paper slip from the checkout, and Shoppers doesn't describe a way to reprint it.
Prescription records for claims and taxes
The Digital Pharmacy profile lists your prescription history. For a yearly total, for an insurer or the medical expense tax credit, ask the pharmacist for a printout of the year's prescription purchases.
Front-store receipts
A bank statement shows Shoppers and a total, with no products and no taxes. For anything you'll expense, keep the receipt or photograph it at the cash.
PC Optimum isn't a receipt
Shoppers is part of PC Optimum, and the points history shows that you shopped, not what you bought. It won't stand in for a receipt on a return or an expense claim.