Forum PrestaShop

Il Forum di PrestaShop è lo spazio in cui puoi condividere con la comunità di PrestaShop consigli pratici sull'e-commerce e trovare la risposta a tutte le domande tecniche e funzionali.

Forum PrestaShop

Jump to content

 

Black & White theme - Displaying out of stock message

2 replies to this topic
#1
willrose84

    PrestaShop Newbie

  • Members
  • Pip
  • 19 posts
Hi

hope some one can help, I am using a modified black and white theme and on the product page as it it when the user selects an item that's out of stock the add to cart button disappears. I want it to display a small message where the button was but cant find the code to edit. can anyone point me in the right direction in product.tpl?

Thanks

#2
ecohappy

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
Hi willrose,

I am having a similar problem, same theme, did you work it out? no-one has replyed to my post and im quite stuck :(

#3
shacker

    PrestaShop Superstar

  • Moderators
  • 5428 posts

From 1283765451:

Hi willrose,

I am having a similar problem, same theme, did you work it out? no-one has replyed to my post and im quite stuck :(

this is the code

quantity == 0) || $virtual} style="display:none;"{/if}>

<input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}1{/if}" size="2" maxlength="3" />



The display : none , hide the button