how to allow a single active product in woocommerce?

i want to have a single active product for a user. last purchased product becomes the active one and as the purchase is made the other products are cancelled and becomes inactive.

Just need some directions to achieve this?

Read more here:: how to allow a single active product in woocommerce?

Leave a Reply

Your email address will not be published. Required fields are marked *