Jump to content

alihkhawaher

Members
  • Posts

    24
  • Joined

  • Last visited

Profile Information

  • First Name
    Ali
  • Last Name
    Alkhawaher

alihkhawaher's Achievements

Newbie

Newbie (1/14)

4

Reputation

  1. Better shipping options. RIght now I cannot specify shipping rules + payments per postal codes/areas, Especially when creating carriers, We can only choose per region (i.e Middle East). Which is useless and too wide since I want to ship locally and each area have its on price. Even per country. Each country costs is different. But I cannot choose. I think this is a big issue in carriers facility in prestashop. I hope they re-write it.
  2. Hi All, Can anyone help me if there is any add on that enables customer to choose their address/location using google maps. The add on should fill in the address info automatically or at least the x,y coordination. It will help greatly with addresses especially in our country where rarely you find someone who knows his address or he cannot find what his address is. Please help. Many thanks,
  3. السلام عليكم. ممتاز ومشكور على المجهود. الطريقة الصحيحة هي ترجمة القوالب عن طريق هذا الموقع https://crowdin.com/project/prestashop-official/ar أنا بدأت فعليا بالترجمة في الموقع لمارأيته بالمجهود الكبير الذي يتطلبه تركيب البريستاشوب وترجمته لأول مرة. أرجو المزيد من الأعضاء بالمشاركة ليسهل على الجميع ترجمته باسرع وقت وبأقل مجهود الموقع رسمي وسهل جدا. اسهل من الترجمة داخل لوحة التحكم لمتجر البريستا بانتظار مشاركاتكم
  4. After thinking and testing. I think the better option is using 'dejavusans' for both ar and DEFAULT_FONT. It is a better Arabic font. so the new code is: class PDFGeneratorCore extends TCPDF { const DEFAULT_FONT = 'dejavusans'; public $header; public $footer; public $content; public $font; public $font_by_lang = array( 'ja' => 'cid0jp', 'bg' => 'freeserif', 'ru' => 'freeserif', 'uk' => 'freeserif', 'mk' => 'freeserif', 'el' => 'freeserif', 'vn' => 'dejavusans', 'pl' => 'dejavusans', 'ar' => 'dejavusans', 'fa' => 'dejavusans', 'ur' => 'dejavusans', 'az' => 'dejavusans', 'ca' => 'dejavusans', 'gl' => 'dejavusans', 'hr' => 'dejavusans', 'sr' => 'dejavusans', 'si' => 'dejavusans', 'cs' => 'dejavusans', 'sk' => 'dejavusans', 'ka' => 'dejavusans', 'he' => 'dejavusans', 'lo' => 'dejavusans', 'lt' => 'dejavusans', 'lv' => 'dejavusans', 'tr' => 'dejavusans', 'ko' => 'cid0kr', 'zh' => 'cid0cs', 'tw' => 'cid0cs', 'th' => 'freeserif' );
  5. Well, it looks like is an achievements day. I solved my rtl issues and vouchers issue. In Sha Allah everything will be smoother now. Thanks you everyone
  6. I found a work around that fixes both ريال symbol AND Arabic text. It is to change the font for both Arabic AND English to 'freeserif'. In classes\PDF\PDFGenerator.php. It will be like this: class PDFGeneratorCore extends TCPDF { const DEFAULT_FONT = 'freeserif'; public $header; public $footer; public $content; public $font; public $font_by_lang = array( 'ja' => 'cid0jp', 'bg' => 'freeserif', 'ru' => 'freeserif', 'uk' => 'freeserif', 'mk' => 'freeserif', 'el' => 'freeserif', 'vn' => 'dejavusans', 'pl' => 'dejavusans', 'ar' => 'freeserif', 'fa' => 'dejavusans', 'ur' => 'dejavusans', 'az' => 'dejavusans', 'ca' => 'dejavusans', 'gl' => 'dejavusans', 'hr' => 'dejavusans', 'sr' => 'dejavusans', 'si' => 'dejavusans', 'cs' => 'dejavusans', 'sk' => 'dejavusans', 'ka' => 'dejavusans', 'he' => 'dejavusans', 'lo' => 'dejavusans', 'lt' => 'dejavusans', 'lv' => 'dejavusans', 'tr' => 'dejavusans', 'ko' => 'cid0kr', 'zh' => 'cid0cs', 'tw' => 'cid0cs', 'th' => 'freeserif' ); The only problem is that the Arabic font ugly in freeserif . We don't need to download the font pack. The freeserif font comes with prestashop or the mini tcpdf.
  7. Well I am struggling, This is my first experience and I don't know anyone who knows better than me and it is all self learn with small budget. So I am alone on this.I still don't even have suppliers. Currently I am buying from China and resell locally. I try to find solution for common issues. Regarding the ريال symbol in invoices. I downloaded the font pack from tcpdf website (http://sourceforge.net/projects/tcpdf/files/) and installed it on my localhost test server and changed the font for 'ar' to freeserif in "PDFGenerator.php". It worked. For Google fonts i think they need a conversion or something. I don't want to waste time on them. What I feel from what you are saying is that you are configuring your own server. Well I am using (www.a2hosting.com). Their servers are fast and they provide CloudFlare protection against DDos. At the start I hosted my website at go daddy which was painfully slow. After one week of struggles I found that their servers are slow so I switched. As a communication platform. Did you try Google Apps for Business? I tried it just to see what is is . It is only $5/mo. They give me all the Google services and MDM for devices on my Domain and totally under my control. It is nice. Until the Arabic invoices get fixed I need to fix RTL CSS. The only solution I know is this file (https://github.com/nashcontrol/prestashop-default-bootstrap-rtl/tree/master/css) but it is not complete and have many issues. I am struggling to fix them, Do you have a better/updated version? Many thanks,
  8. Hi Phil, Thanks for the tips. Actually you recommended that Aramex module I bought it since I thought you used it. Well I will buy it eventually. Thank you. Thank you for the more insight of the PayTabs module too. Can I ask why you need Active directory, Exchange server, Security etc for an online shop?
  9. Hi Phil, Thank you for the modules, I have purchased them. I needed them and great tip regarding the tax. As for PayTabs, yes I found them and I fixed their module and it worked and I tried to get to their support to give them the fix but they ignored me and they took 2 whole months to to look at my application while I was following with them almost weekly. They had main bank account change and they postponed approving new applications for that whole period. Then after that they gave me requirements to do. But I was not active on my site (concentrating on other things) so another month wasted, Just since 1 week I am back working on my site again and I will reply to them to activate my account later. Well I need to use them since they are the cheapest. Everyone else they want to take a percentage and ridiculously huge monthly subscription. Not good for a start up and someone working on his spare time. Regarding their module. I think it didn't fill the billing info automatically. Did you fix that too?
  10. Hi tuk66 and Phil, Thank you for looking into it. Yes, I knew tuk66 by his signature. I saw his site. But right now I am a startup so I am trying to cut costs until I get real benefit from this project. I am still working on the website. Next is online payment and Aramex account. I am a technical guy and the owner. I know tiny bits of web developments which I got from troubleshooting and a little automation. So I am alone in this project. How did you know about the Mail and SMS? Is that you who made the order? Is it a real order ? I was in Jubail in Al Fanateer Beach today morning lol. I think I need to troubleshoot the free delivery. The order is only SR 10. I don't know how it keeps happening. It keeps setting the delivery costs to 0 although I set it to SR 20. Maybe i will need to re-create the Carrier. As for mail, It came built in with prestashop. As for the SMS I got is from http://www.presta-sms.com/ I found out that there are great and free modules which I can find using google which are not in prestashop.com store. For Arabic text becoming ???? I think it is a bug in their software since it was working fine on 1.6.0.14 and still if the interface is in Arabic as for ريال symbol, your finding looks promising. I think I will look into using Google fonts with tcpdf, It will take time since I need to figure it out but I think it is as simple as saving the font in "tools\tcpdf\fonts" and changing the font for Arabic in the array of https://github.com/PrestaShop/PrestaShop/blob/develop/classes/pdf/PDFGenerator.php#L42 Right now the issue is not troubling me too much since I found out if the customer register in the Arabic interface he can download the invoice without any issues. Thank you
  11. Thank you Phil, My website is matjarakum.com. And this issue is not in my website, it is in version 1.6.1. I have a portable Apache server in my pc (XAMPP). I do tests on it. If the interface is English, Arabic texts in PDF appears as question marks. But if the interface is in Arabic, PDF files are fine. I opened a ticket about it in bug tracker "http://forge.prestashop.com/browse/PSCSX-6252" and still waiting for their reply. But I was in a haste before since I thought there is no work around over it. But still I would want a solution for this to be able to prent invoices easily. Many thanks,
  12. Hi, So I was doing everything I could. For two days. I found out something. If the page interface is English, this issue happens but if I change the interface language to Arabic the issue disappears. Please advice if anyone have a quick fix for this.
  13. Hi,, I just installed prestashop 1.6.1 locally to test the pdf issue and I was able to generate PDF in Arabic. So to track down the issue in the live site I tried to disable add-ons one by one but still I couldn't find the source. Can soneone please help. Any suggestions?
  14. I think it is a Unicode issue. as I remember 'ar' was one of the language listed in tcpdf. And pdf worked fine on 1.6.0.14
  15. Yes, In my desperation I researched and found out that tcpdf is the tool used to create PDF. I compared the two versions using Winmerge and all files are identical. As for the font. I didn't change it. I am using the default theme and font. Thank you for your reply.
×
×
  • Create New...