How to pull itemprop value under a class?

I am trying to pull price value which is under class=roboto_red14 and its inside there is

When I try to use the class "roboto_red14" using xpathurl function it pulls multiple prices of other related products on the same page, how to get the exact product under this ?



You will need to specify the XPath in a way so only the relevant item is returned. Perhaps by using the a href attribute and filter based on product_id or currency?

Or if you know it's the first item, just add [1] to take the first item of the array.