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
Create a catalog price rule for your "first time" discount
Add an attribute to the customer object named something like "used_first_coupon". Defaults to 0/false
Add an event on customer creation that send the coupon code to the customer
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
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.
- Create a discount - with no coupon - and specify in setup that it can be used only once.
- Assign this discount to the default group.
It should then be applied to every new user and can only be used once.
精彩评论