开发者

Magento CE :: Discount on First Order?

Is there any plausible way to give a customer a discount on their first order?开发者_高级运维

I imagine it would require the user to sign up for a free account, which is fine. But after that, I'm stumped.

The Promotion feature in Magento doesn't cater for anything like this and Google doesn't find any good leads.

Ideas?

:)


Nothing out of the box to do this, but the general approach I'd take would be

  1. Create a catalog price rule for your "first time" discount

  2. Add an attribute to the customer object named something like "used_first_coupon". Defaults to 0/false

  3. Add an event on customer creation that send the coupon code to the customer

  4. Hook into the coupon applying code (if there's an event, use it, otherwise, rewrite whatever method you need to) and only apply the specific coupon if the logged in customer's used_first_coupon is false

  5. Add an event listener post-order that will mark the customers used_first_coupon attribute as true


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

  1. Create a discount - with no coupon - and specify in setup that it can be used only once.
  2. Assign this discount to the default group.

It should then be applied to every new user and can only be used once.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜