Jump to content

homefeatured products show in/out stock


eduard02

Recommended Posts

 

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

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

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.

 

post-729019-0-59031200-1422916608_thumb.jpg

Edited by eduard02 (see edit history)
Link to comment
Share on other sites

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.

 

attachicon.gifex.jpg

 

 

Hi vekia,

Any ideas why this happened?

Thank you.

Link to comment
Share on other sites

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.

 

attachicon.gifex.jpg

 

Hi,

 

Any solution to this?

 

Thank you.

Link to comment
Share on other sites

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 by eduard02 (see edit history)
Link to comment
Share on other sites

  • 8 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...