Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Cart
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2011 at 20:24 UTC
Updated:
18 Apr 2011 at 18:51 UTC
I develop a new module for customizable product options. Therefore I add some new fields to the add to cart form. The problem is now I need to know which line item is added, because I need to link them in the database. (The project can be found here: Commerce Option.)
To track the line item we should reassign it to the $form_state after we changed it. Here is the patch for this. I hope these changes are welcome and someone can add them to the core.
| Comment | File | Size | Author |
|---|---|---|---|
| commerce_cart.module.patch | 892 bytes | hunziker |
Comments
Comment #1
rszrama commentedMakes sense. Added it in.
Comment #2
hunziker commentedThank you for adding.