Jump to content

Social sharing buttons & add to wishlist not working on product page


Recommended Posts

My wishlist was not working because my theme did not use any quantity fields on the product page. Adding this simple code (in product.tpl, right product column) fixed it for me:

        <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}{if $product->minimal_quantity > 1}{$product->minimal_quantity}{else}1{/if}{/if}" />
Edited by wzshop (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Thank you SO MUCH !! it works very well !!! prestashop 1.6.9

:D 

 

pour le référencement je vais traduire en français :

 

Pour tous ceux qui comme moi, quand on cliquait sur le bouton " ajouter à la liste" ne fonctionnait pas et que rien ne se passait (mon thème ne gérant pas les quantités) :

 

aller dans le fichier product.tpl de votre thème

trouvez quelque chose comme : <!-- minimal quantity wanted --> et collez la ligne de code mentionnée au dessus (moi je l'ai collé dans la balise <p>

et la grand miracle :D

 

essayez la solution même si vous êtes en ecommerce, peut être que cela fonctionnera également ! :)

 

++

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...