public function setProductCode( $code )
	{
		$this->_checkCode( $code );

		if ( $code == $this->getProductCode() ) { return; }

		$this->_values['prodcode'] = (string) $code;
		$this->setModified();
	}
public function setProductCode( $code )
	{
		$this->_checkCode( $code );

		if ( $code == $this->getProductCode() ) { return; }

		$this->_values['prodcode'] = (string) $code;
		$this->setModified();
	}
public function setProductCode ( $ code ) { $ this -> _checkCode ( $ code ) ; if ( $ code == $ this -> getProductCode ( ) ) { return ; } $ this -> _values [ 'prodcode' ] = ( string ) $ code ; $ this -> setModified ( ) ; }
Sets the code of a product the customer has selected.

@param string $code Product code
Sets the code of a product the customer has selected .