We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Question, Suggestions, Shop

Can you hide products from a user if they've already purchased it?

Is there anyway to only allow a logged in user to be able to view and buy a digital product once.

So if they have purchased a product and they go back to the product page... The product(s) that they have already purchased no longer appear

Richy Thomas

Richy Thomas 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

If you apply a product tag to the customer, you could then check for that tag on your sales page.

Would I have to do this for each product? Or is there a way to do this dynamically?

So if for example I have 4 products. A, B, C and D and A customer has purchased product B.

When they go back to the products page I want product B to be hidden.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, I think you should be able to do that dynamically if you make the tag something you can derive from the product data such as the SKU

Thanks Drew

Could you or someone form the forum potentially help me out and give me an example of the code?