• Resolved kristinrutten

    (@kristinrutten)


    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

    (@decomteam)

    Huh @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
    *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

    (@kristinrutten)

    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

    (@decomteam)

    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

    (@kristinrutten)

    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

    (@kristinrutten)

    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide for repeat customers’ is closed to new replies.