Active
Project:
UC Node Checkout
Version:
6.x-2.0-beta8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2011 at 00:09 UTC
Updated:
19 Sep 2011 at 13:22 UTC
Hi There,
I have setup a content type with a names field with no of items set to 'unlimited', I have done the node checkout shabangle and am now looking at setting the no of items above to the product qty added to cart.
Has anyone tried this?
I notice that in the argument string
http//:blahblah.com/node/add/names?product_nid=15&qty=3&attr=1-1
As the qty is set to a value here, is there any way to get it into the "form builder"?
Many thanks in advance.
Comments
Comment #1
sabweb commentedWhat an amazing journey!
If anyone is looking for a solution to this problem, the secret lies in the content.node_form.inc file found in the includes folder of cck.
The function at line 150 holds the power, that and the $form["#action"] value, with some php string manipulation.
;)