albatrossi Posted October 16, 2015 Share Posted October 16, 2015 (edited) I've been trying to get this done with product and product-list.tpl - but nothing has worked yet. How can I achieve this? Prestashop 1.6 version - I found some older codes to get it work, but I couldnt get them working in newer version. edit: I've been trying to use this code in product.tpl but no matter where I put it - it doesnt seem to appear in the frontend? {if !$product->available_for_order} <p id="ask_for_price"> <span id="price_info">{l s='Ask for price'}</span> </p> {/if} Edited October 17, 2015 by albatrossi (see edit history) Link to comment Share on other sites More sharing options...
albatrossi Posted October 17, 2015 Author Share Posted October 17, 2015 My mistake, it was just a cache problem - code above is working. Link to comment Share on other sites More sharing options...
marckpy Posted March 22, 2016 Share Posted March 22, 2016 hi albatrossi, have you solved the product-list.tpl hack to show the "ask for price" ? I found that old code for that too, but i have 1.6 and i want to show in the product list the same text for "ask for price" when product price is "0". Thanks in advance! 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