M
M
MisTFoR2020-08-11 17:35:28
WordPress
MisTFoR, 2020-08-11 17:35:28

How to display the "leave a request" button if the product is out of stock?

Hello!
Such a question: how to display the "leave a request" button in the product if "out of stock" is selected?
Thanks for the early replies

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Privalov, 2020-08-11
@MisTFoR

Doesn't it come out of the box in woocommerce (if of course it is used)? If not, then rewrite the Woocommerce templates and, according to the condition, if(){}display a button and a form into which, later on, transfer which product and all the necessary data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question