• Resolved Mare13ki

    (@mare13ki)


    Hi, we have a product that has “Sold individually: Limit purchases to 1 item per order” checked

    That product can be purchased as a subscription and as a regular product which was enabled with WooCoomerce Subscription addon-s. Now we want to disable purchase limit and we want to make it able for people so they can purchase more than one. The problem is, whenever I ucheck this: https://imgur.com/oBbiEGN and when I update the product, it says that the changes have been saved but the checkbox is still checked. I tried multiple times and I can’t remove “sold individually”

    Can you please tell what can be the issue here? Or, if this can be changed through the phpmyadmin and database, please let me know what should I change and where

    Thank you

Viewing 15 replies - 1 through 15 (of 24 total)
  • Wutime

    (@wutime)

    I’m having the identical problem.

    I don’t have any plugins installed other than WooCommerce Subscriptions and the required payment gateways.

    No matter what I do, when I edit a product and save, the “Sold Individually” is always re-checked.

    Updating the database directly is a terrible idea, only because I know I’ll forget to “redo” the action when I update a product down the road.

    • This reply was modified 5 months ago by Wutime.
    Wutime

    (@wutime)

    Mare13ki, changing the values in the database DOES fix the issue. However, if you ever edit the product, it will go back to defaulting to “sold individually”.

    To find all the products with the value set to “yes” (checked), you can find them in the database with this:

    SELECT * FROM wp_postmeta WHERE meta_key = ‘_sold_individually’;

    For me, all my products are NOT sold individually, so I was able to update ALL products with this SQL statement:

    UPDATE wp_postmeta set meta_value = ‘no’ WHERE meta_key = ‘_sold_individually’;

    I don’t recommend doing any of the above personally, but for now, it worked for me.

    • This reply was modified 5 months ago by Wutime.
    Thread Starter Mare13ki

    (@mare13ki)

    Hi @wutime, thank you for the instructions

    I was aware that the database solution was not ideal but I have asked for it if WooCommerce devs don’t have a “normal” solution for us. I will wait one more day and if they don’t provide me with more safe solution I will do what you said.

    Thank you again for the detailed instructions ??

    Wutime

    (@wutime)

    I just did some testing.

    _sold_individually = ‘no’ (set it in the database manually)

    Then, next, I loaded the page, the checkbox was UNCHECKED (makes sense). In the database, it was still set to ‘no’ (makes sense).

    I disabled the “_sold_individually” as a checkbox element in the POST, so the element was NOT being submitted. I submitted the form with “_sold_individually” disabled in the form POST.

    Next refresh, the box was checked AND the database entry for “_sold_individually” was set to ‘yes’.

    TLDR: The _sold_individually is being updated automatically somewhere in the code of WooCommerce

    This must be a bug.

    Thread Starter Mare13ki

    (@mare13ki)

    Yeah, it definately sounds like some issue or a bug. Hopefully devs will see your post soon

    Wutime

    (@wutime)

    I have some good “temporary” news for you.

    Enable [New product editor] here: /wp-admin/admin.php?page=wc-settings&tab=advanced&section=features

    This bug doesn’t seem to affect the “new product editor”. The checkbox behaves properly (it’s buried under “Advanced” at the bottom of the “Inventory” tab).

    Cheers

    Thread Starter Mare13ki

    (@mare13ki)

    It is my clients website and it says “These features are either experimental or incomplete, enable them at your own risk!” for that new editor, so I have to wait for him to provide me with some details so I can create a backup before proceeding with this ??

    Thank you once again! Cheers

    Wutime

    (@wutime)

    Yeah, actually, I had to turn it off. The “beta” product manager is missing all sorts of functionality that Subscriptions needs, so it’s a bad idea.

    I’m a new customer to WooCommerce Subscriptions. It’s really starting to feel like an alpha or beta version of software with the number of issues I’m finding and dealing with.

    Waiting to see how support deals with things, but so far so slow.

    Thread Starter Mare13ki

    (@mare13ki)

    Okay, thank you for letting me know.

    Yeah, it seems they are intentionally skipping my question because I see they are replying to other threads.

    Wutime

    (@wutime)

    Out of curiosity, did you ever have WPSwings subscriptions plugin installed: https://wpswings.com/product/subscriptions-for-woocommerce-pro/

    I had it installed for a minute, but then realized it wasn’t working well, so I uninstalled it. It’s the only funky thing I did with my installation.

    Just baffled because this “sold individually” bug should be common with everyone and causing lots more people issues… seems just the two of us at the moment (or others simply haven’t noticed, or haven’t “updated” their products recently and tested to find out).

    Thanks.

    Thread Starter Mare13ki

    (@mare13ki)

    Nope, I didn’t use that one ?? The client is using WooCommerce subscriptions and and extension “Buy Once or Subscribe for WooCommerce Subscriptions”

    He is paying for both WooCommerce subscriptions and “Buy Once or Subscribe” and we can’t get an answer here to a simple question for 2 days.

    Hi, I just had the same issue with a client.
    The products stayed UNTICKED – Sold individually: Limit purchases to 1 item per order
    It was unticked until the product was edited and then changed all on its own to ticked and could not be changed.
    The “new product editor” allowed me to change it back, but I don’t like the new editor.
    So here is a simple fix. If you choose multiple products and choose bulk edit, down the bottom an option becomes available that is not on single item quick edit allowing you to change the sold individually setting for all selected products.
    And it saves!
    Hope this helps

    Thread Starter Mare13ki

    (@mare13ki)

    @juzkat Okay, we will try that ?? It is just interesting how WooCommerce devs are completely ignoring my thread with the obvious bug that is happening on multiple websites.

    Thank you

    • This reply was modified 4 months, 4 weeks ago by Mare13ki.
    Plugin Support Nami

    (@woonami)

    Hello there,

    Thank you for reporting this issue. We have yet to receive many reports about this, but I come across a few similar cases.

    May I ask if you have been able to reproduce this issue under conflict tested state? (Theme is switched to Twenty Twenty-Four + all other plugins except for WooCommerce is deactivated.)

    It would be helpful to confirm this issue indeed happens only WooCommerce plugin is active, and that there are no other factors that are causing this issue.

    If anyone was able to verify, please do let us know.

    Thank you!

    I’m having an Identical Issue, I solved it by using the WP SHEET Editor Plugin to change the “Sold Individually” Field

Viewing 15 replies - 1 through 15 (of 24 total)
  • You must be logged in to reply to this topic.