• Resolved Mohammad Afzali

    (@afzaliwp)


    Hi.
    My product has three variations and two of them are out-of-stock.
    The problem is in the archive or the single product, It is showing the price like this:
    90.00$ – 75.00$
    It is showing the price of other variations that are out-of-stock.

    variations are added like this:
    var 1: size:39 – delivery: type1 (out-of-stock) 80$ –with discount–> 75$
    var 1: size:40 – delivery: type2 (in-stock (1)) 100$ –with discount–> 90$
    var 1: size:41 – delivery: type1 (out-of-stock) 85$ –with discount–> 80$

    I expect to show the price like this:
    100$ 90$
    only showing the price of the in-stock variations

    (It is a custom theme that I coded by the way but I didn’t change anything about price.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @afzaliwp,

    I’ve performed some cross-testing on one of my test sites which has the latest version of WordPress, WooCommerce and the free Storefront theme.

    When doing so I’ve not been able to replicate the behavior that you are describing. This is what the product page looks like:


    Link to image: https://i.imgur.com/2rxQCT4.png

    Typically, issues like these are caused by a conflicting plugin or theme installed on the site. In order to troubleshoot this further would you mind taking the steps highlighted on our documentation here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/

    Let us know how it goes.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    We’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce is showing price of out-of-stock variations’ is closed to new replies.