Support » Plugin: Service Area Postcode Checker » Success message leaves junk data

  • Resolved usitabu


    After displaying the message informing about the correct postal code, the code or mask of the code from the list of accepted codes is also displayed.

    For example, the code is 01234 and code mask 01*. The result is as:

    <span class="success-return-msg">
      <p style="font-family:Raleway; font-size: 1em; text-align: center; letter-spacing: 0.1em; color:#fff; padding: 20px 20px 0px 20px;">
        Gratulujemy! Mieszkasz w obszarze naszych dostaw. Do zobaczenia wkrótce!
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author second2none


    The postcode is always displayed. You’d need to customise the code to remove it.

    Thank you for the answer.

    It was possible to omit the customization of the code, because the plug-in administrative fields allow entering HTML tags. At the end of the Success Message field I have entered the text:

    <span id='postcode_mask_to_remove'>

    and added some CSS:

    #postcode_mask_to_remove {
    Plugin Author second2none


    That will work. I’ll look at adding some options in the next update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Success message leaves junk data’ is closed to new replies.