fixed single foreach bug and next product link with thumbnail added