Broken Cart Summary on OSEL and OPAY Page fix

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • lesliekirk
    replied
    Originally posted by Matt Zimmermann View Post
    Hi Leslie,

    The second <small> tag should actually be </small> so it closes out the opening one.
    That's what I was trying to point out. I must have hit Post Reply before I finished my post...

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Leslie,

    The second <small> tag should actually be </small> so it closes out the opening one.

    Leave a comment:


  • Broken Cart Summary on OSEL and OPAY Page fix

    I'm trying t track down what is breaking the rest of a layout on the OSEL page. Since the site is behind a password protected directory, I can't share the link. On an off chance, I went and looked at the Miva demo for the ReadyTheme. To see the issue, go to https://suivant-theme.mivamerchantdev.com, add something to the cart and checkout. Notice the Global Footer when you get to the OSEL screen (checkout-special-offers.html).

    When I inspect the code, I see it adding a bunch of

    Code:
    <small>
        <small>
        </smal>
    </small>
    When I view source, it looks like an extra </div> tag might be being added:

    Code:
     <div class="column one-fourth align-right nrp nlp"> $129.90<br /> <small><s>$158.95</s><small><br /> &nbsp;<br /> &nbsp;<br /> [COLOR=#FF0000]</div> </div>[/COLOR]

    Then the issue seems to multiple in the address section and disrupts everything after that:

    Code:
     <div class="basket-product-row"> <p class="column whole h6">Ship To:</p> <address class="column whole"> <strong>Test Order</strong><br /> 1234 Your Way&nbsp; Our Town, AL 35124 US<br /> <small>Residential Address</small><br /> Email: [email protected]<br /> Phone: 8888888888<br /> </address> </div> <div class="basket-product-row"> <p class="column whole h6">Bill To:</p> <address class="column whole"> <strong>Test Order</strong><br /> 1234 Your Way&nbsp; Our Town, AL 35124 US<br /> Email: [email protected]<br /> Phone: 8888888888<br /> </address> </div> [COLOR=#FF0000]</div> </div> </div>[/COLOR] <div class="row hdft-footer"> </div> [COLOR=#FF0000]</div> </div>[/COLOR] <!-- end column-right --> <!-- end column-left --> [COLOR=#FF0000]</div>[/COLOR] <!-- end main --> <div class="bottom-wrap"></div> <!-- end bottom-wrap --> [COLOR=#FF0000]</div>[/COLOR] <!-- end wrap --> [COLOR=#FF0000]</main>[/COLOR] <!-- end main --> [COLOR=#FF0000]</div>[/COLOR] <!-- end site-wrapper -->

    After digging through the code in the OSEL Basket Content section, I discovered a second <small> tag instead of a closing </small> tag around line 43


    Code:
    <mvt:if expr="l.settings:group:subtotal_base_price NE l.settings:group:subtotal">
                    &mvt:group:formatted_subtotal;<br />
                    <small><s>&mvt:group:formatted_subtotal_base_price;</s>[COLOR=#FF0000][B]<small>[/B][/COLOR]<br />
                <mvt:else>
                    &mvt:group:formatted_subtotal;<br />
                    <small>&nbsp;</small><br />
                </mvt:if>
    The same problem exists in the OPAL Basket Content section.

    Change the second <small> to </small> to fix the problem.
    Last edited by lesliekirk; 04-23-18, 06:32 AM. Reason: Added the fix to the fix post - LOL
Working...
X