Results 1 to 2 of 2

Thread: add the word BOX to the validation

  1. #1
    Junior Member
    Join Date
    Aug 2013

    add the word BOX to the validation


    I was trying to find the place to edit the file, but couldn't find it, i would like to include the word BOX to the validation.


  2. #2
    Team Member
    Join Date
    Dec 2011
    Los Angeles, CA

    The file you are looking for is under /app/code/local/Activo/Nopobox/Block/Message.php. The lines you want to look at are 37 and 57. However notice that we are using regex and it is looking for the word Box in different variations.

    What exactly are you looking to do? add a certain exclusion or allow certain 'box' variations to go through?

    If it is a use case we have not addressed we would love to add it and test for it.

    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts