Damien35 Posted August 20, 2020 Share Posted August 20, 2020 (edited) Bonjour, j'essaie de faire apparaitre les quantités disponibles sur les fiches produits mais sans succès. J'ai pourtant bine activé l'option dans le backoffice. Version de PS : 1.7.5.1 URL du site concerné : distri-fanvil.fr Thème (défaut/perso) : perso Code (original/modifié) : original Hébergement : PHPNet Version de PHP : 7.2.32 Version de MySQL : 10.3.23-MariaDB. Navigateur(s) concerné(s) chrome / edge / firefox Quelqu'un peut m'aider ? Edited August 20, 2020 by Damien35 (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted August 20, 2020 Share Posted August 20, 2020 Sûrement un problème de thème. Le natif contient ceci {if ($display_qties == 1 && !$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && $product->available_for_order)} <!-- number of item in stock --> <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span id="quantityAvailable">{$product->quantity|intval}</span> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='Item'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='Items'}</span> </p> {/if} 1 Link to comment Share on other sites More sharing options...
Damien35 Posted August 20, 2020 Author Share Posted August 20, 2020 1 minute ago, doekia said: Sûrement un problème de thème. Le natif contient ceci {if ($display_qties == 1 && !$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && $product->available_for_order)} <!-- number of item in stock --> <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span id="quantityAvailable">{$product->quantity|intval}</span> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='Item'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='Items'}</span> </p> {/if} Bonjour, merci @doekia pour ce retour, où puis je comparer avec ce qui est chez moi ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now