Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design

Magento 2, Magento Development, Customization, Extension Development and Integration, Optimization, SEO and Responsive Design
Showing posts with label Display Product. Show all posts
Showing posts with label Display Product. Show all posts

How to show out of stock products in magento

If you want to show/display out of stock products in magento than follow this:

Magento has several criteria for determining if an item should be visible in the store, but one of these is not whether or not the item is in stock. Magento can manage your stock and will set your stock status to “Out of Stock” for you, but what if you want these out of stock items to be hidden from the store.. automatically? Also, in my case I do not want to “disable” the item because the inventory management system will then ignore it. Turns out this was much more difficult to figure out than I expected it to be but the end solution was quite simple.

A. Login to Magento back-end
B. Go to menu System >> Configuration.
C. Take inventory tab from the left panel
D. Set Display out of stock products to ‘Yes’ in Stock options tab in the right panel

Show out of stock products in magento

E. Clear your cache and reindex your Index management.

That's it.

How to Display Product on Home page

set the following code in your cms home page.

I'm going to display 7th number category's products on my home page. You can change for which categories
product you want to show on home page.

{{block type="catalog/product_list" category_id="7" template="catalog/product/list.phtml"  columnCount="3"}}



 

Copyright @ 2017 HKBlog.