Solved

You Want to Filter a Product Collection So That It

Question 56

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents