Jump to content

Caleydon

Members
  • Posts

    699
  • Joined

  • Last visited

Everything posted by Caleydon

  1. Da sa samozrejme aj tak, avsak vtedy by sa nenaucil, ze v index.php v koreni PrestaShopu je iny kod, ako v ostatnych priecinkoch CMS, kde sluzi iba na presmerovanie z bezpecnostnych dovodov.
  2. Ak je to koren PrestaShopu, obsah ma vyzerat takto: <?php /* * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch();
  3. Prosim, napis umiestnenie index.php o ktorom pises a verziu PrestaShopu.
  4. Ja bezne robim takuto migraciu na urovni databazy (bez pouzitia migracnych modulov apod. kde clovek nema pod kontrolou co a ako sa premigruje) zo starych PrestaShopov do cistych instalacii. Robim aj migraciu zakaznikov, ich adries a objednavok a dalsich uzivatelskych dat (zlavovych kuponov atd.). Sucasne pri migracii robim aj opravu dat, ak tam najdem nezrovnalosti. Postup je mozne napisat, ale je tam velmi vela veci, s ktorymi musi mat clovek skusenosti a na ktore musi mysliet. Ja osobne navody nepisem, pretoze su 2x drahsie ako moja praca ;)
  5. @pattila01: thank you very much! It should not be there Szlovakia instead Slovakia? Franciaország instead France?
  6. Hello, I'd like to kindly ask hungarian developers. Please, could you provide list of countries in the PrestaShop (located in the ps_country_lang DB table) translated into Hungarian language? Thank you.
  7. header.tpl v PrestaShop 1.6. a starsie. head.tpl v PrestaShop 1.7.
  8. Favicon .ico sa zobrazije iba v bookmarkoch a zalozke prehliadaca. Pre zobrazenie napr. v mobilnych zariadeniach alebo v uvode prehliadaca sa zobrazuju ine ikony, ktore treba jednak vytvorit a zaroven vlozit do kodu eshopu odkazy na tieto ikony. Mozes pouzit napr. nastroj https://www.favicon-generator.org/ kde nahras ikonu v rozmere aspon 512x512px. Stranka ti vygeneruje rozne rozmery ikon, ktore si ulozis na FTP, napr do /img/icons/ Do sablony, kde je hlavicka PrestaShopu potom vlozis (tam, kde su nalinkovane favicony): <link rel="apple-touch-icon" href="{$urls.img_ps_url}icons/apple-icon.png"> <link rel="apple-touch-icon" sizes="57x57" href="{$urls.img_ps_url}icons/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="{$urls.img_ps_url}icons/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="{$urls.img_ps_url}icons/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="{$urls.img_ps_url}icons/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="{$urls.img_ps_url}icons/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="{$urls.img_ps_url}icons/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="{$urls.img_ps_url}icons/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="{$urls.img_ps_url}icons/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="{$urls.img_ps_url}icons/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="16x16" href="{$urls.img_ps_url}icons/android-icon-16x16.png"> <link rel="icon" type="image/png" sizes="32x32" href="{$urls.img_ps_url}icons/android-icon-32x32.png"> <link rel="icon" type="image/png" sizes="36x36" href="{$urls.img_ps_url}icons/android-icon-36x36.png"> <link rel="icon" type="image/png" sizes="48x48" href="{$urls.img_ps_url}icons/android-icon-48x48.png"> <link rel="icon" type="image/png" sizes="72x72" href="{$urls.img_ps_url}icons/android-icon-72x72.png"> <link rel="icon" type="image/png" sizes="96x96" href="{$urls.img_ps_url}icons/android-icon-96x96.png"> <link rel="icon" type="image/png" sizes="144x144" href="{$urls.img_ps_url}icons/android-icon-144x144.png"> <link rel="icon" type="image/png" sizes="192x192" href="{$urls.img_ps_url}icons/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="256x256" href="{$urls.img_ps_url}icons/android-icon-256x256.png"> <link rel="icon" type="image/png" sizes="384x384" href="{$urls.img_ps_url}icons/android-icon-384x384.png"> <link rel="icon" type="image/png" sizes="512x512" href="{$urls.img_ps_url}icons/android-icon-512x512.png"> <link rel="icon" type="image/png" sizes="32x32" href="{$urls.img_ps_url}icons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="{$urls.img_ps_url}icons/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="{$urls.img_ps_url}icons/favicon-16x16.png"> <meta name="msapplication-square70x70logo" content="{$urls.img_ps_url}icons/ms-icon-70x70.png"> <meta name="msapplication-square150x150logo" content="{$urls.img_ps_url}icons/ms-icon-150x150.png"> <meta name="msapplication-wide310x150logo" content="{$urls.img_ps_url}icons/ms-icon-310x150.png"> <meta name="msapplication-square310x310logo" content="{$urls.img_ps_url}icons/ms-icon-310x310.png"> <meta name="msapplication-TileImage" content="{$urls.img_ps_url}icons/ms-icon-144x144.png">
  9. Cesta nie je divna, je to adresarova struktura, ktoru PrestaShop vyuziva pre ukladanie originalnych obrazkov produktov z ktorych si vytvara potom nahlady. Cely vas opis je teda spravny. Na vasom mieste by som poziadal o pomoc autora mostika Pohoda, pretoze ten ma problem s ulozenim obrazku na server.
  10. Bud to odstranite, zakomentujtee, alebo miesto text-transform: capitalize; dajte text-transform: none;
  11. V CSS sablony a modulov je potrebne vsade, kde najdete odstranit definiciu: text-transform: capitalize;
  12. Feel free to contact me via private messages if you need apply fix. Neváhajte mi poslať súkromnú správu, ak potrebujete problém vyriešiť a implementovať opravu.
  13. V minulosti som s nejakymi pracoval, ale momentalne Vam nic konkretne odporucit neviem. Trh s tymito modulmi je celkom siroky, takze si staci vybrat.
  14. PrestaShop moze vyuzivat funkcionalitu prepisovania funkcii. Znamena to, ze v priecinku override si moduly (ale aj manualne developeri) vedia modifikovat existujuce funkcie a vytvarat tam aj nove, aby nemuseli modifikovat funkcie definovane v jadre PrestaShop. Takze nejaky modul, alebo developer uz predtym nahral do priecinku /override/classes/ nahradzujuci subor Carrier.php v ktorom su zadefinovane nejake funkcie. Modul, ktory chcete nainstalovat, ale pouziva subor Carrier.php tiez a snazi sa svoju modifikovanu verziu nahrat do /override/classes/. Avsak instalator modulu narazil na to, ze tam uz takyto subor existuje a instalacia tak neprebehne a zobrazi sa hlaska, aku vidite (mimochodom preklad niektorych hlasok byva naozaj usmevny, akoby to ani neprekladal zivy clovek). Ako teda na to? Je potrebne mat aspon nejake programtorske skusenosti. 1. vypnite eshop pre verejnost 2. z FTP si vykopirujte subor /override/classes/Carrier.php do pocitaca ako zalohu a z FTP ho zmazte. 3. vymazte cache PrestaShopu v casti Nastroje > Vykona a zalohovanie z dovodu, aby sa vam obnovil subor cache/class_index.php. Inym riesenim je, ze tento subor na FTP zmazete (PrestaShop si vytvori novy a aktualny). 4. Nainstalujete spominany modul a teraz uz instalacia prebehne v poriadku. 5. Teraz si z FTP skopirujte subor /override/classes/Carrier.php ktory si tam nahral prave naisntalovany modul. 6. Programatorska cast: musite oba subory teraz zlucit tak, aby vysledny subor obsahoval povodne aj nove funkcie. Ten potom nahrate na FTP a prepisete ten existujuci.
  15. K tomu potrebujete dodatocny modul, ktory vam takuto funkcionalitu zabezpeci. PrestaShop defaultne nic take nema.
  16. V casti Medzinarodne > Polohy > Krajiny
  17. Dobrou praxou je, opytat sa najskor autora modulu ci sablony. Skusil si to?
  18. Mate to tam napisane hned 3x: upravuje se pomocí modulu Ujištění zákazníka Znamena to, ze mate ist do modulu "Ujištění zákazníka" a texty si v nom zmenit. V pripade, ze tam tie texty nechcete, tak modul "Ujištění zákazníka" treba vypnut, alebo odinstalovat.
  19. Statistiky v PrestaShope netreba nikdy brat velmi vazne. Nikdy nefungovali korektne uz ziadnej z generacii PrestaShopu.
  20. U stavov objednavok je volba "Povazovat objednavku za zaplatenu". Ak pri objednavke bol nastaveny takyto stav, zobrazi sa cena v zelenom policku ako znak, ze je objednavka zaplatena. Ovplyvnovanie tejto funkcionality si mozete zmenit v uz spominanych stavoch objednavok.
  21. Use the following SQL query DELETE FROM `ps_cart` WHERE id_cart NOT IN (SELECT id_cart FROM `ps_orders`); DELETE FROM `ps_cart_product` WHERE id_cart NOT IN (SELECT id_cart FROM `ps_orders`);
×
×
  • Create New...

Important Information

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