Added filter for setting checkout error when affiliate is required
code formatting