Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#8 | Screenshot 2013-10-17 at 11.04.46 AM.png | 132.9 KB | Kiendeleo |
#8 | Screenshot 2013-10-17 at 11.07.04 AM.png | 115.75 KB | Kiendeleo |
#8 | Screenshot 2013-10-17 at 11.07.38 AM.png | 97.69 KB | Kiendeleo |
#8 | Screenshot 2013-10-17 at 11.07.48 AM.png | 94.5 KB | Kiendeleo |
#8 | Screenshot 2013-10-17 at 11.08.04 AM.png | 126.39 KB | Kiendeleo |
Comments
Comment #1
sven.lauer CreditAttribution: sven.lauer commentedI 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).
Comment #2
mdobossy CreditAttribution: mdobossy commentedOops, 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.
Comment #3
sven.lauer CreditAttribution: sven.lauer commentedThis 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.)
Comment #4
mdobossy CreditAttribution: mdobossy commentedI 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.
Comment #5
sven.lauer CreditAttribution: sven.lauer commentedThis is still strange ... so, yes, please do reopen if the problem occurs again.
Comment #6
rHOnDO CreditAttribution: rHOnDO commentedI 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.
Comment #7
tmsimont CreditAttribution: tmsimont commentedI 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...
Comment #8
Kiendeleo CreditAttribution: Kiendeleo commentedI 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.
Comment #9
Kiendeleo CreditAttribution: Kiendeleo commentedComment #10
Pedroc-2 CreditAttribution: Pedroc-2 commentedThe 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?
Comment #11
marktheshark CreditAttribution: marktheshark commentedSame 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.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedSimilar 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.
Comment #13
VVS CreditAttribution: VVS commentedIf installed module commerce_backoffice see: https://drupal.org/comment/7753347#comment-7753347
If installed module inline_entity_form see: https://drupal.org/node/1645866
Comment #14
Kiendeleo CreditAttribution: Kiendeleo commentedComment #15
Kiendeleo CreditAttribution: Kiendeleo commentedComment #16
Kiendeleo CreditAttribution: Kiendeleo commentedduplicate of https://drupal.org/node/2118407