ECA / Commerce / Transaction / User points

Created on 19 June 2023, over 1 year ago
Updated 2 April 2024, 8 months ago

Hi everyone,
I was struggling with ECA and Drupal Commerce for a while and found the solution with a little guidence by JΓΌrgen Haas. Thank you very much for the help and for working on this great module.

I love Drupal 7 and 9 is not my favourite but seeing how ECA works is changing my mind and I am really happy about it. The learning curve is a bit steep but pays off quickly. It was the same with 7 actually, just long time ago.

I use ECA, the Transaction module β†’ , Commerce and ECA state machine β†’ to add User points to a client on every order he does depending on the product he buys.

This unlocks many usecases for loyalty points, discounts and others. In my case I am going to use the points as a counter for adding and removing a role later on.

Anyway I wanted to share this model here for others to be able to examine. You can find it attached.

πŸ“Œ Task
Status

Closed: outdated

Version

2.0

Component

Documentation

Created by

πŸ‡§πŸ‡¬Bulgaria alexander.nachev

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @alexander.nachev
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    Very nice, thanks @alexander.nachev for sharing this with the ECA community.

    Just wondering, is the transaction module planning on a Drupal 10 compatible version? Once that's available, your sample model would greatly qualify as a sample for the ECA Guide library. Maybe together with a tutorial? Let us know if you wanted to make any of that available, would be an amazing contribution for the ECA ecosystem.

  • πŸ‡§πŸ‡¬Bulgaria alexander.nachev

    Hi, can't say about the transaction module but I can definetly contribute to the ECA library or here. I can also help out with a tutorial for this and maybe other modells that I am going to create for a project I am currently working which is interesting. And yes if you find this model suitable feel free to add it in the library.

  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    Hi @alexander.nachev that's great. There's a chapter How to contribute a model to the library, would be great if you could modify your model to comply with them.

  • Status changed to Postponed: needs info over 1 year ago
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    LMK if you need any help with this.

  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen
  • Status changed to Closed: outdated 8 months ago
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen
Production build 0.71.5 2024