Hi guys,
I’ve used the snippets from this post to change my “Sale” badge to display the % OFF based on the compare prices.
Works great however just needs a slight adjustment to show the correct % OFF when different priced variants are selected, as can be seen here the % OFF remains the same.
Many thanks.

