Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 (?) , you can switch to a simple comment.
Switch to a voting comment New
fahim5485
4 months, 2 weeks 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 ...