Ajouter des champs personnalisés à une page de paiement

Si vous souhaitez ajouter un champ personnalisé à votre page de paiement, il vous suffit d'inclure le SmartTag™ suivant dans votre formulaire de paiement :

[MM_Form_Field type='custom' id='10' isRequired='false']

In order for this to work correctly make sure that you place the SmartTag™ between the MM_Form type=’checkout’ and /MM_Form SmartTags. After this SmartTag™ has been included in the checkout form MemberMouse will render the custom field as part of the checkout form based on the configuration des champs personnalisés.

Comment obtenir le SmartTag™ pour un champ personnalisé particulier :

  1. Dans le menu MemberMouse, cliquez sur Paramètres de paiement puis cliquez sur le bouton Champs personnalisés tabulation.

  2. Localisez dans le tableau le champ personnalisé que vous souhaitez ajouter à la page de paiement.



  3. Click the ‘blue tag’ button in the Formulaire SmartTag colonne.

  4. Dans la boîte de dialogue qui s'affiche, copiez le SmartTag.



  5. Paste the SmartTag™ anywhere between the MM_Form type=’checkout’ and /MM_Form SmartTags on your checkout page.

Champ personnalisé SmartTag™ Attributs

isRequiredSet the ‘isRequired’ attribute to ‘true’ if you want the field to be required. By default it will not be required.
classeSet the ‘class’ attribute to apply a custom CSS class to the field.
typeSet the ‘type’ attribute to ‘custom-hidden’ to make this a hidden field. This would usually be use in conjunction with transmettre des données personnalisées à la page de paiement via l'URL.
Cet article a-t-il été utile ?

Articles connexes

Vous ne trouvez pas la réponse que vous cherchez ?

Contactez notre équipe chargée de la réussite des clients
Contactez nous !