function of registering completer

next week I will complete the function of shopping cart so I try!!