adjust order logi when product index