guest* Posted August 12, 2011 Share Posted August 12, 2011 Do somebody know a hack to include the code from product.tpl for "last items in stock" on the product_list.tpl ? Link to comment Share on other sites More sharing options...
phrasespot Posted August 15, 2011 Share Posted August 15, 2011 You can add something similar to the following code immediately before the closing tag of last div element {if $product.quantity == 1} <p class="warning_inline">{l s='Warning: Last items in stock!'}</p> {/if} as shown highlighted in this screen capture This will give you something similar to this screen capture Link to comment Share on other sites More sharing options...
guest* Posted August 15, 2011 Author Share Posted August 15, 2011 Hi phrasespot. Thxs for the hack and your efforts, unfortunately I noticed afterwards, that combination.list is not assigning to product.tpl, so it doesn't make sense to include this in product_list.tpl. I posted this issue on bug_tracker, because without combination-list I cannot use this feature at all... My products are 80% with variations and combinations. 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