There is no max. Can you set up a broken test product and provide the link?
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
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
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… 🙁
Yes replace red with green. Then go to product page and retest. Thats the only variation issue I’m aware of in 2.5.
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
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/
Less variations in the working ones meaning ajax is not used.
The broken one finds a matching variation with ajax.
haha, what would that mean for someone who’s not expert with coding?
Should I try again with 5m2?
If you could just test on that same product with a new attribute without the ‘2’ that would narrow the problem.
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
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