custom code for shop khts. Necessary for shopping.