Im trying to echo the price of a configurable product in the description but it doesn't update when I select some options.
I have a bed thats starts at £149.00 and with each different size you select 2.6, 3', 4', 4'6", 5', 6' the price goes up by £20 - £150, but when I echo the price it only echos the base price of the configurable product and does not update the price when I select different sizes.
This is the code from
<?php echo $_prodcut->getFinalPrice(); echo number_format($_product->getFinalPrice(), '2', '.', ','); ?>
now Ideally I want the price to be echoed at the top where it is originally and at the bottom because on mobile customers are having to scroll to the top to view the adjusted price, and I simply want to echo it at the bottom aswell so they don't have to go back and forth, any ideas ?