To earn Loyalty points when shopping online, you must be registered for an online Loyalty account. As long as you're logged into your online account before placing your order, points will be automatically added to your balance after your order is shipped.
More information on earning points and being rewarded Loyalty vouchers can be found here.