Donation Page
I have created a product type donation, and modify it following the line item tutorial so the user can select one value or input his own.
I have 30 nodes of a certain content type.
I wan on each of those nodes a donation button to appear and send to the donation page the title of the node.
That node title needs to be added to the cart.
donation page = a node of content type donation( that node has a product reference of donation)
The issue that i need help with is that i don't know how can i add that title to the cart.
The cart system works now, it adds a Donation of x to the cart but i need the title added also.
Thank You
Comments
Thanks for the reply i have manage to solve it yesterday.
This was the solution:
Made a Product Type : Donation
After that i created Products of : 2 USD, 10 USD etc.
Created a donation page of form : /donation/*
When i reference the donation page from the node page the links looks like this: /donation/%nid
On the donation page i create a custom form and there i modify the submit function.