开发者

Magento - show a single product in homepage

开发者 https://www.devze.com 2023-02-02 03:11 出处:网络
how to show a single product in homepage of Magento, I want to show exactly the product开发者_Go百科 name, image and price.

how to show a single product in homepage of Magento, I want to show exactly the product开发者_Go百科 name, image and price.

Thanks a lot.


An easy way is to add that product to a category and display that category on the homepage by going to CMS - Manage Pages, select Home Page from the list of pages and add

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

where category_id="8" is the category's id (thisid is displayed on the category page in Magento's admin)


Try this instead: Adding Products To The Home Page Of Magento


The easiest option is to do a redirectmatch in the htaccess to your preferred product and then to give that product something like 'buynow' or 'welcome.html' as the URL code on it's product page settings.

0

精彩评论

暂无评论...
验证码 换一张
取 消