Magento - How do I create a shopping cart price rule automatically?

Posted by Laizer on Stack Overflow See other posts from Stack Overflow or by Laizer
Published on 2010-05-09T15:14:50Z Indexed on 2010/05/09 15:18 UTC
Read the original article Hit count: 226

Filed under:

I'd like to create a shopping cart price rule that gives a user 10% off their order when and if they complete a process on my Magento site.

There's a method here that inserts the rule directly to the database. That's a bit invasive for my tastes.

How would I go about this using Magento methods?

© Stack Overflow or respective owner

Related posts about magento