Title: Hide for repeat customers
Last modified: March 1, 2018

---

# Hide for repeat customers

 *  Resolved [kristinrutten](https://wordpress.org/support/users/kristinrutten/)
 * (@kristinrutten)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/hide-for-repeat-customers/)
 * I love this plugin and it has solved a lot of my problems, except one. Is there
   any way to hide the gift option for a customer who has already received the gift
   being offered?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [DecomTeam](https://wordpress.org/support/users/decomteam/)
 * (@decomteam)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/hide-for-repeat-customers/#post-10029318)
 * Huh [@kristinrutten](https://wordpress.org/support/users/kristinrutten/), quite
   a good one 🙂
 * Right now there isn’t easy way/option for that:
    – You could create two user 
   roles (new user roles – dont remove old ones [customer,editor etc…]) – Role1 (
   All users) & Role2 (Users that received gifts) – Combine Conditional: Your Conditional(
   Price, Amount) + User Role (Role1) [Screenshot: User Roles Conditional](https://i.gyazo.com/dc7f718ed5cff3f0ccb573b02413874e.png)*
   This step requires manual switching users from Role1 to Role2 **Didn’t test this
   on a real website yet (could try it over a weekend) if its important for you 
   and you are OK with manual switching users.
 * Thank you for the IDEA
    Will be considered and maybe in next releases – but can’t
   promise any ETA (could be month or months)
 *  Thread Starter [kristinrutten](https://wordpress.org/support/users/kristinrutten/)
 * (@kristinrutten)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/hide-for-repeat-customers/#post-10029326)
 * Thanks… interesting food for thought. I may play with that idea and in the meantime,
   will keep an eye out for future updates in case you decide to implement it. 🙂
 *  Plugin Author [DecomTeam](https://wordpress.org/support/users/decomteam/)
 * (@decomteam)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/hide-for-repeat-customers/#post-10029378)
 * When I think about it – you need only **new role: Role1**
    – combine that with
   existing conditional – if user takes gift, remove that user from **Role1** and
   you are good to go
 *  Thread Starter [kristinrutten](https://wordpress.org/support/users/kristinrutten/)
 * (@kristinrutten)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/hide-for-repeat-customers/#post-10029397)
 * Thanks. Good point. The only problem I see with this idea is having to manually
   change roles, which is not practical if there are lots of customers. I would 
   need to find a way to automatically re-assign the role with “purchase” of the
   free gift.
 *  Thread Starter [kristinrutten](https://wordpress.org/support/users/kristinrutten/)
 * (@kristinrutten)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/hide-for-repeat-customers/#post-10029403)
 * Ah… this might be easier than I thought. A quick Google search reveals snippets
   that would do just that, such as the one here (haven’t tried yet, of course):
   [https://nicola.blog/2016/03/07/changing-user-role-purchasing/](https://nicola.blog/2016/03/07/changing-user-role-purchasing/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide for repeat customers’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/giftable-for-woocommerce_a7699a.svg)
 * [Giftable for WooCommerce](https://wordpress.org/plugins/giftable-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/giftable-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/giftable-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/giftable-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/giftable-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/giftable-for-woocommerce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [kristinrutten](https://wordpress.org/support/users/kristinrutten/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/hide-for-repeat-customers/#post-10029403)
 * Status: resolved