• Resolved imillenium

    (@imillenium)


    Hi,

    I need that if I use a particular term of an attribute in the variations of a product, the stock of that variation is always equal to 1, even if an order is placed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there,

    I need that if I use a particular term of an attribute in the variations of a product, the stock of that variation is always equal to 1, even if an order is placed.

    I understand that you want to have the stock level of a product variation always be 1 if a specific term is used as the attribute.

    It’s not possible to do this using the standard WooCommerce functionality. If manage stock is set at a product variation level and a quantity of stock is entered, that value will always be reduced when an order is placed for it.

    If you have Manage stock unchecked in the variation data and instead leave the Stock Status as In stock then the product will always be available for purchase.

    Alternatively, you could have some custom code written to prevent the stock level from being reduced when that specific term is used for a variation. For advice around this, I would recommend reaching out to one of our vetted developers on our Customisations page.

    I hope that helps!

    Kind regards

    Hi @imillenium

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Attribute term always with stock equal to 1’ is closed to new replies.