Products showing as unavailable on front end

This topic has 20 replies, 5 voices, and was last updated 9 years, 3 months ago ago by Eva Kemp

  • Avatar: volantedesign
    volantedesign
    Participant
    August 14, 2015 at 17:07

    Hello,

    After updating woocommerce to the latest version, plus our database and our theme, our site starting showing some products as ‘not available’ when all of the settings on the backend have remained unchanged. These products were working fine before the updates. I’ve since rolled back all of the latest updates (theme, database, and WC), but the issue persists. What could be the cause of this?

    Credentials provided in private content if you’d like to view the site backend.

    Please, contact administrator
    for this information.
    19 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 14, 2015 at 17:55

    Hello,

    We haven’t produced new theme version yet which will be compatible with the latest version of Woocommerce plugin. We recommend you to revert back to old Woocommerce version until theme update is released.

    Please take our apologies for inconveniences.

    Thank you.

    Regards,
    Eva Kemp.

    Avatar: volantedesign
    volantedesign
    Participant
    August 14, 2015 at 18:47

    How far back do I need to roll back Woocommerce? I’ve already reverted back to 2.4.2 as per my statement earlier, and that was the version I was using before the update.

    Avatar: volantedesign
    volantedesign
    Participant
    August 14, 2015 at 21:39

    Nevermind. I rolled back to WC v2.3.13, and it looks like that did the trick. Thanks anyways.

    Avatar: stan
    Stan Russell
    Participant
    August 15, 2015 at 08:54

    Hello volantedesign,

    is your problem solved?

    Regards,
    Stan Russell.

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 16, 2015 at 00:44

    I have the same Problem on My site – WITH the new updated Theme…

    It seems like this Problem only occurs on a single product of mine with this error:

    Warning: Invalid argument supplied for foreach() in /homepages/17/d582732901/htdocs/wp-content/themes/legenda/framework/theme-functions.php on line 3147
    
    This product is currently out of stock and unavailable.

    But you can see it by yourself. Login and the link to the product are in the private Content.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 17, 2015 at 07:50

    Hello @Lars Schellhas,

    Please check the description of our theme update:
    http://themeforest.net/item/legenda-responsive-multipurpose-wordpress-theme/5888906
    Pay attention to the files that were deleted: http://storage2.static.itmages.com/i/15/0817/h_1439794170_5940258_acd46deb52.png
    You must delete them from your theme folder too (in wp-content/themes/legenda/woocommerce directory). After that check your products.

    Best regards,
    Jack Richardson.

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 17, 2015 at 08:11

    Hello Jack,

    thanks for your answer. This solved the Problem.
    But now I have another Problem with My variables :/
    On the same product, which had Problems before I deleted the files, there is the dropdown-Variation-Switch not working properly.
    Instead of only showing me possible combinations, after I´ve Chosen the first property, it Shows all entries for all propertys. So you often get a message like “This Variation does not exist. Please choose another combination.”

    Do you have an idea, how to solve this? On other variable it works just fine..

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 17, 2015 at 09:50

    Hello @Lars Schellhas,

    Please make sure you created all the possible variation combinations.
    Also refer to this topic:
    https://wordpress.org/support/topic/variations-dont-work-it-say-sorry-no-products-matched-your-selection

    Best regards,
    Jack Richardson.

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 17, 2015 at 10:47

    Hello @Jack Richardson,

    I think you misunderstood me. My product has like 4 propertys with multiple values to choose.
    Not every combination is a Variation. So normally, if I choose the first property, e.g. the Color, to be “red”, in the other property-drop-downs it Shows only the values which are in variations, which have as Color “red”.
    But instead of this – only on this specific product like it seems – it Shows all values in the Dropdown. No matter there are variations with that combination or not.

    This one works just fine: http://www.festglanz.de/produkte/runde-tischdecke-aus-burlington-stoff/

    And this doesn´t: http://www.festglanz.de/produkte/elastanbezug-fuer-stehtisch/

    Best regards and thanks for the Support.

    Lars

    Avatar: Eva
    Eva Kemp
    Support staff
    August 18, 2015 at 08:52

    Hello,

    The same issue persists with default WordPress theme (Twenty Fifteen), so it’s not related to the theme settings but to variations you set up.
    As I see variation “110” isn’t selected in product editor:
    http://storage6.static.itmages.com/i/15/0818/h_1439884277_8471412_97c1de24bb.png , that’s why you’re getting such notice. Select all combinations and then check the product.

    Regards,
    Eva Kemp.

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 18, 2015 at 10:25

    Hello,
    well ok, then it´s probably not a Problem with your theme.. maybe you can help me anyway?
    I´m afraid that the “110” wasn´t the Problem. I completely deactivated “Höhe” for variations now (because there is only the value 110 for all). But the Problem remains.
    Seriously, I cannot find any difference to any of all the other WORKING products… This is so creepy.

    Regards,

    Lars Schellhas

    Avatar: Eva
    Eva Kemp
    Support staff
    August 18, 2015 at 10:40

    Hello,

    You didn’t create all combinations, for example I’ve selected variations “blau”, “60”, “4 Fube” on the product page, but I don’t see such combination in the product editor http://storage4.static.itmages.com/i/15/0818/h_1439890811_3731347_3d03aa0e55.png .

    You need set all combinations that are available.

    Regards,
    Eva Kemp.

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 18, 2015 at 10:49

    Okay, now we get to the Point of our misunderstanding.
    I´ve created all combinations that you can order.
    The Problem is that on this single product you can choose combinations with the drop-downs, which do not exist.
    On ALL OTHER products you only can choose combinations, which I created.
    Take this for example: http://www.festglanz.de/produkte/runde-tischdecke-aus-burlington-stoff/
    If you take a look on what you can choose in the Dropdowns, you will see that there are 3 “Farben”, 6 “Durchmesser” and 2 “Weitere.
    But as soon as you choose e.g. one of the 3 “Farben”, the other Dropdown are reorganized.
    E.g. if i choose “Farbe” to be “creme” there are only 2 of the earlier 6 “Durchmesser” left.
    Because of this you can never choose a combination which I´ve not created.
    This works fantasticly since the beginning on all products – with one exception: The product vom above: http://www.festglanz.de/produkte/elastanbezug-fuer-stehtisch/

    Best Regards,

    Lars

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 18, 2015 at 10:52

    I see that this is not a Problem of your theme… but maybe you have an idea anyway – maybe only where to look for the error in the Code

    Avatar: Eva
    Eva Kemp
    Support staff
    August 18, 2015 at 11:19

    Hello,

    Sorry, but in this case you have to contact Woocommerce support concerning this issue.

    Regards,
    Eva Kemp.

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 18, 2015 at 11:21

    Okay, I will. Thank you anyway for your effort to help. I really appreaciated it.
    Thanks and have a nice day!

    Best Regards,

    Lars

    Avatar: Eva
    Eva Kemp
    Support staff
    August 18, 2015 at 11:46

    Hello,

    You’re welcome and thank you for understanding.

    Regards,
    Eva Kemp.

    Avatar: Lars Schellhas
    Lars Schellhas
    Participant
    August 18, 2015 at 16:02

    If anyone else is facing this issue, here is the solution:

    If you have more then 10 Variations, WooCommerce will Change the way it loads your Variation-Content because of performance-reasons.
    If you want to Change this Limit simply have a look at this more detailed post:
    https://wordpress.org/support/topic/24-handling-for-20-variations?replies=1

    And use this Code in your themes functions.php: https://gist.github.com/claudiosmweb/6f91ad228c2176b986b2

    Avatar: Eva
    Eva Kemp
    Support staff
    August 18, 2015 at 16:16

    Hello,

    We’re glad you have found the solution.

    Have a nice day.

    Regards,
    Eva Kemp.

  • Viewing 20 results - 1 through 20 (of 20 total)

The issue related to '‘products showing as unavailable on front end’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.