Compare Variants prices

Is there are a way to get all the product variant prices for the current product?I need to compare the prices and if I have different prices to display Price From(price).
Anyone can give me a hint?

I’m working on oxid 4.6.1, i saw that in 4.9 oxid we have getVarMinPrice and getVarMaxprice…

Problem has been solved, i used the getVariants() function to take all the variants attributes and took the oxarticles__oxprice values from all variants, place them all in one array, used the min and max functions to find the smallest and the biggest number(price) from all variants placed them in array that i’m using to check if we have two different values in the array then we can display Your Price From, if we have the same value then Your Price.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.