Postponed (maintainer needs more info)
Project:
UC Node Checkout
Version:
5.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2008 at 15:43 UTC
Updated:
14 Feb 2009 at 23:45 UTC
Comments
Comment #1
rszrama commentedI'm not sure exactly what you're expecting to happen, but maybe when I finally finish up the documentation these settings will make more sense.
Comment #2
uprojects commentedI search the same thing .I would be able to associate a node type with a product within UC Node Checkout but only if a field value in the created node is equal with a predefine value .Because all my parameters are based on a node type and i don't want to create an another node type to provide a pay per node service. And the benefit is very interesting because the final user can choose a appropriate product for him.
Sorry for my english !
Merci ;-)
Comment #3
rszrama commentedHmm... if you post your request in French, I may be able to have my wife (or Google) translate it for me if that's easier for you. I'm not really sure what you're looking to do. It might help if you describe it with your real world use case. : )
Comment #4
uprojects commentedok c'est cool !Je vous explique en français alors !
Je souhaiterai ajouter une autre condition pour que l'association entre un type de noeud et un produit prenne effet.
C'est à dire que je souhaite créer un champs avec cck dans mon type de contenu ("projet" dans mon cas) avec comme label:"Cocher pour publier un projet Premium(39€)" par exemple et avec une checkbox comme wigdet .Grâce à ce champs, l'utilisateur final sera rediriger vers le panier ubercart si et seulement si il à cocher le champs "Cocher pour publier un projet Premium(39€)" .
Je pense que cela est possible en proposant dans l'interface d'administration de UC Node Checkout une option pour sélectionner un champs lors de l'assocation et de vérifier sa valeur (coché dans mon exemple).
J'espère être compréhensif !
Thank you
Comment #5
rszrama commentedAhh, I understand. So the idea is that you would only add the product node assuming that value was checked. I'm not really sure this is a feature that could be made generally available... there are just so many variables to consider when checking the value of a CCK field, and the user interface to do that would take quite a bit of code. I think instead a custom module that plugs into the node add form would be advisable. Basically, UC Node Checkout works through the node add form by adding a custom submit handler to the form. If your module were to alter the form after UC Node Checkout, you could remove that submit handler and direct the form to use your own. In your version, you could check to see if they checked that box and, if so, call the UC Node Checkout submit handler from your code.
Comment #6
uprojects commentedOui voila vous avez compris !!!
Est t-il possible de m'aider à le faire ? Juste un exemple pour le départ ! Oû dans le code puis-je implémenter ma condition ? ?
Thank you rszrama