Şahin YILDIZ Posted September 4, 2013 Share Posted September 4, 2013 Bu makalemizde artık e-ticaret sitelerinde sıkça gördüğümüz bayi başvuru formunu basit şekilde prestashop'a uygulayacağız...yine modül yapabilen arkadaşlar görev düşüyor.. Ekteki dosyaları site ana dizine atıyoruz...değişikliklere izin veriyoruz.. Temanızın "header.tpl" içine aşağıdaki kodu ekliyoruz <link rel="stylesheet" href="{$base_dir}insan-kaynaklari/css/css.css" type="text/css" media="screen" /> Daha sonra Bilgi & yardım Seçenekleri menüsünde bir sayfa oluşturuyoruz.. HTML olarak aşağıdaki kodları yapıştırıyoruz... <div align="left"><strong>BAYİ BAŞVURU FORMU</strong></div> <div align="left"><strong><br /></strong></div> <div align="left"><strong><br /></strong></div> <form action="insan-kaynaklari/bayi-gonder.php" method="post"> <table id="contactElements2" style="width: 500px;" border="0"> <tbody> <tr> <td style="text-align: right;" height="30"><strong>Adı Soyadı :</strong></td> <td class="field4"><strong><input id="ad" type="text" name="ad" /> *</strong></td> </tr> <tr> <td style="text-align: right;"><strong>Telefon :</strong></td> <td class="field4"><strong><input id="telefon" type="text" name="telefon" /> *</strong></td> </tr> <tr> <td style="text-align: right;"><strong>Fax :</strong></td> <td class="field4"><strong><input id="fax" type="text" name="fax" /> *</strong></td> </tr> <tr> <td style="text-align: right;"><strong>Gsm :</strong></td> <td class="field4"><strong><input id="gsm" type="text" name="gsm" /> *</strong></td> </tr> <tr> <td style="text-align: right;"><strong>E-mail :</strong></td> <td class="field4"><strong><input id="eposta" type="text" name="eposta" /> *</strong></td> </tr> <tr> <td style="text-align: right;"><strong>Firma adı :</strong></td> <td class="field4"><strong><input id="firmaadi" type="text" name="firmaadi" /> *</strong></td> </tr> <tr> <td style="text-align: right;"><strong>Firma Sahibi :</strong></td> <td class="field4"><input id="firmasahibi" type="text" name="firmasahibi" /> *</td> </tr> <tr> <td style="text-align: right;"><strong>Firma Adresi :</strong></td> <td class="field4"><input id="firmaadresi" type="text" name="firmaadresi" size="60" /> *</td> </tr> <tr> <td style="text-align: right;"><strong>Vergi Dairesi :</strong></td> <td class="field4"><input id="vergidairesi" type="text" name="vergidairesi" /> *</td> </tr> <tr> <td style="text-align: right;"><strong>Vergi No :</strong></td> <td class="field4"><input id="vergino" type="text" name="vergino" /> *</td> </tr> <tr> <td style="text-align: right;"><strong>Faaliyet Alanı :</strong></td> <td class="field4"><input id="faliyetalani" type="text" name="faliyetalani" size="40" /> *</td> </tr> <tr> <td style="text-align: right;"><strong>Şehir :</strong></td> <td class="select-menu3"><select id="sehir" name="sehir"> <option value="Şehir Seçin">Şehir Seçin</option> <option value="Adana">Adana</option> <option value="Adıyaman">Adıyaman</option> <option value="Afyon">Afyon</option> <option value="Agrı">Agrı</option> <option value="Amasya">Amasya</option> <option value="Ankara">Ankara</option> <option value="Antalya">Antalya</option> <option value="Artvin">Artvin</option> <option value="Balikesir">Balikesir</option> <option value="Bingöl">Bingöl</option> <option value="Bilecik">Bilecik</option> <option value="Bingöl">Bingöl</option> <option value="Bitlis">Bitlis</option> <option value="Bolu">Bolu</option> <option value="Burdur">Burdur</option> <option value="Bursa">Bursa</option> <option value="Çanakkale">Çanakkale</option> <option value="Çankiri">Çankiri</option> <option value="Çorum">Çorum</option> <option value="Denizli">Denizli</option> <option value="Diyarbakır">Diyarbakır</option> <option value="Edirne">Edirne</option> <option value="Elazig">Elazig</option> <option value="Erzincan">Erzincan</option> <option value="Erzurum">Erzurum</option> <option value="Eskisehir">Eskisehir</option> <option value="Gaziantep">Gaziantep</option> <option value="Giresun">Giresun</option> <option value="Gümüshane">Gümüshane</option> <option value="Hakkari">Hakkari</option> <option value="Hatay">Hatay</option> <option value="Isparta">Isparta</option> <option value="İçel">İçel</option> <option value="İstanbul">İstanbul</option> <option value="İzmir">İzmir</option> <option value="Kars">Kars</option> <option value="Kastamonu">Kastamonu</option> <option value="Kayseri">Kayseri</option> <option value="Kırklareli">Kırklareli</option> <option value="Kırsehir">Kırsehir</option> <option value="Kocaeli">Kocaeli</option> <option value="Konya">Konya</option> <option value="Kütahya">Kütahya</option> <option value="Malatya">Malatya</option> <option value="Manisa">Manisa</option> <option value="Kahramanmaras">Kahramanmaras</option> <option value="Mardin">Mardin</option> <option value="Muğla">Muğla</option> <option value="Mus">Mus</option> <option value="Nevsehir">Nevsehir</option> <option value="Nigde">Nigde</option> <option value="Ordu">Ordu</option> <option value="Rize">Rize</option> <option value="Sakarya">Sakarya</option> <option value="Samsun">Samsun</option> <option value="Siirt">Siirt</option> <option value="Sinop">Sinop</option> <option value="Sivas">Sivas</option> <option value="Tekirdag">Tekirdag</option> <option value="Tokat">Tokat</option> <option value="Trabzon">Trabzon</option> <option value="Tunceli">Tunceli</option> <option value="Şanlıurfa">Şanlıurfa</option> <option value="Uşak">Uşak</option> <option value="Van">Van</option> <option value="Yozgat">Yozgat</option> <option value="Zonguldak">Zonguldak</option> <option value="Aksaray">Aksaray</option> <option value="Bayburt">Bayburt</option> <option value="Karaman">Karaman</option> <option value="Kırıkkale">Kırıkkale</option> <option value="Batman">Batman</option> <option value="Şirnak">Şirnak</option> <option value="Bartın">Bartın</option> <option value="Ardahan">Ardahan</option> <option value="Iğdır">Iğdır</option> <option value="Yalova">Yalova</option> <option value="Karabük">Karabük</option> <option value="Kilis">Kilis</option> <option value="Osmaniye">Osmaniye</option> <option value="Düzce">Düzce</option></select></td> </tr> <tr> <td colspan="2"><input class="sbtn" type="submit" value="Gönder" /> <input class="sbtn" type="reset" value="Sil" /> <div class="style2 style13"> </div> <div class="style2 style13"> </div> <div class="style2 style13">* İşaretli Alanların Doldurulması Zorunludur...</div> </td> </tr> </tbody> </table> </form> Son olarak insan-kaynaklari/bayi-gonder.php ve class.phpmailer.php içinde [email protected] mail adresini kendi adresimizle değiştiriyoruz, yine class.phpmailer.php içinde buluna mail şifresi alanına kendi mail şifremizi yazıyoruz... İşlem bitmiştir - son görünüm aşağıdaki gibidir.. Bayi Başvuru Formu.zip 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now