• Resolved medenz

    (@medenz)


    Hi,
    How do you do
    Maybe my question seems silly but forgive me. I need to put this feature in my website. I try to make my question simple.
    I have got 10 Tshirts. 8 of them are “XL size” and 2 of them are “XXL size”.
    My problem and question is that how can do this:
    When customers buy the all “XXL size Tshirts”, for next customer XXL size option would be disable or grayout or be hidden. (So the purpose of that is the next customer isn’t able to order a “XXL size” because that size has been finished).
    Sincerely

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @medenz ,

    For this setup, you would need to add your T-Sirt product as WooCommerce Variable Products.

    The variations would be XL and XXL, and stock quantity of XL would be 8, while stock quantity of XXL would be 2.

    With this, whenever a T-Shirt is sold, the stock will automatically reduce, and once all the T-shirts of a particular variation are sold out, other customers won’t be able to order the sold out variation.

    Here’s how you can set up variable product: https://docs.woocommerce.com/document/variable-product/

    I hope this helps!

    Thread Starter medenz

    (@medenz)

    Oh my God.
    @wpnomad your are awesome.
    Thank you for your solution.
    You helped me out alot.
    Thank you again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cloth size in Woocommerce’ is closed to new replies.