• Hi Guys,
    I’m using the latest version of Woocommerce and I’m facing an issue that I can’t resolve myself. I’ve been trying to find the answer on google and wordpress forum for days but can’t find the solution.

    Please see this product (Sorry it’s all in Spanish): http://division-nautica.com/producto/trust/

    I need to add more sizes “Medidas” to this product but whenever I add more variations (currently have 28) save it and go to select a size as a customer on the website, the prices disappear and this message shows up: “Sorry, no products matched your selection. Please choose a different combination.”

    If I remove the 29th variation that causes this issue it works again and I can see prices. Now it’s working perfect, but if I add ONE more variation the error message shows up again. I’m guessing 28 variations is the max I can have? is that possible? Any way to fix it??

    Thanks a lot for your help

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    There is no max. Can you set up a broken test product and provide the link?

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    Interestingly I’ve added more variations to the same product I’ve sent you above and it works correctly. Therefore yeah I guess it’s not a matter of max.
    The issue is with this particular product: http://division-nautica.com/producto/bandit-9/

    Please select:
    Medida: 5m2
    Barra: any variation
    Hinchador: any variation

    And you will get this message but in spanish: “Sorry, no products matched your selection. Please choose a different combination.”

    I’ve just inserted all prices for the 5m2 with the different variations and still get this issue. I already filled ALL prices for ALL variations several times (not now because it takes ages and so far it doesn’t work so I’m wasting my time) and with this particular product I ALWAYS get this problem. Now at least some variations show a price, yesterday they all showed that message and it was impossible to figure out a price.

    I would really appreciate your help! Thanks in advance

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    Where about? in functions.php or includes/class-wc-product-variable.php ?
    And do I have to copy only this part or should I click “View” and copy the whole thing? Sorry I’m not an expert with coding…

    Thanks Mike

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    Ok so I tried replacing the lines in red ( 513,514 and 515) by the green ones within includes/class-wc-product-variable.php but still have the same issue. Not sure if I did it correctly but looks pretty similar to the patch you sent me… 🙁

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Yes replace red with green. Then go to product page and retest. Thats the only variation issue I’m aware of in 2.5.

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    Hi Mike,
    I’ve done what you recommended and still had the same issue. I went and erased the attributes for the 5m2 which was creating the issue (among other sizes), add it again together with variations, input the prices again, and still doesn’t work… 🙁
    Would you know what I should??
    Thanks

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    I don’t think so because I’ve tried with 4m and 4m2 and was still getting the problem. Moreover I am using the same 2 for these products which work great…
    http://division-nautica.com/producto/trust/

    http://division-nautica.com/producto/diablo/

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Less variations in the working ones meaning ajax is not used.

    The broken one finds a matching variation with ajax.

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    haha, what would that mean for someone who’s not expert with coding?

    Should I try again with 5m2?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    If you could just test on that same product with a new attribute without the ‘2’ that would narrow the problem.

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    Ok so I just did and it works with 5m2, I will try to add all the others and let you know if it still happens. Thank you so much for the help

    Plugin Contributor Mike Jolley

    (@mikejolley)

    let me know

    Thread Starter Mallorykite2014

    (@mallorykite2014)

    Oh but now I have to for the tenth time put a price to all 48 variations!!! Isn’t there a way to have woo commerce calculate the price alone if I put a price to each attribute??

    I mean, I give a price to all sizes separately, the bar and the pump, and then Woocommerce calculates all of them accordingly. That would make things so much easier!

    Please let me know if that function does exist and I don’t know

Viewing 15 replies - 1 through 15 (of 18 total)

The topic ‘Woocommerce variable products’ is closed to new replies.