Timeline for Add Custom Line item API or Method Drupal Commerce
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 25, 2012 at 18:02 | vote | accept | Aneek Mukhopadhyay | ||
Apr 17, 2012 at 8:23 | comment | added | Berdir | Well, either look at the code of the referenced module and reproduce what it does or alternatively you maybe could simply use the default form and then customize it using hook_form_alter(). | |
Apr 17, 2012 at 4:58 | comment | added | Aneek Mukhopadhyay | I am not using the default add to cart button. I am using a custom form and a submit hook to deal with it. I am adding the product via commerce_cart_product_add_by_id API. So in that hook submit I have to add the line items after adding the product to cart. Any suggestions? | |
Apr 16, 2012 at 19:39 | history | answered | Berdir | CC BY-SA 3.0 |