Bonjour,
Je souhaitais afficher deux palettes de couleurs dans les produits :
première palette : finition (cf photo)
deuxieme palette : bouilloire (cf photo)
est ce possible?
merci par avance.
hi guys,
the solution for add new field in table category or more exactyle in table category_lang
1)- add new attribute in class category.php
2)
a- in the same class add newField to (protected $fieldsRequired if that field is obligatoire)
c- "" "" "" protected $fieldsRequiredLang
d- "" "" "" protected $fieldsSizeLang
e- "" "" "" protected $fieldsValidateLang
f- "" "" "" function getTranslationsFieldsChild
g- "" "" "" function getSubCategories
h- "" "" "" function getTranslationsFieldsChild
3) in admin/tabs /AdminCategories.php
<label>'.$this->l('newField').' </label>
<div class="margin-form translatable">';
foreach ($this->_languages AS $language)
echo '
<div class="lang_'.$language['id_lang'].'" style="display: '.($language['id_lang'] == $this->_defaultFormLanguage ? 'block' : 'none').'; float: left;">
<input type="text" name="newField_'.$language['id_lang'].'" id="newField_'.$language['id_lang'].'" value="'.htmlentities($this->getFieldValue($obj, 'newField', (int)($language['id_lang'])), ENT_COMPAT, 'UTF-8').'" />
<span class="hint" name="help_box">'.$this->l('Forbidden characters:').' <>;=#{}<span class="hint-pointer"> </span></span>
</div>';
echo ' <p class="clear"></p>
</div>
bonjour ,
Je voudrais ajouter un champ dans la table category depuis le back office.
J'ai déjà réussi à modifier le fichier AdminCategories.php
mais lorsque enregistrer les données dans la table.
j'ai l'erreur suivant "une erreur s'est produite pendant la création de l'objet category ()"
bonjour
je suis débutent de la création des modules prestashop , et je ne sais pas la différent entre les méthodes de configuration de module ( getContent, displayForm)...
hi everyone
when I try to make test en quantity for combination I don't know where
when the quantity is 0 the color of li should be change like in tall(42)
if there is any kind of help
bonjour
je voudrai faire test sur la quantité en stock de la déclinaison (maillots[X,XL,M,L ...], Chaussures[40,14,39, ...],...)
quelqu'un a une idée ?
hi
I try to know how to use the Importer OSCommerce but without success
I find the error
TECHNICAL ERROR
Details: Fatal error (Group->name est vide pour la langue par défaut)