This page has found a new home

Programmatically creating a coupon (including the rule) with conditions in Magento