Re: Purchase Right to Publish a Node

Posts: 5360
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Well, the main problem here is that the event that gets fired when someone completes checkout takes the order and the user as arguments. The action for publishing a node requires a node object to be passed to it, so it's not available for the completed checkout event. With a little bit of code mojo you can create your own action that will find the referenced node and publish it.

Purchase Right to Publish a Node By: JuliaKM (20 replies) Wed, 11/28/2007 - 19:02