Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Change default for Update Stock Levels
Author « Topic »  

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 07/20/2019 :  07:55:08  

Is it possible to change the default for the checkbox "Update Stock Levels" when creating or editing an order. We often manually create orders for quotes for our customers, for which we have not yet received payment. We do not want to change our stock levels at this time and therefore we uncheck the Update Stock Levels box.

However, we also often forget to uncheck this box, and it screws up our stock inventory. Therefore, we would like to change the default to unchecked.

Does this cart have this capability?


Doug
[url]https://www.paintandpowderstore.com[/url]

Vince
Administrator

42464 Posts

Posted - 07/20/2019 :  09:26:37  
Hi Doug
There isn't a way to change that I'm afraid unless you are willing to make a small custom edit. To do this, open incorders.php in notepad and search for...
name="updatestock"
Then remove the "checked" or checked="checked" for that.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 07/20/2019 :  09:37:04  

Thanks Vince.

Am I the only person who has raised this question over the years? If so, I can understand why this is not an includes.php parameter.

However, if I make this change, then I would have to do it with each update. Y/N?


Doug
[url]https://www.paintandpowderstore.com[/url]

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 07/20/2019 :  09:44:44  

Vince,
It seems there are three instances of "updatestock" in the incorders.php page, so I would be unable to effect this change with the instructions given.

I will just have to leave it alone and try to always remember to uncheck the box before I update the order.




Doug
[url]https://www.paintandpowderstore.com[/url]

Vince
Administrator

42464 Posts

Posted - 07/20/2019 :  10:06:30  
Hi Doug
I can't think of anyone else who has raised this, but there are 3 instances of...
updatestock
...but only one of...
name="updatestock"

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 07/20/2019 :  11:21:56  

Hi Vince,

That is strange as I just checked the incorders.php file again and I found three instances of "updatestock" at lines 473, 672, and 2354.



Doug
[url]https://www.paintandpowderstore.com[/url]

DTPwarrior
Advanced Member

USA
298 Posts

Pre-sales questions only
(More Details...)

Posted - 07/20/2019 :  11:26:05  

Hi Vince,

I am running ECT 7.0.4 so maybe it changed to only one instance in version 7.0.5. PHP?


Doug
[url]https://www.paintandpowderstore.com[/url]

Vince
Administrator

42464 Posts

Posted - 07/20/2019 :  15:14:21  
Hi Doug
I too have 3 instances of...
updatestock
... and very close to the lines that you mention. But I only one instance of...
name="updatestock"
That is what you need to search for...
name="updatestock"
...and not just...
updatestock

Vince


Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000