Sunday, 24 April 2016

Two foreach but want to get Single times value in PHP

foreach($this->getCollection() as $res){



foreach($orderItem as $item)
{

$item= $item;

}



echo $item->product_id;    //print one time

echo $res->entity_id;



}

No comments:

Post a Comment