A
A
asimoqrio2020-06-11 14:32:56
WordPress
asimoqrio, 2020-06-11 14:32:56

Woocommerce plugin bought a product - got access to another product or page?

I am looking for a plugin for wordpress - a person has bought a product, and has access to buy another product, others cannot see this hidden product even through a direct link

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Marchuk, 2020-06-18
@imhvost

So why is there a plugin? You can do this:
1) Set a token for a hidden product (postmeta)
2) A person bought a product, add a token for a hidden product (usermeta)
3) On the hidden product page, check if the user has the necessary token. If not, throw a 404.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question