Supply Show Compare at Price showing for products with no compare at price set

We sell products with different variants that are different prices. With “Show Compare At Price” checked to show the savings on other products, it is showing a discount on products with no savings set.

Example:

SKU 12345 has variant A at 5$ and B at 10$. No compare at price is set, but with the “Show Compare At Price” checked, it is showing as 5$ off and on sale.

Show More

for that we need to modify select callback function of variant change event.

i can do that for you if you add me as a staff in your store my emaild id.