Magento CE :: Discount on first order?

Is there any plausible way to give the customer a discount on their first order?

I assume that this will require the user to register for a free account, and this is normal. But after that I’m at an impasse.

The promotion feature in Magento does not cater for anything like this, and Google does not find good results.

Ideas?

:)

+4
source share
2 answers

We will not do any of this, but the general approach that I would use would be

  • Create a catalog price rule for your first time discount

  • Add a client object attribute named "used_first_coupon". Default 0 / false

  • Add an event when creating a client that sends a coupon code to a client

  • Connect to the coupon using the code (if there is an event, use it, otherwise rewrite any method you need) and apply only the specific coupon if the registered client used_first_coupon is false

  • Add a post-order event listener that will mark the customer_first_coupon attribute as true

+4
source

I was thinking the same thing. In the Magento community 1.7. I think this should work.

  • Create a discount - without a coupon - and indicate in the setting that it can be used only once.
  • Assign this discount to the default group.

Then it should be applied to each new user and can be used only once.

+3
source

Source: https://habr.com/ru/post/1340190/


All Articles