Custom button to set custom order statusOrder status and confirmation email problemHow to Set Order Status to “Processing”Magento: add button on order view page with custom moduleAdd Button at Magento AdminCustom action GetUrlChange Order Status to custom status after order is completeHow to bind event to custom admin button (help with architecture)Send email after 7 days if status is always “pending”Magento 1.9: Add custom text box on invoice page for partial captureMagento 2.3 Can't view module's front end page output?
When writing an error prompt, should we end the sentence with a exclamation mark or a dot?
Secure offsite backup, even in the case of hacker root access
Reading two lines in piano
Can you `= delete` a templated function on a second declaration?
Pronoun introduced before its antecedent
What happens if you do emergency landing on a US base in middle of the ocean?
You've spoiled/damaged the card
On the Twin Paradox Again
Why is the relationship between frequency and pitch exponential?
How to pass a regex when finding a directory path in bash?
Why does the Schrödinger equation work so well for the Hydrogen atom despite the relativistic boundary at the nucleus?
How do I write "Show, Don't Tell" as an Asperger?
Is it legal in the UK for politicians to lie to the public for political gain?
Their answer is discrete, mine is continuous. They baited me into the wrong answer. I have a P Exam question
What do we gain with higher order logics?
What happened to all the nuclear material being smuggled after the fall of the USSR?
Through what methods and mechanisms can a multi-material FDM printer operate?
Does the first version of Linux developed by Linus Torvalds have a GUI?
Finding the constrain of integral
Payment instructions from HomeAway look fishy to me
Implement Homestuck's Catenative Doomsday Dice Cascader
How to make a setting relevant?
How can Iron Man's suit withstand this?
Is there any word or phrase for negative bearing?
Custom button to set custom order status
Order status and confirmation email problemHow to Set Order Status to “Processing”Magento: add button on order view page with custom moduleAdd Button at Magento AdminCustom action GetUrlChange Order Status to custom status after order is completeHow to bind event to custom admin button (help with architecture)Send email after 7 days if status is always “pending”Magento 1.9: Add custom text box on invoice page for partial captureMagento 2.3 Can't view module's front end page output?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I created a custom module to add a button to the order view page.
The button shows up and now it is time to create the action attached. When clicking the button I want 2 things to happen:
Set the order status to: Ready for Pickup (pickup_ready) which I defined in order statusses
Send a transactional email to the client to inform them it is ready
My button looks like this for now:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl() . '')',
));
public function getPickupUrl()
Not a clue what to put here......;
Any help is appreciated
magento-1.9 module order-status
add a comment |
I created a custom module to add a button to the order view page.
The button shows up and now it is time to create the action attached. When clicking the button I want 2 things to happen:
Set the order status to: Ready for Pickup (pickup_ready) which I defined in order statusses
Send a transactional email to the client to inform them it is ready
My button looks like this for now:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl() . '')',
));
public function getPickupUrl()
Not a clue what to put here......;
Any help is appreciated
magento-1.9 module order-status
in which file did you added this code?
– Akhilesh Patel
Nov 5 '15 at 4:40
I have this code under app/code/local/MyModule/Pickup/Block/Adminhtml/Sales/Order/View.php
– Jacco
Nov 5 '15 at 6:44
add a comment |
I created a custom module to add a button to the order view page.
The button shows up and now it is time to create the action attached. When clicking the button I want 2 things to happen:
Set the order status to: Ready for Pickup (pickup_ready) which I defined in order statusses
Send a transactional email to the client to inform them it is ready
My button looks like this for now:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl() . '')',
));
public function getPickupUrl()
Not a clue what to put here......;
Any help is appreciated
magento-1.9 module order-status
I created a custom module to add a button to the order view page.
The button shows up and now it is time to create the action attached. When clicking the button I want 2 things to happen:
Set the order status to: Ready for Pickup (pickup_ready) which I defined in order statusses
Send a transactional email to the client to inform them it is ready
My button looks like this for now:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl() . '')',
));
public function getPickupUrl()
Not a clue what to put here......;
Any help is appreciated
magento-1.9 module order-status
magento-1.9 module order-status
asked Nov 4 '15 at 20:46
JaccoJacco
306
306
in which file did you added this code?
– Akhilesh Patel
Nov 5 '15 at 4:40
I have this code under app/code/local/MyModule/Pickup/Block/Adminhtml/Sales/Order/View.php
– Jacco
Nov 5 '15 at 6:44
add a comment |
in which file did you added this code?
– Akhilesh Patel
Nov 5 '15 at 4:40
I have this code under app/code/local/MyModule/Pickup/Block/Adminhtml/Sales/Order/View.php
– Jacco
Nov 5 '15 at 6:44
in which file did you added this code?
– Akhilesh Patel
Nov 5 '15 at 4:40
in which file did you added this code?
– Akhilesh Patel
Nov 5 '15 at 4:40
I have this code under app/code/local/MyModule/Pickup/Block/Adminhtml/Sales/Order/View.php
– Jacco
Nov 5 '15 at 6:44
I have this code under app/code/local/MyModule/Pickup/Block/Adminhtml/Sales/Order/View.php
– Jacco
Nov 5 '15 at 6:44
add a comment |
2 Answers
2
active
oldest
votes
In construct function you will need to pass order object in your
public function __construct()
parent::__construct();
$order = $this->getOrder();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
You will need to create your controller to handle the action
public function getPickupUrl($order)
return $this->getUrl('your_adminhtml_controller_action', array('order_id' => $order->getId()));
In your controller class create your action for example
public function pickupAction()
$orderId = $this->getRequest()->getParam('order_id');
$order = Mage::getModel('sales/order')->load($orderId);
$order->setStatus("pickup_ready");
$order->save();
// redirect to your sales order view page back
Ok, I assume that would be a new file located in app/code/local/MyModule/Pickup/controllers/action.php?
– Jacco
Nov 5 '15 at 7:13
yes you will need to create controller class MyModule/Pickup/controllers/ like IndexController.php
– Akhilesh Patel
Nov 5 '15 at 7:14
Almost there, sorry for the amount of ignorance from my side. I now created the file /Mymodule/Pickup/controllers/Action.php and in the getPickupUrl($order) I have return $this->getUrl('Mymodule_Pickup_controller_Action', array('order_id' => $order->getId())); Now if I click the button I am redirected to the frontend 404
– Jacco
Nov 5 '15 at 7:24
you are doing it in wrong way. it should be like $this->getUrl('yourrouter/adminhtml_yourcontroller/youraction', array('order_id' => $order->getId()));
– Akhilesh Patel
Nov 5 '15 at 7:34
Not sure I know what to make of that in my case. What should be in yourrouter yourcontroller youraction?
– Jacco
Nov 5 '15 at 7:37
add a comment |
admin side:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
public function getPickupUrl($order)
return $this->getUrl('adminhtml/sales_order/view', array('order_id' => $order->getId()));
Fronted side:
public function getPickupUrl($order)
return $this->getUrl('sales/order/view', array('order_id' => $order->getId()));
But this does not change the status of the order, or am I seeing it wrong?
– Jacco
Nov 5 '15 at 6:46
can you add your module controller code in ques? Please add order status change code in your module
– Abdul
Nov 5 '15 at 6:55
I was expecting something like this: (this does not work) public function getPickupUrl() return $this->setState('processing', 'pickup_ready', 'test', false); return $this->save();
– Jacco
Nov 5 '15 at 7:09
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f88913%2fcustom-button-to-set-custom-order-status%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
In construct function you will need to pass order object in your
public function __construct()
parent::__construct();
$order = $this->getOrder();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
You will need to create your controller to handle the action
public function getPickupUrl($order)
return $this->getUrl('your_adminhtml_controller_action', array('order_id' => $order->getId()));
In your controller class create your action for example
public function pickupAction()
$orderId = $this->getRequest()->getParam('order_id');
$order = Mage::getModel('sales/order')->load($orderId);
$order->setStatus("pickup_ready");
$order->save();
// redirect to your sales order view page back
Ok, I assume that would be a new file located in app/code/local/MyModule/Pickup/controllers/action.php?
– Jacco
Nov 5 '15 at 7:13
yes you will need to create controller class MyModule/Pickup/controllers/ like IndexController.php
– Akhilesh Patel
Nov 5 '15 at 7:14
Almost there, sorry for the amount of ignorance from my side. I now created the file /Mymodule/Pickup/controllers/Action.php and in the getPickupUrl($order) I have return $this->getUrl('Mymodule_Pickup_controller_Action', array('order_id' => $order->getId())); Now if I click the button I am redirected to the frontend 404
– Jacco
Nov 5 '15 at 7:24
you are doing it in wrong way. it should be like $this->getUrl('yourrouter/adminhtml_yourcontroller/youraction', array('order_id' => $order->getId()));
– Akhilesh Patel
Nov 5 '15 at 7:34
Not sure I know what to make of that in my case. What should be in yourrouter yourcontroller youraction?
– Jacco
Nov 5 '15 at 7:37
add a comment |
In construct function you will need to pass order object in your
public function __construct()
parent::__construct();
$order = $this->getOrder();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
You will need to create your controller to handle the action
public function getPickupUrl($order)
return $this->getUrl('your_adminhtml_controller_action', array('order_id' => $order->getId()));
In your controller class create your action for example
public function pickupAction()
$orderId = $this->getRequest()->getParam('order_id');
$order = Mage::getModel('sales/order')->load($orderId);
$order->setStatus("pickup_ready");
$order->save();
// redirect to your sales order view page back
Ok, I assume that would be a new file located in app/code/local/MyModule/Pickup/controllers/action.php?
– Jacco
Nov 5 '15 at 7:13
yes you will need to create controller class MyModule/Pickup/controllers/ like IndexController.php
– Akhilesh Patel
Nov 5 '15 at 7:14
Almost there, sorry for the amount of ignorance from my side. I now created the file /Mymodule/Pickup/controllers/Action.php and in the getPickupUrl($order) I have return $this->getUrl('Mymodule_Pickup_controller_Action', array('order_id' => $order->getId())); Now if I click the button I am redirected to the frontend 404
– Jacco
Nov 5 '15 at 7:24
you are doing it in wrong way. it should be like $this->getUrl('yourrouter/adminhtml_yourcontroller/youraction', array('order_id' => $order->getId()));
– Akhilesh Patel
Nov 5 '15 at 7:34
Not sure I know what to make of that in my case. What should be in yourrouter yourcontroller youraction?
– Jacco
Nov 5 '15 at 7:37
add a comment |
In construct function you will need to pass order object in your
public function __construct()
parent::__construct();
$order = $this->getOrder();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
You will need to create your controller to handle the action
public function getPickupUrl($order)
return $this->getUrl('your_adminhtml_controller_action', array('order_id' => $order->getId()));
In your controller class create your action for example
public function pickupAction()
$orderId = $this->getRequest()->getParam('order_id');
$order = Mage::getModel('sales/order')->load($orderId);
$order->setStatus("pickup_ready");
$order->save();
// redirect to your sales order view page back
In construct function you will need to pass order object in your
public function __construct()
parent::__construct();
$order = $this->getOrder();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
You will need to create your controller to handle the action
public function getPickupUrl($order)
return $this->getUrl('your_adminhtml_controller_action', array('order_id' => $order->getId()));
In your controller class create your action for example
public function pickupAction()
$orderId = $this->getRequest()->getParam('order_id');
$order = Mage::getModel('sales/order')->load($orderId);
$order->setStatus("pickup_ready");
$order->save();
// redirect to your sales order view page back
answered Nov 5 '15 at 7:09
Akhilesh PatelAkhilesh Patel
4,19221229
4,19221229
Ok, I assume that would be a new file located in app/code/local/MyModule/Pickup/controllers/action.php?
– Jacco
Nov 5 '15 at 7:13
yes you will need to create controller class MyModule/Pickup/controllers/ like IndexController.php
– Akhilesh Patel
Nov 5 '15 at 7:14
Almost there, sorry for the amount of ignorance from my side. I now created the file /Mymodule/Pickup/controllers/Action.php and in the getPickupUrl($order) I have return $this->getUrl('Mymodule_Pickup_controller_Action', array('order_id' => $order->getId())); Now if I click the button I am redirected to the frontend 404
– Jacco
Nov 5 '15 at 7:24
you are doing it in wrong way. it should be like $this->getUrl('yourrouter/adminhtml_yourcontroller/youraction', array('order_id' => $order->getId()));
– Akhilesh Patel
Nov 5 '15 at 7:34
Not sure I know what to make of that in my case. What should be in yourrouter yourcontroller youraction?
– Jacco
Nov 5 '15 at 7:37
add a comment |
Ok, I assume that would be a new file located in app/code/local/MyModule/Pickup/controllers/action.php?
– Jacco
Nov 5 '15 at 7:13
yes you will need to create controller class MyModule/Pickup/controllers/ like IndexController.php
– Akhilesh Patel
Nov 5 '15 at 7:14
Almost there, sorry for the amount of ignorance from my side. I now created the file /Mymodule/Pickup/controllers/Action.php and in the getPickupUrl($order) I have return $this->getUrl('Mymodule_Pickup_controller_Action', array('order_id' => $order->getId())); Now if I click the button I am redirected to the frontend 404
– Jacco
Nov 5 '15 at 7:24
you are doing it in wrong way. it should be like $this->getUrl('yourrouter/adminhtml_yourcontroller/youraction', array('order_id' => $order->getId()));
– Akhilesh Patel
Nov 5 '15 at 7:34
Not sure I know what to make of that in my case. What should be in yourrouter yourcontroller youraction?
– Jacco
Nov 5 '15 at 7:37
Ok, I assume that would be a new file located in app/code/local/MyModule/Pickup/controllers/action.php?
– Jacco
Nov 5 '15 at 7:13
Ok, I assume that would be a new file located in app/code/local/MyModule/Pickup/controllers/action.php?
– Jacco
Nov 5 '15 at 7:13
yes you will need to create controller class MyModule/Pickup/controllers/ like IndexController.php
– Akhilesh Patel
Nov 5 '15 at 7:14
yes you will need to create controller class MyModule/Pickup/controllers/ like IndexController.php
– Akhilesh Patel
Nov 5 '15 at 7:14
Almost there, sorry for the amount of ignorance from my side. I now created the file /Mymodule/Pickup/controllers/Action.php and in the getPickupUrl($order) I have return $this->getUrl('Mymodule_Pickup_controller_Action', array('order_id' => $order->getId())); Now if I click the button I am redirected to the frontend 404
– Jacco
Nov 5 '15 at 7:24
Almost there, sorry for the amount of ignorance from my side. I now created the file /Mymodule/Pickup/controllers/Action.php and in the getPickupUrl($order) I have return $this->getUrl('Mymodule_Pickup_controller_Action', array('order_id' => $order->getId())); Now if I click the button I am redirected to the frontend 404
– Jacco
Nov 5 '15 at 7:24
you are doing it in wrong way. it should be like $this->getUrl('yourrouter/adminhtml_yourcontroller/youraction', array('order_id' => $order->getId()));
– Akhilesh Patel
Nov 5 '15 at 7:34
you are doing it in wrong way. it should be like $this->getUrl('yourrouter/adminhtml_yourcontroller/youraction', array('order_id' => $order->getId()));
– Akhilesh Patel
Nov 5 '15 at 7:34
Not sure I know what to make of that in my case. What should be in yourrouter yourcontroller youraction?
– Jacco
Nov 5 '15 at 7:37
Not sure I know what to make of that in my case. What should be in yourrouter yourcontroller youraction?
– Jacco
Nov 5 '15 at 7:37
add a comment |
admin side:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
public function getPickupUrl($order)
return $this->getUrl('adminhtml/sales_order/view', array('order_id' => $order->getId()));
Fronted side:
public function getPickupUrl($order)
return $this->getUrl('sales/order/view', array('order_id' => $order->getId()));
But this does not change the status of the order, or am I seeing it wrong?
– Jacco
Nov 5 '15 at 6:46
can you add your module controller code in ques? Please add order status change code in your module
– Abdul
Nov 5 '15 at 6:55
I was expecting something like this: (this does not work) public function getPickupUrl() return $this->setState('processing', 'pickup_ready', 'test', false); return $this->save();
– Jacco
Nov 5 '15 at 7:09
add a comment |
admin side:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
public function getPickupUrl($order)
return $this->getUrl('adminhtml/sales_order/view', array('order_id' => $order->getId()));
Fronted side:
public function getPickupUrl($order)
return $this->getUrl('sales/order/view', array('order_id' => $order->getId()));
But this does not change the status of the order, or am I seeing it wrong?
– Jacco
Nov 5 '15 at 6:46
can you add your module controller code in ques? Please add order status change code in your module
– Abdul
Nov 5 '15 at 6:55
I was expecting something like this: (this does not work) public function getPickupUrl() return $this->setState('processing', 'pickup_ready', 'test', false); return $this->save();
– Jacco
Nov 5 '15 at 7:09
add a comment |
admin side:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
public function getPickupUrl($order)
return $this->getUrl('adminhtml/sales_order/view', array('order_id' => $order->getId()));
Fronted side:
public function getPickupUrl($order)
return $this->getUrl('sales/order/view', array('order_id' => $order->getId()));
admin side:
public function __construct()
parent::__construct();
$this->_addButton('inform_pickup', array(
'label' => Mage::helper('sales')->__('Custom Pickup Button'),
'onclick' => 'setLocation('' . $this->getPickupUrl($order) . '')',
));
public function getPickupUrl($order)
return $this->getUrl('adminhtml/sales_order/view', array('order_id' => $order->getId()));
Fronted side:
public function getPickupUrl($order)
return $this->getUrl('sales/order/view', array('order_id' => $order->getId()));
answered Nov 5 '15 at 4:48
AbdulAbdul
8,20111136
8,20111136
But this does not change the status of the order, or am I seeing it wrong?
– Jacco
Nov 5 '15 at 6:46
can you add your module controller code in ques? Please add order status change code in your module
– Abdul
Nov 5 '15 at 6:55
I was expecting something like this: (this does not work) public function getPickupUrl() return $this->setState('processing', 'pickup_ready', 'test', false); return $this->save();
– Jacco
Nov 5 '15 at 7:09
add a comment |
But this does not change the status of the order, or am I seeing it wrong?
– Jacco
Nov 5 '15 at 6:46
can you add your module controller code in ques? Please add order status change code in your module
– Abdul
Nov 5 '15 at 6:55
I was expecting something like this: (this does not work) public function getPickupUrl() return $this->setState('processing', 'pickup_ready', 'test', false); return $this->save();
– Jacco
Nov 5 '15 at 7:09
But this does not change the status of the order, or am I seeing it wrong?
– Jacco
Nov 5 '15 at 6:46
But this does not change the status of the order, or am I seeing it wrong?
– Jacco
Nov 5 '15 at 6:46
can you add your module controller code in ques? Please add order status change code in your module
– Abdul
Nov 5 '15 at 6:55
can you add your module controller code in ques? Please add order status change code in your module
– Abdul
Nov 5 '15 at 6:55
I was expecting something like this: (this does not work) public function getPickupUrl() return $this->setState('processing', 'pickup_ready', 'test', false); return $this->save();
– Jacco
Nov 5 '15 at 7:09
I was expecting something like this: (this does not work) public function getPickupUrl() return $this->setState('processing', 'pickup_ready', 'test', false); return $this->save();
– Jacco
Nov 5 '15 at 7:09
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f88913%2fcustom-button-to-set-custom-order-status%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
in which file did you added this code?
– Akhilesh Patel
Nov 5 '15 at 4:40
I have this code under app/code/local/MyModule/Pickup/Block/Adminhtml/Sales/Order/View.php
– Jacco
Nov 5 '15 at 6:44