To have a loyalty campaign that will give % of the total paid only for retail products

To have the a loyalty campaign that will give % of the total paid only for retail products.