liquid - Shopify check how many orders a product has
In the product details, you can add a Metafield resource to it that is a number.
Edit that metafield so that it contains a 3 for example
in your theme, when you are examing the product details to decide whether to render the product or not, check the value of the metafield resource assigned to the product.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.