Hi,
i couldnt disable the "Kepp Product in Stocklevel on Purchase?" option in the download section of the VirtueMart configuration.
I did these change
File admin.show_cfg.php Line 1156
original version
<input name="conf_VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL" type="checkbox" value="1" <?php if( @conf_VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL ) echo 'checked="checked"' ?> />
new version
<input name="conf_VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL" type="checkbox" <?php if (VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL == 1) echo "checked=\"checked\""; ?> value="1" />
Now it works for me.
I hope this helps.
Patrick
---
Virtuemart 1.1.1
Joomla! 1.0.15
exactly what I needed! Thanks Patrick!
Thank you, fixed in v1.1.3
Sorry I am new user.... .. I have this problem too..
It might be silly question but my problem is I could not find this file
"admin.show_cfg.php Line 1156" that you said.Is it on admin/component? or somewherelese?
I use VM1.12
Please kindly tell me where the file located... please kindly give more details.... please help
Quote from: patjun on July 10, 2008, 18:15:15 PM
Hi,
i couldnt disable the "Kepp Product in Stocklevel on Purchase?" option in the download section of the VirtueMart configuration.
I did these change
File admin.show_cfg.php Line 1156
original version
<input name="conf_VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL" type="checkbox" value="1" <?php if( @conf_VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL ) echo 'checked="checked"' ?> />
new version
<input name="conf_VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL" type="checkbox" <?php if (VM_DOWNLOADABLE_PRODUCTS_KEEP_STOCKLEVEL == 1) echo "checked=\"checked\""; ?> value="1" />
Now it works for me.
I hope this helps.
Patrick
---
Virtuemart 1.1.1
Joomla! 1.0.15
it is located here: .../administrator/components/com_virtuemart/html/
Be care what changes make there. You can easily crash the entire site. Good Luck!
I had the same issue as soso2k. Thanks a lot Wallace.
I made a backup just in case I do something stupid and change something that doesn't need changing.