Announcement

Collapse
No announcement yet.

Syntax error OCST line 188

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

    Syntax error OCST line 188

    Apparently there is an error on line 188 (dreamweaver called it) but I do know that the check box to update customer isn't displaying hence there must be an error but I'm really not familiar with miva script but would very much like to be.. Help please! Thank you in advance

    <mvt:if expr="g.Basket:cust_id">
    <div id="update-record">
    <mvt:if expr="g.Update_Customer">
    <input type="checkbox" name="Update_Customer" value="Yes" checked />
    <mvt:else>
    <input type="checkbox" name="Update_Customer" value="Yes" />
    </mvt:if>
    Ενημερώσετε αρχείο πελάτη με αυτές τις πληροφορίες
    </div>
    </mvt:if>
    <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;


    this would be line 188 </mvt:if>
    </script>
    </mvt:if>


    <script src="&mvte:global:clientside_url;Store_Code=&mvta: store:code;&amp;Filename=ToggleDetails.js&amp;Prim addr=billing&amp;Shipping=D&amp;Billing=D"></script>

    #2
    Re: Syntax error OCST line 188

    DW cannot check syntax errors of Miva page templates. It doesn't know SMT (no Miva Script in page templates).
    Last edited by PCINET - Andreas; 01-19-15, 11:22 AM.
    Andreas Toman
    PCINET, LLC

    Miva Merchant Design, Development, Integration & Support
    We built over 200 Miva Merchant stores!
    Miva shopping cart design & integration service and see our Portfolio!


    e-mail: [email protected]
    web: www.pcinet.com
    LinkedIn: Andreas Toman
    phone: (786) 250-2056 (Miami, FL)

    Comment


      #3
      Re: Syntax error OCST line 188

      Just a guess, but it may also be a charset tag issue.
      http://www.alphabetsigns.com/

      Comment


        #4
        Re: Syntax error OCST line 188

        Dan don't you think that the error pops uo because DW doesn't recognize SMT code?

        Working on MLK or family gone?
        Andreas Toman
        PCINET, LLC

        Miva Merchant Design, Development, Integration & Support
        We built over 200 Miva Merchant stores!
        Miva shopping cart design & integration service and see our Portfolio!


        e-mail: [email protected]
        web: www.pcinet.com
        LinkedIn: Andreas Toman
        phone: (786) 250-2056 (Miami, FL)

        Comment


          #5
          Re: Syntax error OCST line 188

          Yep, that could be it.

          Took me a minute to figure out what DW meant.

          Kids in school to make up a snow day so I'm at work. I should be in sunny FLA in a few weeks to I'll PM you.
          http://www.alphabetsigns.com/

          Comment

          Working...
          X