Zen Cart Logo
Forums / General Questions / Delete order - Restock product quantity

Delete order - Restock product quantity

Locked

Views: 886

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Sep 2010, 7:16 AM
#1
malachi avatar

malachi

New Zenner

Join Date:
Jul 2010
Posts:
24
Plugin Contributions:
0

Delete order - Restock product quantity

Hi everybody!

I'm using ZenCar v1.3.8.

When deleting orders I would like the 'Restock product quantity' checkbox to by checked by default.
This is quite importent for me.

What part of Zencart's code do I need to modifie??

Can anyone help please. Thanks

10 Sep 2010, 1:33 PM
#2
malachi avatar

malachi

New Zenner

Join Date:
Jul 2010
Posts:
24
Plugin Contributions:
0

Re: Delete order - Restock product quantity

Somebody told me how to do it.

in admin/orders.php

change in line:
$contents[] = array('text' => '<br />' . zen_draw_checkbox_field('restock','','checked="checked"') . ' ' . TEXT_INFO_RESTOCK_PRODUCT_QUANTITY);