Jump to content

จอมเทพไซเบอร์

Members
  • Posts

    10
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
    Bangkok
  • Activity
    Agency

Recent Profile Visitors

3,881,776 profile views

จอมเทพไซเบอร์'s Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. เข้า folder ชื่อ config และ เปิดไฟล์ defines.inc.php แก้ /* Debug only */ define('_PS_MODE_DEV_', false); เป็น /* Debug only */ define('_PS_MODE_DEV_', false); เพื่อดู สาเหตุ
  2. ใช้งานไม่ยากครับ โมดูล เปรียบเหมือนแผนกงานในบริษัทครับ หากไม่มีแผนก การทำงาน การแก้ไขงานจะซ้ำซ้อน การทำหลายภาษาก็ไม่ยาก แค่ตอนเพิ่มสินค้า ก็เพิ่ม ชื่อ รายละเอียดไปในภาษานั้น ๆ
  3. ใส่จำนวน Stock ยังครับ บาง Theme ไม่ขึ้นว่า สินค้าหมด และไม่ขึ้นราคา ต้องเช็คหลาย ๆ ส่วนครับ
  4. ตั้งค่า>>รูปภาพ>>ลอง Gen หรือสร้างรูปขนาดเล็กใหม่ดู
  5. You must close Use HTML Purifier Library or can see this http://www.1webd.com/%E0%B9%83%E0%B8%AA%E0%B9%88%E0%B8%A3%E0%B8%B9%E0%B8%9B%E0%B9%83%E0%B8%99-image-description-prestashop-1-6-%E0%B9%84%E0%B8%A1%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89/
  6. and you must change (classes/Validate.php) public static function isCleanHtml($html, $allow_iframe = false) to public static function isCleanHtml($html, $allow_iframe = true) *** เลือก = Select *** เปลี่ยนเป็น = Change to
  7. Here is the modified code of my /classes/PDF.php : line #776 (Prestashop 1.4) if ($productQuantity) { $before = $this->GetY(); $this->MultiCell($w[++$i], 5, Tools::iconv('utf-8', self::encoding(), $product['product_name']), 'B'); $lineSize = $this->GetY() - $before; $this->SetXY($this->GetX() + $w[0] + ($delivery ? 15 : 0), $this->GetY() - $lineSize); $this->Cell($w[++$i], $lineSize, ($product['product_reference'] ? $product['product_reference'] : ''), 'B'); if (!$delivery) $this->Cell($w[++$i], $lineSize, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($unit_price, self::$currency, true, false)), 'B', 0, 'R'); $this->Cell($w[++$i], $lineSize, $productQuantity, 'B', 0, 'C'); if (!$delivery) $this->Cell($w[++$i], $lineSize, (self::$orderSlip ? '-' : '').self::convertSign(Tools::displayPrice($final_price, self::$currency, true, false)), 'B', 0, 'R'); //Modif : Ajout photo sur pdf $cover = Product::getCover((int)($product['product_id'])); if(is_array($cover)) $product = array_merge($cover, $product); $limage = _PS_IMG_DIR_.'p/'.(int)($product['product_id']).'-'.(int)($product['id_image']).'-medium.jpg'; if (file_exists($limage)){ $this->Image($limage,110,null,13); } else{ $this->Image(_PS_IMG_DIR_.'/p/noimage.jpg',110,null,13); } $this->Ln(); } Can you tell me how to add this coce to Prestashop 1.5. What is the file for add this code? My header and footer of my invoice pdf not correct, I changed my font to my langguage, but not to show my language (thai) correct (show ????). How to solve this font or problem?
×
×
  • Create New...