Announcement

Collapse
No announcement yet.

OCST Customer Fields l.settings:customer:match Conditional

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

    OCST Customer Fields l.settings:customer:match Conditional

    I was curious as to when this conditional statement would be met or true?

    How is this value being set?

    I thought it was only met if a customer was logged in but I think I may be wrong.

    This is in the Customer Fields Section of OCST

    Code:
    <mvt:if expr="l.settings:customer:match">
        <script>
            <mvt:if expr="l.settings:customer:primaddr EQ 'shipping'">
                document.getElementById( 'billing_to_show' ).checked = true;
            <mvt:elseif expr="l.settings:customer:primaddr EQ 'billing'">
                document.getElementById( 'shipping_to_show' ).checked = true;
            </mvt:if>
        </script>
    </mvt:if>
    Nick Harkins
    www.loveisarose.com

    #2
    SidFeyDesigns That variable is being set by the software: https://github.com/mivaecommerce/miv...s.mv#L476-L489

    On line 489 and 503 you will see that the l.settings:match variable is set to 1 if the condition is true.
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment

    Working...
    X