magento-2-seo
magento-2-seo copied to clipboard
MAP pricing is not accounted for.
Preconditions
- Magento: 2.4.2
- PHP: 7.4.27
Steps to reproduce
- Install extension
- Create a Product and set a "Minimum Advertised Price" under advanced pricing.
- Save product.
Expected result
- json structured data on product page should render the MAP price in the Offers/Price field.
Actual result
- 'final_price' is displayed instead, circumventing the MAP price. Making your product advertise at a lower price. (good for SEO, bad for vendor/manufacture business relations).
Problem
Mageplaza/Seo/Plugin/SeoRender.php does not account for MAP pricing on line 374
'price' => $currentProduct->getPriceInfo()->getPrice('final_price')->getValue(),
Bundled / Downloaded products would likewise be affected in their functions further down.