• Resolved umutusu


    I hope you are doing well!
    It seems like your plugin is what I really need.
    I looked at all the examples in the documentation but I can’t wrap my head around it, and I really started to feel stupid.

    My use case is:
    I have designs with copyright which limits the use to 50 items.
    I have many designs and 3 different products (A, B and C).
    All my products are simple products. I don’t want designs to appear under products so no variations. They are all separate products.

    I can use Design A on 15 Product A, 12 Product B and 23 Product C.
    or 45 Product A, 4 Product B and 1 Product C. (or any possible combination)
    Total use will always be 50.

    What I want to do is, obviously, track how many times a design is used and not oversell it.
    So, if someone buys Product A with Design A, the stock number for Product B and C with Design A also reduces. And when someone buys Product B again with Design A again, the stock number for Product A and C with Design A reduces.
    It’s the same for Design B, C and…

    I don’t want to use variations and let the customers choose the designs when they are on the product page. I want to keep all my products as separate, simple products.

    It’s basically like syncing the stock numbers between products.

    I think it’s possible with your plugin but as I said, I can’t wrap my head around it.
    I understand that logic is clear in your head but I just can’t…

    So if you can please make a step-by-step tutorial or prepare an example on your demo site like my use case that I described above, it will be really appreciated.

    I understand if it’s too much ask.

    Thank you very much

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mewz


    Don’t worry, stock setups can get pretty complicated 🙂

    I’ve gone ahead and set up an example on our demo site for you:

    Basically your stock is managed exclusively with attributes. By assigning the appropriate attribute term (design) to products, all those products will use the same stock inventory. The products themselves do not have any stock set on them.

    However keep in mind that the free version doesn’t prevent over-purchasing. You will be able to keep track of your stock levels, but the full version is required if you want to limit the amount that can be added to cart / purchased.

    Thread Starter umutusu


    Quick question.
    I’m using Divi on the website.
    With the pro version of your plugin, product pages are still going to show the stock numbers normally on the frontend or will I need to do something more to make stock numbers show in the frontend.
    I’m asking because right now a developer prepares a small plugin to make the stock numbers with ajax because I want to cache my product pages but with cache, stock numbers are also cached so even after purchase nothing changes in the front end.
    So if your plugin shows the stock numbers in the frontend with some clever trickery, I think it won’t work with my website’s setup.
    Thank you

    Thread Starter umutusu


    I think I understand how the plugin’s logic works.

    And I think I know why I didn’t understand at first.

    Our logic, yours and mine, work in opposite ways. As if you are looking from the bottom and I’m looking from the top.

    • This reply was modified 1 year, 1 month ago by umutusu.
    Plugin Author Mewz


    There’s no trickery with showing stock availability on the frontend. As long as the normal WooCommerce product methods are used, it will work.

    To put it another way, the frontend is completely unaware that attribute stock is being used. Stock levels are overridden on a low level, so it just looks like normal product stock.

    You will need the full version in order to show attribute stock levels on the frontend. Overriding product stock is not available in the lite version.

    If you need any further help, let me know.

    Thread Starter umutusu


    Ok, thank you for your help.
    One last question and I think I’m going to proceed with the purchase.
    If I’m not wrong when we change the stock on the backend of one of the connected products (attributes), it doesn’t change the others.
    So backend doesn’t work like the frontend.
    Again, thank you very much much

    Plugin Author Mewz


    I think you may be misunderstanding how it works. Your products should not have any stock quantity set on them. Stock should be managed only with your attributes. Unless for some reason you need to have stock on a single product AND have it share stock with other products at the same time. Usually this is not the case.

    If you change the stock on an attribute term, ALL of the products using that attribute term will then show the new stock quantity on the frontend (barring any page cache of course).

    In the backend, products themselves do not have any stock since stock is managed with attributes instead.

    Thread Starter umutusu


    I understood, no worries.
    It’s just that, as I said before, our logic works differently 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I feel stupid’ is closed to new replies.