babyewok Posted June 20, 2012 Share Posted June 20, 2012 Hi, Mt client has version 1.3.1.1 and if the selected combination is not available, the buy now button just disappears. How can I shpw a message instead that says, 'Sorry, the selected combination is not available', which I believe is what happens in the latest version of Prestashop? Link to comment Share on other sites More sharing options...
babyewok Posted June 20, 2012 Author Share Posted June 20, 2012 Hmm, OK I have realised why it is not showing on my site - it is because I have removed this: <!-- availability --> <p id="availability_statut"{if ($product->quantity == 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now)} style="display:none;"{/if}> <span id="availability_label">{l s='Availability:'}</span> <span id="availability_value"{if $product->quantity == 0} class="warning-inline"{/if}> {if $product->quantity == 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if} </span> </p> As we do not want to show availability as each item is made to order. How can I edit this so that it is ONLY shown when the combination is not avaialable, in other words so that any other availability messages are not shown? Link to comment Share on other sites More sharing options...
babyewok Posted June 22, 2012 Author Share Posted June 22, 2012 Does no-one have any ideas as to how I can do this? 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