2017-05-18 14 views

답변

2

로 증가되어야 할 때 카트이

if(isset($this->_cart_contents[$rowid])) 
{ 
$this->_cart_contents[$rowid]['qty']++; 
return $rowid; 
} 

unset($this->_cart_contents[$rowid]); 
에 다음 코드

unset($this->_cart_contents[$rowid]); 

을 대체한다는 것입니다