adding a purchase button to the foot of each page