Hi,
I'm using Feeds to create some products reading data from a DB. So I have configured Feeds to create some nodes and using the "inline entity form" I create also the related commerce product. The problem is that the price field is empty and it need to insert a value. The "inline entity form" cannot insert a value inside price field so the automatic procedure to create the product stop because the price field is Mandatory and is empty. It need a value.Using rules before the commerce product is created i'm able to change the value. There is a way to prepopulate the price field with a 0 value, so the field is not empty and when the product is created I can change this value with rules?

Comments

rszrama’s picture

Status: Active » Closed (won't fix)

I don't think we'll be changing this to have a default value at this point in time, but I'd recommend using Feeds Tamper if you need to populate it on import. You can actually create the product entities at the same time you create your product display nodes and link them together all using Feeds. See http://www.drupalcommerce.org/videos/tutorials/importing-products-commer... for more information.