Possibility to create promotion based on client id/email #10186
ricardolopesdev
started this conversation in
Feature Requests
Replies: 1 comment
-
@olivermrbl Do you have any intention of implementing this suggestion or providing something similar that meets the requirements? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If possible, the possibility of creating a promotion based on the customer's ID.
I edited the file :
packages/medusa/src/api/admin/promotions/utils/rule-query-configuration.ts
and added:
and in the file:
packages/medusa/src/api/admin/promotions/utils/rule-attributes-map.ts
This changes were made directly inside of node_modules of my project.
It tested and they work as they should.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions