Announcement

Collapse
No announcement yet.

How is the address validation supposed to work?

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

    How is the address validation supposed to work?

    I've tried setting up address validation on OCST and CADA and I dont have any results. I've turned on address validation in shipping settings, and connected it to USPS. I checked the boxes for validate addresses at checkout and validate customer addresses. I've added the new code from the template changes for 10.00. And nothing seems to be different on either of those pages. I try entering in a partial address, or just a nonsense one, and it lets me submit it with nothing popping up. I have no javascript errors in the console. I've added this to those pages-

    <mvt:item name="readytheme" param="contentsection( 'address_validation' )" />

    Am I missing something for the setup?

    #2

    Hello,

    Does the form tag on OCST have a 'data-validate-address' attribute? If the site is based on a legacy framework you may need additional template changes on the OCST page to get it working properly. You could also try updating the Address Validation content section code with this if the above doesn't resolve it: https://gist.github.com/influxweb/e9...bb025815738ca6

    If that doesn't work either, you may want to put in a support ticket with use so we can have a closer look at the site.

    Kind Regards,
    Last edited by thilsabeck; 09-17-21, 12:04 PM.
    Tim Hilsabeck
    Technical Support II
    800.608.MIVA (Support Mon.-Sat. 7am-10pm EST)
    https://www.miva.com

    Comment


      #3
      No it doesnt, how do I add that?

      Comment


        #4
        Hello heather,

        I'm sorry for the late reply. On the OCST page there is a form tag like this
        Code:
        <form data-validate-address method="post" action="&mvte:url;">
        so you would just need to type it in if it's missing and update the template. That alone may resolve the issue but again you may also need to apply the updated content section code too.

        Kind Regards,
        Tim Hilsabeck
        Technical Support II
        800.608.MIVA (Support Mon.-Sat. 7am-10pm EST)
        https://www.miva.com

        Comment

        Working...
        X