Magento 2 How to get reward point data in Cart Price Rule
-
15-04-2021 - |
Pergunta
I'm trying to get Cart price rule data. However, I cannot get the reward point
which I created in Add reward point
input field in Cart price rule form from the database, I have found it in salesrule
and its related table, but I cannot find where the reward point
was saved. How the mechanism of saving reward point action?
Solução
- The current customers' reward points can be checked in the
magento_reward
table - Reward points history (when they were added/ subtracted) in the
magento_reward_history
table - Rule-2-points relation is found in
magento_reward_salesrule
Good luck!
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange