0

This is a question about a solution provided on previous post...

How to call a controller action outside magento?

my question is how to get the response from the function being called on the controller. Also how to post to the controller function.

// grab request and response object to manipulate as needed // (i.e. controller action expects post variables, etc.)

$request = $controller->getRequest(); $response = $controller->getResponse();

1 Answer 1

0

To get param:

$request->getParam('order_id');

Using Response:

$response->setRedirct(Mage::getUrl('checkout/cart'));

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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