Solved

You Want to Filter a Product Collection So That It

Question 5

Multiple Choice

You want to filter a product collection so that it will return only SKUs 12 and 123. You will use a call to $collection->addFieldToFilter ('sku', ____________ ) ; Two of the following arrays could be used to complete that call correctly. Which two? (Choose two)


A) array ('sku' => 12, 'sku' => 123)
B) array (array ('eq' => 12) , array ('eq' => 123) )
C) array (12 => true, 123 => true) '
D) array (12, 123)
E) array (array ('int' => 12) , array ('int' => 123) )

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions