Additional services for products already purchased
Hallo everybody.
I'm sorry for my English, it's not so trained!
I started using D7 after 2 years of D6 and I'm really enthusiastic.
I'm testing for the first time Drupal Commerce and and I find it truly fabulous!
Now I've got a particular task and I don't know how to proceed.
All the products allow to create nodes of specific content type.
Let's say I've got a free product, then I can buy a premium one which replaces the previous, giving me access to more options. I use node convert to change the content type of the node.
The other case is I purchase an addition service which updates my node (for example, making it sticky at the top of the list).
I can trigger these events with Rules, but I need to display a button for each created node, so the user can choose what type of service purchase for each of them.
How can I go to the checkout, keeping the node's ID until the end so Rules knows which node to apply the change?
Thanx for all answers!
Comments
Start with the basics
Products are *not* content types in Commerce - Please read the Admin manual - http://www.drupalcommerce.org/node/289
So you would not change content types.
You could create a new product (the premium one) and just change the pointer in your display node to point to the new one. Or you could have both on one display node, etc.
rfay, thanks for your reply,
rfay, thanks for your reply, but I think that what I wrote was not so clear, sorry.
I didn't add product type, but I'm using the default one, creating more products from it.
Purchaising a product allows users to create a node of a specific content type, so when I buy a "Free product", I can create a node of "Free" content type, when I purchase "Premium product", my content type changes from "Free" to "Premium" (more fields and so on).
There is a correspondence between products and the type of node I can create.