Announcement

Collapse
No announcement yet.

Redeem Gift Certificate not displaying customer credit

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

    Redeem Gift Certificate not displaying customer credit

    At first I thought it might have been an issue with a template that was tweaked to not display the customer credit so I went and tried another store. It didn't display the customer credit (applied gift certificate). Both sites are using fairly new versions of Shadows (10.04.00) and both are behaving the same way. Something looks like it's just missing from the code. It looks odd

    Code:
    <mvt:foreach array="paymentmethods" iterator="method">
    <mvt:if expr="l.settings:method:module EQ 'customercredit'">
    <div class="c-form-list__item c-form-list__item--full u-font-small">
    <span class="o-layout o-layout--align-baseline">
    <strong class="o-layout__item o-layout--no-grow">Or</strong>
    <span class="o-layout__item">
    <span class="c-keyline c-keyline--small u-block"></span>
    </span>
    </span>
    </div>
    <div class="c-form-list__item c-form-list__item--full u-font-small">
    <label class="c-form-checkbox c-form-checkbox--radio">
    <mvt:if expr="l.settings:method:paymentcard:id">
    <input class="c-form-checkbox__input" type="radio" name="PaymentMethod" value="paymentcard:&mvte:method:paymentcard:id;">
    <mvt:elseif expr="l.settings:method:paymentcardtype:id">
    <input class="c-form-checkbox__input" type="radio" name="PaymentMethod" value="paymentcardtype:&mvte:method:paymentcardtype:id;">
    <mvt:else>
    <input class="c-form-checkbox__input" type="radio" name="PaymentMethod" value="&mvte:method:module;:&mvte:method:code;">
    </mvt:if>
    <span class="c-form-checkbox__caption">&mvt:method:name;</span>
    </label>
    </div>
    <mvt:foreachstop />
    </mvt:if>
    </mvt:foreach>

    I look at the code and ask "Or what?"
    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
    there should be a &mvt:payment:formatted_balance; variable somewhere.

    my older shadow site has this code as well starting with

    Code:
    <mvt:if expr="g.AmountType EQ 'balance'">
    (its not letting me paste the whole code block...sorry
    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
      there should be a &mvt:payment:formatted_balance; variable somewhere.

      my older shadow site has this code as well starting with

      Code:
      <mvt:if expr="g.AmountType EQ 'balance'">
      (its not letting me paste the whole code block...sorry
      I think that is why I asked what is supposed to come after the
      Code:
      <strong class="o-layout__item o-layout--no-grow">Or</strong>
      because that's all I have.
      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
        It would appear that the "split payment" code is on the OPAY screen but for some reason it is not displaying.

        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


          #5
          Originally posted by lesliekirk View Post
          It would appear that the "split payment" code is on the OPAY screen but for some reason it is not displaying.
          Guess I see if Support might have any ideas.
          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
            Originally posted by lesliekirk View Post

            Guess I see if Support might have any ideas.
            So the Capt. Obvious moment - make sure the Customer Credit module has been installed. I had "assumed" that since there was already coding for it in place everything was ready to go. Not the case. Many thanks to Nick!
            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