What will be the result of the $product->getFinalPrice() call?

You have loaded an instance of MagentoCatalogModelProduct in the $product variable. You know that the loaded product has the type configurable with four variations. These variations have the prices: $10, $12, $12, $15.
What will be the result of the $product->getFinalPrice() call?
A. [10, 12, 15]
B. 10
C. [10, 12, 12, 15]
D. 15

Download Printable PDF. VALID exam to help you PASS.

6 thoughts on “What will be the result of the $product->getFinalPrice() call?

  1. Correct Answer : B

    If you call directly like this, You will get only a first child product price.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.