News:

Support the VirtueMart project and become a member

Main Menu

Default product status

Started by CyComodo, October 02, 2012, 11:39:18 AM

Previous topic - Next topic

CyComodo

Hi!

When creating new product there is necessary to write how many products are in stock. My shop has always every product only one. So is there any way to add number one default  to stock status?

Look at the picture.





[attachment cleanup by admin]

jenkinhill

There is no setting for this.

That would require a plugin to be made for that purpose - or a core hack, which we do not support. I tried to work out how it could be done - maybe to set the product_in_stock row in the database default to not null with a valu of 1 ?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

CyComodo

This one I have already tried and don't work  :-\