Most, not all, of our related products are showing as the same price as the main product that is related to. For example, The main product is $248, the related product is $14. But the related product is showing as $248. The admin is configured properly and shows the correct prices. Any ideas what may be going on?
All I can tell so far is the price is being overridden by jquery. The price is correct at first and the add-to-cart function has the correct price.
The problem turn out to be with our \templates\product\list\items.phtml file. It was calling the price of the product instead of the price of the related product.
Hey,
/module-catalog/view/frontend/templates/product/view/form.phtml
Changed
var priceBoxes = $('[data-role=priceBox]');
To
var priceBoxes = $('.product-info-price [data-role=priceBox]');
If solved then mark as solution.
It solved the price issue on product view page