exam questions

Exam M70-101 All Questions

View all questions & answers for the M70-101 exam

Exam M70-101 topic 1 question 15 discussion

Actual exam question from Magento's M70-101
Question #: 15
Topic #: 1
[All M70-101 Questions]

The final price for the product on the product view page is__________.

  • A. taken from the catalog_product_index_price table
  • B. taken from the catalog_product_index_price_idx table
  • C. taken from the catalog_product_index_price_f inal_idx table
  • D. calculated on-the-fly on php-level
  • E. pre-calculated in the products price attribute
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
fahim5485
1 year ago
Selected Answer: A
In a Magento system, the final price for a product is typically not calculated on-the-fly on the PHP level when displaying the product on the product view page. Magento employs an indexing mechanism to optimize and store product prices, and the final price is usually retrieved from the indexed tables, such as the catalog_product_index_price table. Calculating the price on-the-fly on the PHP level for each product view can be resource-intensive and slow, especially in situations with a large number of products. Magento's indexing approach helps to enhance the performance of price retrieval for product pages. So, for the final price on the product view page in Magento, the common practice is to fetch it from the indexed tables rather than calculating it dynamically on the PHP level.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago