Neuigkeiten
  • Die modified eCommerce Shopsoftware ist kostenlos, aber nicht umsonst.
    Spenden
  • Damit wir die modified eCommerce Shopsoftware auch zukünftig kostenlos anbieten können:
    Spenden
  • Thema: Send data to external Link Help

    papalife

    • Mitglied
    • Beiträge: 174
    Send data to external Link Help
    am: 08. März 2014, 21:28:31
    Hello,

    I would like to create a form where the user will write the packet number in the INPUT and when he clicks submit this number will pass to the courier service link and then will check the location of his packet.

    As an example: I am now in my online shop an I write as a customer the packet number (ex. 123456). Then cklicking SUBMIT will open UPS tracking page and in its link will be as variable the above number and of course will show info about my order.

    Linkback: https://www.modified-shop.org/forum/index.php?topic=29608.0

    Modulfux

    • Experte
    • Beiträge: 3.590
    • Geschlecht:
    Re: Send data to external Link Help
    Antwort #1 am: 08. März 2014, 21:43:52
    This is very easy to create.

    Create a new content in content manager and as an example you could use this snippet.
    Be careful this example works with DHL and not UPS.
    Code: PHP  [Auswählen]
    <fieldset>
    <legend>Track your delivery</legend>
    <form id="set_identcodes" target="_blank" action="http://nolp.dhl.de/nextt-online-public/set_identcodes.do" method="get"><p><br />
    Put in your tracking number<br /><br />
    <input type="text" id="idc" name="idc"></input>
    <input name="searchQuick" value="Search" type="submit" />
    </p></form>
    </fieldset>
     

    Greets
    Ronny

    papalife

    • Mitglied
    • Beiträge: 174
    Re: Send data to external Link Help
    Antwort #2 am: 08. März 2014, 21:55:04
    Thank you very much!!!
    0 Antworten
    1762 Aufrufe
    07. Mai 2015, 19:00:00 von Nils
    4 Antworten
    1207 Aufrufe
    06. November 2018, 17:52:58 von HaldOn
    9 Antworten
    4853 Aufrufe
    30. Juli 2012, 16:27:01 von dukie