Hello everyone,I searched a solution in this board for my problem and I found one. But it actually partially worked.
I want to display products' prices even they are stock out. I added a code into theme as the people suggested in this link:
But if product has a variant you can't display prices when the product is out of stock. It appears for a second but then it disappears.
If product doesn't have any variant it displays the prices without a problem.
How can fix this problem and make variant prices visible?
Here is the video I recorded for the problem: