eduard02 Posted January 30, 2015 Share Posted January 30, 2015 (edited) Hi, Any ideas how to show "in stock/out of stock" text on homefeatured products, like in categories? Thank you. Edited January 30, 2015 by eduard02 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2015 Share Posted January 31, 2015 in what prestashop version? Link to comment Share on other sites More sharing options...
eduard02 Posted January 31, 2015 Author Share Posted January 31, 2015 in what prestashop version? sorry forgot to write 1.6.0.9 Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2015 Share Posted January 31, 2015 take a look here: stock - product availability - information on product listing pages Link to comment Share on other sites More sharing options...
eduard02 Posted February 2, 2015 Author Share Posted February 2, 2015 take a look here: stock - product availability - information on product listing pages Thank you, great article but is changing all products information, not just homefeatured products and is not working with stock management (ex. allow orders for out of stock, but set for only 1 product deny order, the change still inform that is in stock). I saw tat thomefeatured module is working now with product-list, tried to insert in /themes/default../modules/homefeatured/homefeatured.tpl code from /modules/homefeatured/views/templates/hook/homefeatured.tpl but not working. I can't find any solution yet. Link to comment Share on other sites More sharing options...
vekia Posted February 2, 2015 Share Posted February 2, 2015 module displays information if product is in stock, or not so if product is not in stock (even if you allow to order it) it will show proper information - that product is out of stock. if you want to display it only on homepage use: {if $page_name == 'index'} CODE HERE {/if} Link to comment Share on other sites More sharing options...
eduard02 Posted February 2, 2015 Author Share Posted February 2, 2015 (edited) module displays information if product is in stock, or not so if product is not in stock (even if you allow to order it) it will show proper information - that product is out of stock. if you want to display it only on homepage use: {if $page_name == 'index'} CODE HERE {/if} yes, is working great with this, only on homefeatured. I attached the problem I saw with stock management. store preferences - allow orders if out of stock catalog - set deny order just for this product, so default message of the bottom is out of stock. With the code appears "in stock" on image. Thank you. Edited February 2, 2015 by eduard02 (see edit history) Link to comment Share on other sites More sharing options...
eduard02 Posted February 3, 2015 Author Share Posted February 3, 2015 yes, is working great with this, only on homefeatured. I attached the problem I saw with stock management. store preferences - allow orders if out of stock catalog - set deny order just for this product, so default message of the bottom is out of stock. With the code appears "in stock" on image. Thank you. ex.jpg Hi vekia, Any ideas why this happened? Thank you. Link to comment Share on other sites More sharing options...
eduard02 Posted February 9, 2015 Author Share Posted February 9, 2015 yes, is working great with this, only on homefeatured. I attached the problem I saw with stock management. store preferences - allow orders if out of stock catalog - set deny order just for this product, so default message of the bottom is out of stock. With the code appears "in stock" on image. Thank you. ex.jpg Hi, Any solution to this? Thank you. Link to comment Share on other sites More sharing options...
vekia Posted February 9, 2015 Share Posted February 9, 2015 hello this tweak shows if product is in stock, or it isn't. fact that it is allowed to order out of stock products doesnt mean that product is in stock, it is still out of stock Link to comment Share on other sites More sharing options...
eduard02 Posted February 9, 2015 Author Share Posted February 9, 2015 (edited) hello this tweak shows if product is in stock, or it isn't. fact that it is allowed to order out of stock products doesnt mean that product is in stock, it is still out of stock Hello Yes, it is true. I thought it might be changed to adapt the store preferences. Thank you. Edited February 9, 2015 by eduard02 (see edit history) Link to comment Share on other sites More sharing options...
alx1 Posted October 13, 2015 Share Posted October 13, 2015 Hello everybody! Any solution for Prestashop 1.4 ? Thank you in advance. Alx1 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