Announcement

Collapse
No announcement yet.

Shadows - Redeem Gift Certificate

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

    Shadows - Redeem Gift Certificate

    I would like to get rid of the Redeem Gift Certificate option in the side basket on the checkout Shipping/Payment selection screen but I am not able to figure out the best way to do this.

    #2
    The checkout sidebar is a readytheme content section. To edit it, go to User Interface -> Theme Components then Content Sections. Look for "Checkout Steps" and edit it.

    Here you'll see the code that outputs the Gift Certificate Box to the page which you can remove:

    Code:
    <mvt:if expr="l.settings:basket:redeemgiftcerts">
    <tr class="c-table-simple__row u-color-gray-600">
    <td class="c-table-simple__cell">
    <mvt:if expr="g.Basket:cust_id EQ 0">
    <p>Have A Gift Card? <a href="&mvte:urls:GFTL:auto;" data-dialog-trigger="gftl-sign-in" title="Sign In to Redeem Gift Certificate">Sign In to Use</a></p>
    <div class="c-dialog" data-dialog="gftl-sign-in" aria-hidden="true">
    <div class="c-dialog__overlay" tabindex="-1">
    <div class="c-dialog__container c-dialog__container--fit" aria-labelledby="sign-in-title" aria-modal="true" role="dialog">
    <header class="c-dialog__header">
    <p id="sign-in-title" class="c-dialog__title c-heading-foxtrot">Sign In</p>
    <button class="c-dialog__close" aria-label="Close Dialog" data-dialog-close></button>
    </header>
    <div class="c-dialog__content c-dialog__container--fit">
    <form method="post" action="&mvte:urls:_self:secure;" autocomplete="off">
    <fieldset>
    <legend>Sign Into Your Account</legend>
    <input type="hidden" name="Action" value="LOGN" />
    <input type="hidden" name="Order" value="&mvte:global:Order;">
    <div class="c-form-list">
    <div class="c-form-list__item">
    <label class="c-form-label is-required &mvte:global:invalid_credentials;" for="l-Customer_LoginEmail">Email Address</label>
    <input id="l-Customer_LoginEmail" class="c-form-input" type="text" inputmode="email" name="Customer_LoginEmail" value="&mvte:global:Customer_LoginEmail;" autocomplete="email" required>
    </div>
    <div class="c-form-list__item">
    <label class="c-form-label is-required &mvte:global:invalid_credentials;" for="l-Customer_Password">Password:</label>
    <input id="l-Customer_Password" class="c-form-input" type="password" name="Customer_Password" autocomplete="current-password" required>
    </div>
    <div class="c-form-list__item">
    <p>
    <a data-dialog-trigger="forgot-password" href="&mvte:urls:FPWD:secure;">Forgot Password?</a>
    </p>
    <p>
    <input class="c-button c-button--full c-button--secondary" type="submit" value="Sign In and Redeem">
    </p>
    <a class="u-block u-text-center" href="&mvte:urls:ACAD:secure_sep;Order=1">Register Now</a>
    </div>
    </div>
    </fieldset>
    </form>
    </div>
    </div>
    </div>
    </div>
    <mvt:else>
    <form class="t-basket_coupon-form" method="post" action="&mvte:urls:_self:auto;">
    <fieldset>
    <legend>Redeem Gift Certificate</legend>
    <input type="hidden" name="Action" value="RDGC" />
    <div class="c-form-list">
    <label class="c-form-label" for="GiftCertificate_Code">Gift Certificate</label>
    <div class="c-form-list__item c-form-list__item--full c-form-inline-set">
    <input id="GiftCertificate_Code" class="c-form-input" type="text" name="GiftCertificate_Code" required>
    <input class="c-button u-color-black u-bg-gray-400" type="submit" value="Apply">
    </div>
    </div>
    </fieldset>
    </form>
    </mvt:if>
    </td>
    </tr>
    </mvt:if>
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Would it not be better to comment it out should you later decide you need it?
      Thank you, Bill Davis

      Comment


        #4
        Thank you!

        Comment

        Working...
        X