fbpx

Modelo de página principal de resgate de presente

Se precisar substituir o modelo Redeem Gift Core Page, copie e cole o código abaixo em um bloco HTML personalizado do Editor do WordPress.

<div class="mm-checkoutContainer">
[MM_Form type='checkout']
[MM_Form_Message type='error']
  <div class="mm_left_column">
    [MM_Form_Section type='accountInfo']
    <div id="mm-account-information-section" class="mm-checkoutInfoBlock">
      <h3>Informações sobre a conta</h3>
      <p class="mm-formField">
        <label>Primeiro nome:</label>
        [MM_Form_Field type='input' name='firstName' customAttributes='placeholder="First Name"']
      </p>
      <p class="mm-formField">
        <label>Sobrenome:</label>
        [MM_Form_Field type='input' name='lastName' customAttributes='placeholder="Last Name"'] 
      </p>
      <p class="mm-formField">
        <label>E-mail:</label>
        [MM_Form_Field type='input' name='email' customAttributes='placeholder="Endereço de e-mail"'] 
      </p>
      <p class="mm-formField">
        <label>Senha:</label>
        [MM_Form_Field type='input' name='password' customAttributes='placeholder="Password"'] 
      </p>
      <p class="mm-formField">
        <label>Telefone:</label>
        [MM_Form_Field type='input' name='phone' isRequired='false' customAttributes='placeholder="Phone Number"'] 
      </p>
    </div>
    [/MM_Form_Section]
    
    [MM_Form_Section type='coupon']
    <div id="mm-coupon-block" class="mm-couponSection mm-checkoutInfoBlock">

      <h3>Código de presente</h3>
      <p class="mm-formField"> 
        [MM_Form_Field name='couponCode'] 
        <a href="/pt/[MM_Form_Button type='applyCoupon']/" class="mm-button">Aplicar código de presente</a>
      </p>
        
      [MM_Form_Message type='couponSuccess']
      [MM_Form_Message type='couponError']  
    </div>
    [/MM_Form_Section]
  </div>
  <div class="mm_right_column">
    <div class="mm-checkoutSection2">
      <h2>[MM_Form_Data name='productName']</h2>
      <p class="mm-productDesc">[MM_Form_Data name='productDescription']</p>
    </div>
    <div class="mm-purchaseSection">
      [MM_Order_Decision isDiscounted='true']
        <a href="/pt/[MM_Form_Button type='submit']/" class="mm-button large green">Resgatar presente</a>
      [/MM_Order_Decision]
      [MM_Order_Decision isDiscounted='false']
        <em>Digite um código de presente válido para resgatar seu presente</em>
      [/MM_Order_Decision]
    </div>
  </div>
  
  [MM_Form_Field type='hidden' name='phone']
  [MM_Form_Field type='hidden' name='billingAddress']
  [MM_Form_Field type='hidden' name='billingCity']
  [MM_Form_Field type='hidden' name='billingState']
  [MM_Form_Field type='hidden' name='billingZipCode']
  [MM_Form_Field type='hidden' name='billingCountry']
  [MM_Form_Field type='hidden' name='shippingAddress']
  [MM_Form_Field type='hidden' name='shippingCity']
  [MM_Form_Field type='hidden' name='shippingState']
  [MM_Form_Field type='hidden' name='shippingZipCode']
  [MM_Form_Field type='hidden' name='shippingCountry']
[/MM_Form]
</div>
Este artigo foi útil?

Artigos relacionados

Não consegue encontrar a resposta que está procurando?

Entre em contato com nossa Equipe de Sucesso do Cliente
Entre em contato conosco!