I am working on an online store using Woocommerce, many products have variations in size and price. Is there a way to have the range of prices (highest to lowest) of the variations on the product page?
Leave a Reply
You must be logged in to post a comment.
try it like this:
source: https://gist.github.com/mikejolley/1600117
Stumbled upon this thread looking for the same solution for Grouped products. Eventually wound up with the code below… so I’m posting it if it helps others. This will not work for variable products, just grouped. Figured this would be relevant since grouped/variable products are fairly similar and I thought others might also stumble upon this thread. You could probably clean up the span some but this is the quick and dirty version that got me going!