• Resolved dreamytravelstory

    (@dreamytravelstory)


    Hi,
    I have several products, both with and without variations.
    I am applying for a discount on both of them.
    With the products without the variations, on the front end, it shows both the old not discounted price with a strike on it and the new discounted price.
    As it’s shown on this page PRODUCT WITH NO VARIATIONS

    For the products with variations, the old price with the stroke doesn’t show, as you can see in this product: PRODUCT WITH VARIATIONS

    I would like my customers to see both the old price and the new one for all the discounted products.
    Any idea on how to fix this?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @dreamytravelstory

    Thanks for reaching out!

    I understand that you want to display the regular and discounted price for your variable products, is that correct?

    If so, this is the expected behavior for the variable products. You will be needing either a third-party plugin or custom code for your requirement.

    I did some research and found a code snippet on this link that worked on my site.

    Here’s the output on my end:

    Image Link: https://snipboard.io/p8ES1x.jpg

    Hope this helps!

    Thread Starter dreamytravelstory

    (@dreamytravelstory)

    Hi and thank you so much for the help!
    I tried the snippet but unfortunately, it doesn’t work.
    I don’t know if there is something that prevents it to do it.

    So this is how i used it: Image

    Thank you for the help

    Saif

    (@babylon1999)

    Hello @dreamytravelstory,

    Just to make sure I understand the problem correctly, the sale price is not showing for variable products.

    Actually, you don’t need a snippet for this with the Storefront theme.

    Here’s a screenshot from my test site.


    Link to image: https://imgur.com/a/FTxkIjU

    I will recommend you contact your theme developer about this, perhaps we can help based on their reply.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘discounted product with variation doesn’t show old price’ is closed to new replies.