controller/frontend/src/Controller/Frontend/Stock/Standard.php
public function code( $codes )
	{
		if( !empty( $codes ) ) {
			$this->conditions[] = $this->filter->compare( '==', 'stock.productcode', $codes );
		}

		return $this;
	}
public function code( $codes )
	{
		if( !empty( $codes ) ) {
			$this->conditions[] = $this->filter->compare( '==', 'stock.productcode', $codes );
		}

		return $this;
	}
public function code ( $ codes ) { if ( ! empty ( $ codes ) ) { $ this -> conditions [ ] = $ this -> filter -> compare ( '==' , 'stock.productcode' , $ codes ) ; } return $ this ; }
Adds the SKUs of the products for filtering

@param array|string $codes Codes of the products
@return \Aimeos\Controller\Frontend\Stock\Iface Stock controller for fluent interface
@since 2019.04
Adds the SKUs of the products for filtering