Hi,

I wanted to use cart links from Ubercart to put a product to the cart and redirect users directly after this to a node adding form prepopulating some fields. So I used the following URL (I put the different prepopulate parameters into extra lines for shwoing it here):

cart/add/e-p7_q19?destination=node/add/content-type?edit[field_field6][0][value]=19
&edit[field_field5][0][value]=60.5
&edit[field_field4][0][value]=70.5
&edit[field_field1][0][value]=1.56
&edit[field_field2][0][value]=25
&edit[field_field3][0][value]=56

Unfortunately after adding the product to the cart just the first prepoluate parameter is used in the redirection url - the other parameters are cut off:

cart/add/e-p7_q19?destination=node/add/content-type?edit[field_field6][0][value]=19

Do you know the reason for this and what I can do?

Greez,
Tobi

Comments

jbrauer’s picture

Status: Active » Postponed (maintainer needs more info)

Unfortunately this doesn't look to be a prepopulate issue as the module does nothing with setting the destination redirect. It sounds like it's truncating on the & for some reason.

jbrauer’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)

Closing D6 issues as it's no longer supported.