Announcement

Collapse
No announcement yet.

Change Check label on OPAY screen

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change Check label on OPAY screen

    I need to tweak the label for the Check payment field which displays on the OPAY screen after the check payment method has been selected. It looks like it's controlled by a data-prompt:

    data-prompt="&mvte:field:prompt;"

    Should I test for the payment method or the data-prompt?

    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Doesn't changing it under Payment Settings set the display name in both places (warning...one cup of coffee so far today)
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      Originally posted by Bruce - PhosphorMedia View Post
      Doesn't changing it under Payment Settings set the display name in both places (warning...one cup of coffee so far today)
      It changes it in two of the 3 expected locations.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        lol

        I think you want to look for the value of l.settings:field:prompt and just reassign it. the data-prompt value has to be populated with the correct wording in order for it to appear.
        Bruce Golub
        Phosphor Media - "Your Success is our Business"

        Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
        phosphormedia.com

        Comment


          #5
          Originally posted by Bruce - PhosphorMedia View Post
          lol

          I think you want to look for the value of l.settings:field:prompt and just reassign it. the data-prompt value has to be populated with the correct wording in order for it to appear.

          Code:
          <mvt:if expr="l.settings:field:prompt EQ 'Check #:'">
          PO #:
          </mvt:if>

          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            Not sure as I'm doing this blind, but I'd thought it would be:

            Code:
             <mvt:if expr="l.settings:field:prompt EQ 'Check #:'"> <mvt:assign name="l.settings:field:prompt" value="'PO #:'"/> </mvt:if>
            Bruce Golub
            Phosphor Media - "Your Success is our Business"

            Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
            phosphormedia.com

            Comment


              #7
              I have the same issue with the payment method display name. I actually started a new topic beforeI found this thread.
              On OSEL the payment method displays as &mvt:method:name; But I want to use the "display as" value in other places too.
              Leslie, did you figure this out?

              Comment


                #8
                I needed to change the Check label to PO and used this on the OPAY screen

                Code:
                <mvt:if expr="l.settings:field:prompt EQ 'Check #:'">
                <div class="form_row payment-field-row payment-field-row-&mvte:field:code;">
                                                <label class="bold">PO #:</label><mvt:item name="payment" param="field:code" />
                </div>
                <mvt:else>
                
                                            <mvt:foreach array="payment:fields" iterator="field">
                                                <div class="form_row payment-field-row payment-field-row-&mvte:field:code;" data-code="&mvte:field:code;" data-invalid="&mvte:field:invalid;" data-prompt="&mvte:field:prompt;">
                                                    <mvt:if expr="l.settings:field:invalid">
                                                        <label class="bold red">&mvt:field:prompt;</label>
                                                    <mvt:else>
                                                        <label class="bold">&mvt:field:prompt;</label>
                                                    </mvt:if>
                                                    <mvt:item name="payment" param="field:code" />
                                                </div>
                                            </mvt:foreach>
                
                </mvt:if>

                In the ORDER_INVOICE I used this:

                Code:
                <mvt:if expr="( ISNULL l.settings:order:payment:fields ) AND ( NOT ISNULL l.settings:order:payment:descrip )">
                                    <table><tr><th>Payment Method:</th><td>&mvt:order:payment:descrip;</td></tr></table>
                                <mvt:else>
                <mvt:if expr="l.settings:order:payment:descrip EQ 'Authorize.Net'">
                <table><tr><th>Payment Method:</th><td> CC</td></tr></table>
                <mvt:elseif expr="l.settings:order:payment:descrip EQ 'Check'">
                <table><tr><th>Payment Method:</th><td> Purchase Order</td></tr></table>
                
                
                <mvt:else>
                
                
                                    <table><tr><th>Payment Method:</th><td>&mvt:order:payment:descrip;</td></tr></table>
                </mvt:if>
                                 </mvt:if>
                There may have been a couple other places, but after I implemented it, but I figured I'd get you a quick reply.



                Leslie Kirk
                Miva Certified Developer
                Miva Merchant Specialist since 1997
                Previously of Webs Your Way
                (aka Leslie Nord leslienord)

                Email me: [email protected]
                www.lesliekirk.com

                Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                Comment

                Working...
                X