简体   繁体   中英

Change Product type in magento

I have two products and their type is "Grouped Product" now I want to change this products in to simple product. Is there any way to do so?

Some links says I have to change directly from database. I tried this but nothing changes. Is there any way to do it?

If it's only 2 maybe you should just create 2 new products with same url and change the url of the old ones.

Alternatively you could do some programming.

Maybe start with this class Mage_Catalog_Model_Product_Type_Grouped . the public function getAssociatedProducts returns an array of associated products which you can simply sort through applying whatever logic before creating your new products.

You have to deal with store scope etc during this process but there's lots of tutorials.

product type cannot be changed in admin!

may be you could go "catalog_product_entity" table and change the type_id from grouped to simple, but i dunno whether it induced new error, but one thing i only know is you must lost the grouped item linkage.

您是否重建了索引(管理/系统/索引管理)并刷新了缓存(管理/系统/缓存管理)?

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