Hello,

I am using Uc_webform 7.x-2.3, Ubercart 7.x-3.8 and webform 7.x-3.20.

All seems to work well with this three modules: I have created a product and I am able to add a product component to be part of my webform. After I select the product via the tag field and after it is added to the checkout page when the form is submited.

However, when I choose the hidden product component and I select a product via its tag field, I expected it to be added to the checkout page (its price at least) when a user submits the webform, even though it is not shown in the webform, but this does not happen.

Am i doing something wrong?

Can I fix it?

I want to add an hidden product: a product which is not shown in the webform but at the same time which is added to the checkout page when a user submits a webform.

Thank you very much.

CommentFileSizeAuthor
#3 uc_webform-hiddenproduct-2417803-3.patch567 bytesrakun

Comments

Marelmel’s picture

Are there other people with the same problem?

I tried a variety of realeases and patches and I was not able to fix it.

Could you say me with which realease hidden product works properly?

Thank you for your help.

Marelmel’s picture

Ok, i fixed it simply with CSS.

Thank you.

rakun’s picture

Version: 7.x-2.3 » 7.x-2.x-dev
StatusFileSize
new567 bytes

Adding hidden product to cart was broken. Problem is in quantity field in uc_webform_webform_submission_insert().

deja711’s picture

Version: 7.x-2.x-dev » 7.x-2.5
Status: Active » Closed (fixed)

This patch is applied in 7.x-2.5 version. Closing the issue.