Jump to content

symdev

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • First Name
    Symediane
  • Last Name
    Dev

Recent Profile Visitors

231 profile views

symdev's Achievements

Newbie

Newbie (1/14)

  • Collaborator Rare
  • First Post Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. J'ai fini par trouver (pour mon cas en tout cas) : je copiais collais le XML "pretty" et non "raw"...
  2. Bonjour, nous avons fini par trouver la solution (ce ne sera pas forcément la même pour tout le monde mais ça peut en aider certains) Voici ce que m'a dit notre admin serveur :
  3. Hello, I have the same problem, did you solve it? Thanks
  4. Bonjour, avez-vous résolu votre problème entre temps ? Après une mise à jour vers 1.6.1.18, j'ai le même souci...
  5. Bonjour, pour cela il faut overrider un controller de Prestashop et modifier un fichier du thème. Voici la procédure : 1/ Créer un fichier AdminFeaturesController.php dans override/controllers/admin Mettre ceci dedans : <?php class AdminFeaturesController extends AdminFeaturesControllerCore { } entre les accolades, y copier la fonction initFormFeatureValue du fichier controllers/admin/AdminFeaturesController.php puis remplacer array( 'type' => 'text', 'label' => $this->l('Value'), 'name' => 'value', 'lang' => true, 'size' => 33, 'hint' => $this->l('Invalid characters:').' <>;=#{}', 'required' => true ), par : array( 'type' => 'textarea', 'label' => $this->l('Value'), 'name' => 'value', 'lang' => true, 'hint' => $this->l('Invalid characters:').' <>;=#{}', 'required' => true ), Cette étape vous permet de faire des sauts de lignes dans la gestion des caractéristiques dans "Catalogue" > "Caractéristiques", mais si vous passez uniquement par des valeurs personnalisées de la fiche produit, elle n'est pas utile. Pour que l'override soit pris en compte, il faut vider le cache de Prestashop : "Paramêtres avancés" > "Performances", cliquer en haut à droite sur le bouton "Vider le cache". Si ça ne fonctionne pas, il faut supprimer sur le serveur le fichier class_index.php dans le dossier cache. 2/ modifier le fichier themes/nom-de-votre-theme/product.tpl selon votre thème, la modification peut se faire à des endroits différent, mais en gros il faut chercher ce genre de chose : {$feature.value|escape:'html':'UTF-8'} et le modifier comme ceci : {$feature.value|nl2br|escape:'html':'UTF-8'} La fonction nl2br transforme les sauts de lignes en balise <br /> en html. Voilà, normalement ça devrait fonctionner
  6. Bonjour, je suis confrontée exactement au même problème, avez-vous trouvé une solution ? Merci
  7. Hello, There is a weird behaviour in stock management, I will try to explain what happens. I have enabled advanced stock management, and I did not allow ordering of out-of-stock products (in preferences or in a specific product). I have only one "blue shirt" in stock. I add it in my cart. Then I remove it from the stock (from the backoffice or I buy it on another browser, with another account.) Then I refresh my cart. The blue shirt is still there but it now says that it is "out of stock". However, I can still validate my order... (But if I go to the product page, I cannot add it to my cart so this part is working) How can this be happening ? Thanks a lot
  8. Thank you tuk66, i assigned the order to smarty in getFooter() and now, on all the pages I have the order id of the next page, except for the last one which has the right one... Any idea ?
  9. Hello, I am trying to put the order id in the footer of the prestashop PDF invoice. For this I added this in the file /theme/mytheme/pdf/footer.tpl: {assign var="orderId" value="%05d"|sprintf:$order->id} {$orderId} However, when I go to orders > invoices and I generate a PDF, when there are more than one order, the last page of the PDF has the order id of the previous invoice... All the others are ok except for this one. Did I do something wrong or is it a prestashop or a tcpdf bug ?
×
×
  • Create New...