I would like to see if it’s possible to make it so that an item can only have a quantity of (1), and after it’s sold don’t remove it, but instead change the Buy Now button to SOLD and make it either unclickable? Or make it link to the product details?
So, I am also using another code snippet you guys had provided which hides the quantity field, and also sets the default quantity to 1. The issue I am facing now is that when this happens, and the product is sold it is no longer displaying on the frontend.
Is it possible to show the product even though it’s no longer available?
The issue though is that now that the item is set to quantity 1 by default when it is sold, it is removed from the list. I understand this is probably normal behavior, but I am wondering if it’s possible to instead continue to display the item? I can probably work out the button text change based on the quantity available.