2

On completion of an order, I would like to trigger a refresh of a certain Customer Segment. What method could I call to accomplish this? Thanks!

3
$segment = Mage::getSingleton('enterprise_customersegment/segment')->load($segment_id);
$segment->matchCustomers();
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.