Jump to content

humanoidvani

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Activity
    Agency

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

humanoidvani's Achievements

Newbie

Newbie (1/14)

4

Reputation

2

Community Answers

  1. . I think that your problem is that you have variables assign in one line like this (you can find it in /themes/onlinestore/shopping-cart.tpl, around line: 45): <script type="text/javascript"> // <![CDATA[ var currencySign = 'Rs. '; var currencyRate = '1'; var currencyFormat = '1'; var currencyBlank = '1'; var txtProduct = "product"; var txtProducts = "products"; // ]]> </script> It should to be like this: <script type="text/javascript"> // <![CDATA[ var currencySign = 'Rs. '; var currencyRate = '1'; var currencyFormat = '1'; var currencyBlank = '1'; var txtProduct = "product"; var txtProducts = "products"; // ]]> </script>
  2. Hi, I had problem with Tools::ucwords($str) with czech mb string. When the $str = 'Jiří'; only 'Ji' is returned and causes error 500 in registration process. Prestashop ver 1.5.6.0, PHP ver 5.2.10 . Exceptions log file: *ERROR* Property Customer->firstname is not valid at line 837 in file classes/ObjectModel.php . Solution: Override Tools method ucwords like this (added encoding): class Tools extends ToolsCore { public static function ucwords($str, $encoding = 'utf-8') { if (function_exists('mb_convert_case')) return mb_convert_case($str, MB_CASE_TITLE, $encoding); return ucwords(strtolower($str)); } } . Original: public static function ucwords($str) { if (function_exists('mb_convert_case')) return mb_convert_case($str, MB_CASE_TITLE); return ucwords(strtolower($str)); } Tools.php
  3. Solution that working to me (PS 1.5.4.0): in /modules/ganalytics/ganalytics.php add at the end of function "hookOrderConfirmation()": before: return $this->display(__FILE__, 'header.tpl'); . add: $pageTrack = '/order-confirmation.php'; $this->context->smarty->assign('pageTrack', $pageTrack); . ganalytics module settings (using standard settings): ganalytics.php
  4. classes/Cart.php function getOrderTotal insert before $products = $this->getProducts(); if ($type == Cart::BOTH && $this->id_carrier == 0) $type = Cart::BOTH_WITHOUT_SHIPPING; if ($type == Cart::ONLY_SHIPPING && $this->id_carrier == 0) return 0;
  5. Překlad bohužel nedává smysl a dost mate. Správně by měl být nějak takto: - Odeslat pouze těm kdo se zaregistrovali k odběru newsletteru (může být kdokoliv ať už registrovaný nebo ne) - Odeslat pouze registrovaným, kteří mají nastaveno odebírání newsletteru (registrovaní zákazníci) - Odeslat všem bez rozdílu
  6. Jednoducha anketa - Otazka - ANO/NE | Simple poll - Question - YES/NO LANGUAGES: česky, english SCREENSHOTS: !http://dev.vaniweb.eu/prestashop/blockpoll/screenshot.gif! !http://dev.vaniweb.eu/prestashop/blockpoll/screenshot_admin.gif! FILES: - prestashop/classes/Poll.php - prestashop/modules/blockpoll.php - prestashop/modules/blockpoll.tpl - prestashop/modules/cs.php - prestashop/modules/logo.gif DOWNLOAD (zdarma/free): http://dev.vaniweb.eu/prestashop/blockpoll/blockpoll.zip blockpoll.zip
  7. reseni uz napsal Nehalen tady - http://www.prestashop.com/forums/viewthread/7356/P15/hlavn_diskuze/import_v_1_dot_1/#72062
×
×
  • Create New...

Important Information

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