I created an observer which redirect to external url(like company's page)with new order status show. I want to redirect my customer to an page where it will show that there order status changed.

  **<?php Class Atwix_Orderhool_Model_Observer extends

    public function implementOrderStatus(Varien_Event_Observer
    $observer) {
        /* @var Mage_Sales_Model_Order $order */
        $order = $observer->getOrder();    // $stateProcessing = $order->getS;
        // Only trigger when an order enters processing state.
        if ($order->getOrigData('state')!=$order->getState()) {
         } }**
| improve this question | | | | |

You can use:

->setRedirect('[ your url ]')

for redirect anywhere in your webshop.

| improve this answer | | | | |

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.