I have written some codes to calculate the Sale price depending on the expiry date.
it showing like this.
https://i.postimg.cc/JnHLt1BZ/image.png
but in the product have regular price and sale price ( calulate in code )
https://i.postimg.cc/3N3nV17N/image.png
custome codes here
https://codeshare.io/EBLyDo
Thank you.