Fastserv Posted August 28, 2014 Share Posted August 28, 2014 Hi, I try to solve a problem in product-list.tpl. I want to show a text if the product is not set to be available for order. So I tried {if (isset($product.available_for_order) && $product.available_for_order)} ... {else} Text {/if} but without sucsess. Any suggestions? Prestashop 1.5.6.2 Default Template Thank you. Link to comment Share on other sites More sharing options...
PSfever.com Posted August 28, 2014 Share Posted August 28, 2014 Hi, I've just tried this code on my site and it went through ok. Are you sure you're displaying the content properly? Couldn't it be inside a div which is hidden? Can you check the source code of your site? Have you cleared cache? Link to comment Share on other sites More sharing options...
Fastserv Posted August 28, 2014 Author Share Posted August 28, 2014 Thank you , it was inside a hidden div 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