简体   繁体   中英

Magento show a specific product on category?

Is there any way in Magento to show a specific product (with large image, large description, price and so on) on another category?

Let me give you an example:

I have a master category, named "Apple" , which id is 7 . I have to highlight a product from a subcategory which is invisible, to the "Apple" category, That sub category name is "Hero" and this category id is 8 - it has only 1 product at time.

Does anyone know how to show this specific product from category id 8? I need price, all the images (large), product description etc.

Really hope you can help me out!

Thanks!

You should be able to set the master category "Apple" output to "Static block and products" under the category settings->tab "Display settings"->option "Display mode".

After that, you create a static CMS block with contents like this:

{{block type="catalog/product_list" category_id="8" template="catalog/product/list.phtml"}}

Which should output the product listing for category 8 inside the CMS block. No coding needed. This is untested, but should work unless I screwed up the syntax for the CMS block.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM