fbpx

Modèle de page principale Mon compte

Si vous devez remplacer le modèle de la page principale Mon compte, copiez et collez le code ci-dessous dans un bloc HTML personnalisé de l'éditeur WordPress.

[MM_Form type='myaccount']
<div class="mm-myaccount">
    [MM_Form_Message type='error']
  
    <div id="mm-account-details-section" class="mm-myaccount-module">
      <div id="mm-account-details-header" class="mm-myaccount-module-header"> 
        <i class="fa fa-user mm-icon blue" style=" font-size:1.2em; position:relative; top:1px;"></i>        Détails du compte 
        <a href="/fr/[MM_Form_Button type='updateAccountDetails']/" id="mm-account-details-update-button" class="mm-update-button">mise à jour</a>
      </div>
      <div class="mm-myaccount-content-wrapper">
        <div id="mm-account-details-body" class="mm-myaccount-block">
          <p id="mm-element-first-name" class="mm-myaccount-element">
            <span id="mm-label-first-name" class="mm-myaccount-label">
              Prénom : 
            </span>
            <span id="mm-data-first-name" class="mm-myaccount-data">
              [MM_Form_Data name='firstName']
            </span>
          </p>
          <p id="mm-element-last-name" class="mm-myaccount-element">
            <span id="mm-label-last-name" class="mm-myaccount-label">
              Nom de famille : 
            </span>
            <span id="mm-data-last-name" class="mm-myaccount-data">
              [MM_Form_Data name='lastName']
            </span>
          </p>
          <p id="mm-element-phone" class="mm-myaccount-element">
            <span id="mm-label-phone" class="mm-myaccount-label">
              Téléphone : 
            </span>
            <span id="mm-data-phone" class="mm-myaccount-data">
              [MM_Form_Data name='phone']
            </span>
          </p>
          <p id="mm-element-email" class="mm-myaccount-element">
            <span id="mm-label-email" class="mm-myaccount-label">
              Courriel : 
            </span>
            <span id="mm-data-email" class="mm-myaccount-data">
              [MM_Form_Data name='email']
            </span>
          </p>
          <p id="mm-element-username" class="mm-myaccount-element">
            <span id="mm-label-username" class="mm-myaccount-label">
              Nom d'utilisateur : 
            </span>
            <span id="mm-data-username" class="mm-myaccount-data">
              [MM_Form_Data name='username']
            </span>
          </p>
          <p id="mm-element-password" class="mm-myaccount-element">
            <span id="mm-label-password" class="mm-myaccount-label">
              Mot de passe : 
            </span>
            <span id="mm-data-password" class="mm-myaccount-data">
              [MM_Form_Data name='password']
            </span>
          </p>
          <p id="mm-element-registration" class="mm-myaccount-element">
            <span id="mm-label-registration" class="mm-myaccount-label">
              Membre depuis : 
            </span>
            <span id="mm-data-registration" class="mm-myaccount-data">
              [MM_Form_Data name='registrationDate']
            </span>
          </p>
          [MM_Member_Decision status='pending_cancel']
          <p id="mm-element-pending-cancellation" class="mm-myaccount-element">
            <span id="mm-label-pending-cancellation" class="mm-myaccount-label">
              Le compte sera annulé le [MM_Member_Data name='cancellationDate' dateFormat='M j, Y'].
            </span>
          </p>
          [/MM_Member_Decision]
          <p id="mm-element-membership-level" class="mm-myaccount-element">
            <span id="mm-label-membership-level" class="mm-myaccount-label">
              Niveau d'adhésion : 
            </span>
            <span id="mm-data-membership-level" class="mm-myaccount-data">
              [MM_Form_Data name='membershipLevelName']
              [MM_Member_Decision status='!pending_cancel']
              <a href="/fr/[MM_Form_Button type='cancelMembership']/" class="mm-cancel-membership-button">annuler</a>
              [/MM_Member_Decision]
            </span>
          </p>
        </div>
        <div id="mm-account-profile-body" class="mm-myaccount-block">
          [MM_Form_Data name='customFields']
        </div>
      </div>
    </div>
  
    <div id="mm-billing-shipping-info-section" class="mm-myaccount-module">
      <div id="mm-billing-info-container" class="mm-myaccount-block">
          <div id="mm-billing-info-header" class="mm-myaccount-module-header">
            <i class="fa fa-credit-card mm-icon blue" style=" font-size:1.2em; position:relative; top:1px;"></i> Adresse de facturation 
            <a href="/fr/[MM_Form_Button type='updateBillingInfo']/" id="mm-billing-info-update-button" class="mm-update-button">mise à jour</a>
          </div>
          <div class="mm-myaccount-content-wrapper">
            <div id="mm-billing-info-body"> 
            <p id="mm-element-billing-address" class="mm-myaccount-element">
              <span id="mm-label-billing-address" class="mm-myaccount-label">
                Adresse : 
              </span>
              <span id="mm-data-billing-address" class="mm-myaccount-data">
                [MM_Form_Data name='billingAddress']
              </span>
            </p>
            <p id="mm-element-billing-city" class="mm-myaccount-element">
              <span id="mm-label-billing-city" class="mm-myaccount-label">
                Ville : 
              </span>
              <span id="mm-data-billing-city" class="mm-myaccount-data">
                [MM_Form_Data name='billingCity']
              </span>
            </p>
            <p id="mm-element-billing-state" class="mm-myaccount-element">
              <span id="mm-label-billing-state" class="mm-myaccount-label">
                État : 
              </span>
              <span id="mm-data-billing-state" class="mm-myaccount-data">
                [MM_Form_Data name='billingState']
              </span>
            </p>
            <p id="mm-element-billing-zip-code" class="mm-myaccount-element">
              <span id="mm-label-billing-zip-code" class="mm-myaccount-label">
                Code postal : 
              </span>
              <span id="mm-data-billing-zip-code" class="mm-myaccount-data">
                [MM_Form_Data name='billingZipCode']
              </span>
            </p>
            <p id="mm-element-billing-country" class="mm-myaccount-element">
              <span id="mm-label-billing-country" class="mm-myaccount-label">
                Pays : 
              </span>
              <span id="mm-data-billing-country" class="mm-myaccount-data">
                [MM_Form_Data name='billingCountry']
              </span>
            </p>
            </div>
          </div>
      </div>
      <div id="mm-shipping-info-container" class="mm-myaccount-block">
          <div id="mm-shipping-info-header" class="mm-myaccount-module-header">
            <i class="fa fa-truck mm-icon blue" style=" font-size:1.2em; position:relative; top:1px;"></i>            Adresse de livraison 
            <a href="/fr/[MM_Form_Button type='updateShippingInfo']/" id="mm-shipping-info-update-button" class="mm-update-button">mise à jour</a>
          </div>
          <div class="mm-myaccount-content-wrapper">
            <div id="mm-shipping-info-body"> 
              <p id="mm-element-shipping-address" class="mm-myaccount-element">
              <span id="mm-label-shipping-address" class="mm-myaccount-label">
                Adresse : 
              </span>
              <span id="mm-data-shipping-address" class="mm-myaccount-data">
                [MM_Form_Data name='shippingAddress']
              </span>
            </p>
            <p id="mm-element-shipping-city" class="mm-myaccount-element">
              <span id="mm-label-shipping-city" class="mm-myaccount-label">
                Ville : 
              </span>
              <span id="mm-data-shipping-city" class="mm-myaccount-data">
                [MM_Form_Data name='shippingCity']
              </span>
            </p>
            <p id="mm-element-shipping-state" class="mm-myaccount-element">
              <span id="mm-label-shipping-state" class="mm-myaccount-label">
                État : 
              </span>
              <span id="mm-data-shipping-state" class="mm-myaccount-data">
                [MM_Form_Data name='shippingState']
              </span>
            </p>
            <p id="mm-element-shipping-zip-code" class="mm-myaccount-element">
              <span id="mm-label-shipping-zip-code" class="mm-myaccount-label">
                Code postal : 
              </span>
              <span id="mm-data-shipping-zip-code" class="mm-myaccount-data">
                [MM_Form_Data name='shippingZipCode']
              </span>
            </p>
            <p id="mm-element-shipping-country" class="mm-myaccount-element">
              <span id="mm-label-shipping-country" class="mm-myaccount-label">
                Pays : 
              </span>
              <span id="mm-data-shipping-country" class="mm-myaccount-data">
                [MM_Form_Data name='shippingCountry']
              </span>
            </p>
            </div>
          </div>
      </div>
  </div>
  
    <div id="mm-subscription-info-section" class="mm-myaccount-module">
      <div id="mm-subscription-info-header" class="mm-myaccount-module-header"> 
        <i class="fa fa-refresh mm-icon blue" style=" font-size:1.2em; position:relative; top:1px;"></i> 
        Abonnements 
      </div>
      <div class="mm-myaccount-content-wrapper">
        <div id="mm-subscription-info-body"> 
          [MM_Form_Data name='subscriptions']
        </div>
      </div>
    </div>
  
    <div id="mm-order-history-section" class="mm-myaccount-module">
      <div id="mm-order-history-header" class="mm-myaccount-module-header">
        <i class="fa fa-shopping-cart mm-icon blue" style=" font-size:1.2em; position:relative; top:1px;"></i>        Historique des commandes (dernières commandes)
        <a href="/fr/[MM_Form_Button type='viewOrderHistory']/" id="mm-order-history-view-all-button" class="mm-update-button">Voir tous</a>
      </div>
      <div id="mm-order-history-body" class="mm-myaccount-content-wrapper">
          [MM_Form_Data name='orderHistory']
      </div>
    </div>
    
    [MM_Form_Section type='gifts']
    <div id="mm-gifts-section" class="mm-myaccount-module">
      <div id="mm-gifts-header" class="mm-myaccount-module-header">
        <i class="fa fa-gift mm-icon purple" style=" font-size:1.2em; position:relative; top:1px;"></i>        Dons achetés (dons les plus récents)
        <a href="/fr/[MM_Form_Button type='viewGiftHistory']/" id="mm-gifts-view-all-button" class="mm-update-button">Voir tous</a>
      </div>
      <div id="mm-gifts-body" class="mm-myaccount-content-wrapper">
          [MM_Form_Data name='gifts']
      </div>
    </div>
    [/MM_Form_Section]
    
    [MM_Form_Section type='socialLogin']
    <div id="mm-social-login-section" class="mm-myaccount-module">
       <div id="mm-social-login-header" class="mm-myaccount-module-header"> 
      Réseaux sociaux
      </div>
        <div class="mm-myaccount-content-wrapper">
       <div id="mm-social-login-body">
        [MM_Form_Data name='socialLogin']
      </div>
       </div>
     </div>
     [/MM_Form_Section]

</div>
[/MM_Form]
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 !