Jump to content

[RESOLU]modifier la quantité par defaut


Recommended Posts

Bonjour

Dans Back office
Ajouter un nouveau produit

j'aimerais bien modifier "la quantité par défaut" qui est à 1
et la mettre à "0" par défaut

j'ai déjà épluché pas mal de posts dans le forum (mais rien trouvé)
j'ai également cherché dans pas mal de fichiers php et tpl sans succès (mais probablement pas assez)
Si quelqu'un avait une idée..
En attendant de vous lire je vous remercie d'avance

EDIT

=-=-=-=-=
Dans
(admin/tabs/AdminProduct.php)
if ($qty === false) {
if (Validate::isLoadedObject($obj))
$qty = $this->getFieldValue($obj, 'quantity');
else
$qty = 1;
$qty_state = '';
}

remplacer 1 par 0 ou un chiffre au choix selon...
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...