Announcement

Collapse
No announcement yet.

Coupon & Gift Certificate Inputs

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

    Coupon & Gift Certificate Inputs

    ​I don't know if it's dependent on the theme or not, but I'm using a modified Base ReadyTheme, and it has the coupon entry on the BASK page, and the Gift Certificate entry on the OSEL page.

    Does the coupon code input field need to be on the BASK page? Likewise, does the Gift Certificate input need to be on the OSEL page? Can I move the coupon and gift certificate inputs to the same page template during checkout?

    I'd rather have them on the same page, preferably on BASK. But I'd settle for OSEL.

    Thanks,
    Mark
    Last edited by Mark Stephens; 01-28-16, 09:30 AM.

    #2
    Both input boxes can be on any page on your site. They are self contained forms so you can move them to any page. The only limitation on the gift certificate input is you need to be logged in to redeem a gift certificate because it gets converted into account credit. However the default logic will display a Link to login if they are not:

    Code:
    <mvt:if expr="g.Basket:cust_id EQ 0">
          <p class="column whole medium-half"><a href="&mvte:urls:GFTL:secure;" class="button">Redeem Gift Certificate</a></p>
      <mvt:else>
          <form method="post" action="&mvte:urls:_self:secure;" class="column whole medium-half">
              <input type="hidden" name="Action" value="RDGC" />
              <div class="column three-eighths">
                  <label for="l-gift-certificate-code">Gift Certificate:</label>
              </div>
              <div class="column three-eighths np">
                  <input type="text" name="GiftCertificate_Code" id="l-gift-certificate-code" class="input-small-font" />
              </div>
              <div class="column one-fourth np">
                  <input type="submit" value="Apply" class="button button-small-font button-square align-top nb" />
              </div>
          </form>
      </mvt:if>
    Last edited by Brennan; 01-28-16, 11:00 AM.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Okay. Thank you!

      Comment


        #4
        I've tried moving the Coupon Redeem to replace the Gift Certificate Redeem on the OSEL page. I have run into a quirk. Putting the redeem on that page wipes out the hidden field input for the EmporiumPlus Order Custom Fields which is used to collect additional fees for services. The services are selected on the OCST screen. If a coupon is redeemed on the OSEL page, when the customer moves forward to the OPAY screen, the fees that were added by the OCF module are gone.

        I may have just thought of a way to resolve this by moving the OCF to the OSEL screen after the Coupon Redeem field.
        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