With the latest -dev release of bpc, if I select the pre-populated node creation form option, then click "Save and create display," rather than taking me to a pre-populated display node, I land at the generic Add Content page.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sven.lauer’s picture

Status: Active » Postponed (maintainer needs more info)

I cannot quite reproduce the problem---what do you mean by "generic Add Content page"?

If you have more than one content type that has a product reference field, you should be shown a page where you can select one of these content types, and then be redirect to a pre-populated page for adding a node of this type. If you only have one such content type, you should directly be directed to the pre-populated form.

(Note: "Pre-populated", for now, means only that the product reference field will be filled in. Other fields, like the title, will not be filled in (though at least for the title, this would make sense and is planned).

mdobossy’s picture

Oops, sorry about the delay- I didn't have notifications turned on.

Currently, I have one product type, and one product display (content type that uses a product reference field). After going through the bulk product entry, I click "Save and create display." I was under the impression that this should take me to: /node/add/my-product-display-type, with the product reference filled pre-populated. Instead, it takes me to /node/add, and if I click the product type I want to create, nothing is pre-populated.

sven.lauer’s picture

This is quite strange (and I cannot reproduce the problem). As I said, if you have only one product display node type, you should go directly to the node add form (and even if you had more than one, you would be sent to node/add, but rather to a bpc-specific form that asks you to select one of the display node types to create). So this is odd.

BTW, the redirect should actually take you to /node/add/my-product-display-type?bulk_creation_id= - the appended query string is essential for pre-population (for now---I've started to think that this could be handled better).

I have an inkling, though ... what is the machine name of your display node type?

(P. S. With the latest -dev version, the title field should be pre-populated, too.)

mdobossy’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I suspect that we can close this- I just uninstalled, and re-installed bpc (for the third time), and now everything is working fine. Something must have gone wrong on my original install, that was cleaned up with the latest. I'll re-open this if it starts happening again.

sven.lauer’s picture

This is still strange ... so, yes, please do reopen if the problem occurs again.

rHOnDO’s picture

I have experienced the same issue. I bulk upload products and advance to the create product display page where I am asked to select a node type, but there are no options available, and the create nodes button has no affect.

tmsimont’s picture

Status: Closed (cannot reproduce) » Active

I had the same issue...

For some reason it's going to this url:
/node/add/Standard%20Product?bulk_creation_id=516ec249844c5

My product type is "Standard Product" but the machine name is "product_display"

I went and re-saved the settings form and it started using the machine name, only now the products IEF field is empty...

Kiendeleo’s picture

I am having a similar problem when it comes to having this module create the display after creating the products. I have attached screenshots of the settings in the bulk product creation module and of me creating the variations. As you can see in the last screenshot it is not listing any valid nodes to create a product display. However if I chose a node in the settings and force it to create a display from the module settings it does it just fine.

In case this is a browser issues I have only tried this in chrome for Linux, my Chromebook and chrome for android.

Kiendeleo’s picture

Version: 7.x-1.x-dev » 7.x-1.0-rc6
Pedroc-2’s picture

Version: 7.x-1.0-rc6 » 7.x-1.x-dev

The patch in this link should solve the problem with the pre-populated node creation form.

https://drupal.org/node/2118407#comment-8000225

Does anyone know why the testbot doesn't look at the patch?

marktheshark’s picture

Same here, contrary to the last time I used BPC, in the latest dev version it now does allow for the Product Display type to be created, but no product reference is pre-populated.

Anonymous’s picture

Similar here, running rc6 using Taxonomy module.
If I choose "silently create ...." in module configuration and pre-select the content type it works.
If I choose Provide a "Save and create display ...." link in module configuration it redirects to an "Bulk Product Creation Form - Choose Display Node type" page with no options.

VVS’s picture

If installed module commerce_backoffice see: https://drupal.org/comment/7753347#comment-7753347

If installed module inline_entity_form see: https://drupal.org/node/1645866

Kiendeleo’s picture

Issue summary: View changes
Status: Active » Fixed
Kiendeleo’s picture

Status: Fixed » Active
Kiendeleo’s picture

Status: Active » Closed (duplicate)