I am trying to make a website to sell my limited edition sculptures.
Is it possible to set a limit to the number of times the checkout button can be clicked, so that visitors to my website can't place an order after the sculptures have run out of stock? Can it be done with Javascript? (I don't intend to complete orders on my website, but instead link the checkout button to PayPal payments.)
It would also be convenient if the last klick on the checkout button results with the text "Out of Stock" being displayed.
Any ideas of suitable script for this?
Is it possible to set a limit to the number of times the checkout button can be clicked, so that visitors to my website can't place an order after the sculptures have run out of stock? Can it be done with Javascript? (I don't intend to complete orders on my website, but instead link the checkout button to PayPal payments.)
It would also be convenient if the last klick on the checkout button results with the text "Out of Stock" being displayed.
Any ideas of suitable script for this?