Jump to content

Burak KAYMAKCI

Members
  • Posts

    24
  • Joined

  • Last visited

Recent Profile Visitors

299 profile views

Burak KAYMAKCI's Achievements

Newbie

Newbie (1/14)

0

Reputation

2

Community Answers

  1. For all of you having the same issue. If you've tried to upgrade your shop and failed. Check out my answer here -> https://www.prestashop.com/forums/topic/750254-cant-submit-a-message-from-contact-form/#comment-2790954
  2. But I want both at the same time. The drop-down menu label ( which is CLOTHES in this case) shouldn't be a separate category. It should only show the other sub-categories belong to it, when hovered.
  3. Teşekkür ederim bilgilendirme için. Aslında 1.6 sürümünü de kontrol ettim fakat 1.7 sürümünden farklı bir şey göremedim. Ben de söylediğiniz gibi direk modüle katkıda bulunan Iyzico çalışanlarına mail attım ve cidden beklemediğim hızda bir dönüş aldım. Sağ olsunlar, çok yardımcı oldular. Sorunun tanımı: 3D-Secure sayfasında ödeme yapma reddedilirse, yani "Cancel" butonuna basılırsa, ya da SMS kodu yanlış girilirse sanırım bu durumlar için herhangi bir error mesajı atanmıyor. Error mesajı atanmadığı için de order_result.tpl dosyasındaki else kısmı okunmaya devam ediyor ve oradaki, {if locale = 'tr'} bloğu ile karşılaşıyor. Herhangi bir hata mesajı ile karşılaşıldığında sadece error değişkeni smarty'e gönderildiğinden locale değişkeni gibi diğer değerler atanmıyor ve bu yüzden "Undefined index" hatası veriyor. Sorunun çözümüne gelecek olursak; aldığım tavsiye üzerine ben burada order_result.tpl yerine success_result.tpl ve error_result.tpl adında iki farklı dosya oluşturdum ve hata durumunda error_result.tpl'ye, ödemenin başarılı olduğu durumda da success_result.tpl'ye yönlendirdim. Bu dosyaları ekte bulabilirsiniz. Bunun için /controllers/front/result.php dosyasında try bloğu içindeki $this->setTemplate('module:iyzicocheckoutform/views/templates/front/order_result.tpl'); satırını $this->setTemplate('module:iyzicocheckoutform/views/templates/front/success_result.tpl'); olarak değiştirmelisiniz. Ayrıca catch bloğu içindeki $this->setTemplate('module:iyzicocheckoutform/views/templates/front/order_result.tpl'); satırını yine aynı şekilde $this->setTemplate('module:iyzicocheckoutform/views/templates/front/error_result.tpl'); olarak değiştirmelisiniz. success_result.tpl error_result.tpl
  4. In version 1.7.x it is in Shop Parameters -> Contact and then you should click on the "Stores" tab. I've never used 1.6 but you might also have a tab like that.
  5. Hi, How can I disable the link for the drop-down menu? I mean the menu itself, the label which you can hover on and then the drop-down menu appears. Because when I click on that label I got redirected to some other category which is not what I want. For example when I click on "CLOTHES" I got redirected to the page below. But MEN and WOMEN are also different categories. I want CLOTHES to be like: <a href="#"> CLOTHES</a> Thanks!
  6. Hi, After I check out my order and successfully pay. I get redirected to another page where I am informed that my order and payment is confirmed. But on that page the header shows as if I am not logged in. But after clicking on another page it comes back to normal. I've been looking at the tpl files to find a fix to this but I couldn't figure out what to change or what to add. Codes for that confirmation page is as follows (which is order_result.tpl) : {extends file='page.tpl'} {block name='page_content'} <p> {if !empty({$error})} {$error} {else} {if $locale == 'tr'} <span class="bold">Siparişiniz ve Ödemeniz Başarıyla Alındı.</span> <br/> <br/> Kredi Kartınızdan çekilen miktar {$total} {$currency} <br/> <br/> Teşekkür ederiz. {else} <span class="bold">Successfully Received your order and your payment.</span> <br/> <br/> The amount withdrawn from your credit card {$total} {$currency} <br/> <br/> Thank you. {/if} {/if} </p> {/block} By the which page.tpl is that in the code?
  7. Merhabalar, Prestashop mağazamda ücretsiz iyzico modülünü - sanıyorum kahvedigital tarafından kodlanmış - kullanıyorum. Modülü kurduktan sonra iyzico sandbox'tan elde ettiğim apiler ile modülü denemek istedim. Ödeme sayfasında test kredi kartı bilgilerini girip 3D-Secure'u seçtiğimde SMS şifresi istenen sayfaya yönlendiriliyorum fakat orada herhangi bir şifre girdikten sonra debug modda aşağıdaki hata ile karşılaştım. Sipariş onaylanıyor fakat aşağıdaki hatayı alıyorum debug modda. Sorun hakkında yardımcı olabilirsiniz lütfen? Modülü de ekliyorum göz atmak arkadaşlar için, zaten internette de kolay bir şekilde bulabilirsiniz. Edit: Aslında bu hatayı ödemekten vazgeçip "Cancel" butonuna tıkladığımda ya da yanlış SMS onay kodu girdiğimde alıyorum. Aşağıda SMS onay sayfasının ekran görüntüsünü bulabilrsiniz. Teşekkür ediyorum. iyzico-prestashop1.7-master.zip
  8. Hello everyone, I am using PrestaShop 1.7.3.0 and I am also using a free virtual POS module - called iyzico - on it. After installing the module there were some other errors too but fixing the others I've got this far and I am stuck with this error. When I get this error is that when I want to check out using a credit card. I type in my card info and then proceed to check out with 3D-Secure option. Then I get redirected to the page where I am asked the SMS code that is sent to my mobile phone. In that page, if I refuse to pay and click cancel or type in a wrong SMS code then I get this error. This is the line 187 in the specified file in the image. <?php if ($_smarty_tpl->tpl_vars['locale']->value=="tr") {?> I couldn't really understand what the problem might be. Could you please take a look for me and tell me if you have any solution? I am also attaching the module if anyone wants to take a look at it. Thanks! ^^ Edit : Actually, I get this error after I refuse to pay on 3D-Secure payment page and click cancel or type in wrong SMS code. See attachments for 3D-Secure SMS confirmation page. iyzico-prestashop1.7-master.zip
  9. Well I have good news! I have just figured out the problem. Thanks to Dave L for reminding me that the problem could be because of the files, because that was the problem! Actually, I'd tried to upgrade my shop to 1.7.3.1 when the notification first popped up. Then somehow the installation went wrong but the module I was using, which was 1-Click Upgrade, was saying something like "don't worry we will recover to the version that you were using before.". Well they didn't! Then after Dave L's message I started thinking about which file or files could have possibly been changed. Using an online file compare tool I saw that contactform.php in /modules/contactform was different than the one I was using before. After changing that file to the older one the problem was solved! If that file was not the case for you I recommend you to try other files if you'd tried to upgrade the version to the newer one and failed during the process just like me. Hope this helps people having the same issue without having to think about for days like me. Cheers!
  10. Well, I had tried to upgrade my store to 1.7.3.1 but then somehow it failed. This might be the case here but ContactController.php is exactly the same as in 1.7.3.0. I might have to start comparing files then...
  11. Yes, test e-mails are working fine with SMTP server settings and also with PHP mail() setting. Both are working. One thing is that, even when I change the SMTP user to another user that is on my server, somehow the sender of the e-mail doesn't change. I mean the mails are still coming from the exact same e-mail address as it was before. Shouldn't it supposed to change when I change the SMTP user settings and use another mail account that is on my mail server? For example : I have configured SMTP server settings (from Advanced -> E-mail tab) as : foo@mysite.com Then when I change this address to : bar@mysite.com the test mails are still coming from "foo@mysite.com". Shouldn't this supposed to change?
  12. No I could not find out the reason. It seems like it's just two of us having this problem. 😅 Actually there are a few threads mentioning about it but versions are different. For example versión 1.7's contact controller is completely different than others. Once I find a solution I can let you know via here.
  13. It's been years but what about PrestaShop 1.7 ? It doesn't have anything similar to this in its ContactController.php
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More