set variable for shipping and discount