问题描述:

Like the title, how can I create a bundle product with price_type > fixed in Magento through API. I've tried

price_type : 'fixed'

price_type : 1

but it doesn't work, the product is still created with dynamic price_type

Magento version: 1.7 CE

网友答案:

I've found the answer myself. There are two problems you take care of when you create a new bundle item.

  1. Set price_type when creating an bundle item will create an index so the item is displayed correctly on front end
  2. Change it second time price_type => 1 // fixed or 0 // dynamic when you update the product ( using the api )
相关阅读:
Top