seldon.paul2 Posted December 4, 2010 Share Posted December 4, 2010 Is there any no-more stock icon to be shown if quantity hit to zero?Please let me know - I kind of have an idea but instead of showing available, go to the logic part and then show this image instead of showing "available or not available"right? Link to comment Share on other sites More sharing options...
rocky Posted December 5, 2010 Share Posted December 5, 2010 Try changing line 19 of product-list.tpl (in PrestaShop v1.3.2) from: {if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if} to: {if ($product.allow_oosp OR $product.quantity > 0)}<img src="{$img_dir}icon/available.gif" alt="{l s='Available'}" width="14" height="14" />{else}<img src="{$img_dir}icon/unavailable.gif" alt="{l s='Out of stock'}" width="14" height="14" />{/if} Link to comment Share on other sites More sharing options...
seldon.paul2 Posted December 5, 2010 Author Share Posted December 5, 2010 NC - you again? Mega Thanks -Don't bother to say, I have already written, "[sOLVED]"Can I ask how i can display subcategory's description? ^^I am quite desperate about it - > Link to comment Share on other sites More sharing options...
rocky Posted December 6, 2010 Share Posted December 6, 2010 I wrote a reply in your other post before it was deleted for breaking the forum rules. Use: {$subcategory.description} Link to comment Share on other sites More sharing options...
seldon.paul2 Posted December 6, 2010 Author Share Posted December 6, 2010 Which rule did I break? I don't want to break, either.I need to know exactly which I did break, so that I won't do it again.Let me know. Thanks in advance - Link to comment Share on other sites More sharing options...
rocky Posted December 6, 2010 Share Posted December 6, 2010 You broke the rule of writing "Urgent" in your topic title. See the "Writing posts" section of the forum rules. 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