Jump to content

promod

Members
  • Posts

    70
  • Joined

  • Last visited

Profile Information

  • Activity
    Web development agency

promod's Achievements

Newbie

Newbie (1/14)

2

Reputation

2

Community Answers

  1. Bonjour, Sur Preatashop 1.6.0.14, mis a jour depuis la 1.5 avec mon thème je viens d'overrider ajax-cart.js pour rajouter les quantités lors de l'ajout au panier : ajax-cart.js : ajaxCart.add(idProduct, null, false, this, $('#quantity_wanted_'+idProduct+'').val()); Ainsi que la modification du HTML (la où c'est nécessaire) : <input type="text" name="ajax_qty_to_add_to_cart[{$product.id_product}]" id="quantity_wanted_{$product.id_product}" value="1" maxlength="3" aria-required="false"> <a class="button ajax_add_to_cart_button btn-orange" rel="ajax_id_product_{$product.id_product|intval}" data-id-product="{$product.id_product}" href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)}">{l s='Ajouter'}</a> J'ai un input, avec un lien, je clique sur le lien ça ajoute la quantité dans le panier. Ca fonctionne parfaitement sur la homepage avec le module "blockbestsellers" ainsi que dans la recherche avec "autocomplete dropdown search". Cependant, impossible de le faire fonctionner sur la page product.tpl et productlist.tpl. A chaque fois le lien est validé et j'arrive sur mon panier. Il n'y a pas d'ajax. J'ai bien essayé des console.log dans la partie ou il y a l'écouteur d'évènement sur le clic mais rien ne s'affiche, il ne rentre pas dedans, comme si la fonction n'existait pas. J'utilise block layered et j'ai essayé de le désactiver pour voir s'il interagissait avec la productlist.tpl mais ça n'a rien changé. Quelqu'un a une idée ? Il y a quelque qui pourrait venir overrider mon js ? Je commence à perdre mes cheveux là :'( Merci d'avance
  2. Solved : in ps_cms_lang delete all records that have "NULL" value for each lang in meta_title, meta_description, meta_keywords, content.
  3. Hello everyone, I just updated my Prestashop 1.6.0.14 to version and I have the module "CMS Block" 2.0.2 allows me to display links in the footer. I checked "contact" and "Secure payment", "Delivery", "Terms of Sale "," who are we" but only "contact" and "secure payment" are displayed in the fontend. I tried to deactivate / reactivate, uncheck / check mark but nothing changes. Note: I do not use the blocks to the left and right (it does not seem to work ....) but only the "Configuration of the various links in the footer" where I have ticked the boxes .... I also presented the basic .tpl in my theme and I use a multi-boutique whose configuration is identical on "All the shops / Group / shop". Can anyone help me please? Or maybe someone knows a module to create a simple link menu for my footer ? Thank you in advance
  4. Problème résolu : Dans la table ps_cms_lang, il y avait des enregistrements 'NULL' (description, keywords, content, url) pour chaque page qui ne s'affichaient pas (et dans chaque langue). En supprimant tous les enregistrements NULL, les liens se revenu.
  5. Bonjour à tous, Je viens de mettre à jour mon Prestashop vers la version 1.6.0.14 et j'ai le module "Bloc CMS" 2.0.2 qui me permet d'afficher des liens dans le footer. Seulement voilà, après la mise à jour les liens ont sautés. J'ai voulu les remettre et la surprise, je n'ai que "Contact" et "Paiement sécurisé" qui sont affichés dans le frontend alors que dans la liste sur le backoffice j'ai également coché "Livraison", "Condition de vente", "Qui sommes-nous". J'ai essayé de désactiver/réactiver, décocher/cocher mais rien ne change. Note: je n'utilise pas les blocs à gauche et a droite (ca ne semble pas fonctionner....) mais uniquement le "Configuration des divers liens du pied de page" là ou j'ai coché les cases.... J'ai aussi remis le .tpl de base dans mon thème et j'utilise un multi-boutique dont la configuration est identique sur "Toutes les boutiques / Groupe / Shop". Quelqu'un peut m'aider svp ? Ou peut être que quelqu'un connait un module pour pourrait faire la même chose mais qui fonctionne ... ? Merci d'avance
  6. By following your code I have removed all expires of the .htaccess. It's seems to working but now the shops name are renamed sometimes by the name of shop group... it's weird...
  7. I got the message "failed to open dir: Permission denied"... but how can I know the current permission of the folder ? I will check it for the next error.
  8. Yes thanks you, but LimitInternalRecursion is reached thus there is a problem with .htacess. LimitInternalRecursion is not the problem but the consequence of the bad .htaccess intructions. For the moment I made chmod -R 655 on .htaccess to avoid bad updates by Prestashop.
  9. Lol... I'm on a dedicated server if I contact my hosting provider for that he will say nothing except something like "google is your best friend"
  10. No one affect my problem. I tested all combinaison and I still got error 500. Is it possible that a module I installed has modified the way that Prestashop is creating .htaccess file ?
  11. I got no error from Prestashop directly and all the backoffice is usable. But... I got 2 errors in the server log when I made tests 1) "Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace." on my ip. 2) "Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:" on visitor ip which I tried to solve with "Options +SymLinksIfOwnerMatch" but it doesn't working... In .htaccess created by Prestashop, section "image" which start with "# Images" and "# AlphaImageLoader for IE and fancybox" are duplicated. When I delete the first section, it solve the error 500. But if a recreate the file with Prestashop it's working well... I have already work with this version of Prestashop and multi store but it's the first time I have this behavior.
  12. Hello I have made a Prestashop 1.5.4.1 where chmod configuration doesn't stay on the cache folder. I explain : my customer added products and then he got an error of unwritten cache folder. So I did the chmod 777 permission on the folder and the problem was fixed. And then after 3 - 4 days the same error appeared. So I redid the chmod permission. This came 4 or 5 times each time that my customer want to add products. It's very boring... Can someone help me please ? Thanks
  13. Hello, I'm using Prestashop 1.5.4.1 with multistore option enable. When I went to SEO/url to change options and recreate .htaccess this last is created well but I only have the homepage on my main shop that working well. All other pages are breaking down with error 500. I have noticed that the .htaccess code for images is duplicated... I don't know how can I solve the problem. Where can i find the code that create the .htaccess ?
  14. Solved. The error was : mod_fcgid : read data timeout in 45 seconds. So I increased the limit and it's ok.
×
×
  • Create New...