Table of content
Zobacz Początek PrestaShop 1.6
Oto odpowiedź po angilesku i i francusku.
PrestaShop jest wydana na zasadach Open Software License (OSL) v. 3.0. Moduły są udostępniane na Academic Free License 3.0.
Zobacz Przewodnik projektanta
Zobacz dokumentacja narzędzi importu
W poprzedniej wersji PrestaShop trzeba było ręcznie wygenerować nowy plik .htaccess
po włączeniu przyjaznych adresów URL. To nie jest już ten przypadek w wersji 1.5: plik .htaccess
jest teraz zarządzany przez PrestaShop a ty nie musisz się już o to martwić.
Nadal musisz włączyć przyjazne adresy URL, choć odbywa się to na dole strony w zakładce Prefereferencji "SEO & URLs".
Zobacz dokumentacja strony preferencji SEO&URL.
Możesz pomóc w tłumaczeniu PrestaShop na swój język uczestnicząc w użyj narzędzia Crowdin! Dziękujemy za twój wkład!
To jest ten samo, i odbywa się w dwóch etapach:
Upewnij się, że twoje produkty mają różne pola tekstowe (nazwa, opis, tagi, URL, itd.) i są tłumaczone w każdym języku który jest udostępniany klientom.
Zobacz dokumentacja strony "Lokalizacja" i strona języków.
Możesz edytować pliki tłumaczeń bezpośrednio w PrestaShop na stronie "Tłumaczenia" w menu "Lokalizacja".
Zobacz dokumentacja strony "Tłumaczenia".
Możesz kupić moduły płatności na stronie strona adonsów PrestaShop .
Jest wiele dostepnych modułów i sposobów płatności dla wielu banków. Będziesz miał możliwość przyjmowania płatności kartami kredytowymi na kilka sposobów.
Waluta jest częścią pakietu lokalizacji, więc dodanie waluty oznacza zaimportowanie pakietu dla tego kraju.
Sprawdź czy twoje ceny są poprawne we wszystkich wypłatach!
Zobacz dokument strony "Waluty".
GD library PrestaShop pozwala na przerobienie obrazów przesyłanych, zwłaszcza ich rozmiaru.
Na domyślnej instalacji PHP, biblioteka GD powinna być włączona, ale nie jest to tematem twojej instalacji, Standardowe instrukcje Windowsa to:
php.ini
.extension=php_gd2.dll
(mniej więcej w połowie pliku, w środku długiej listy rozszerzeń) poprzez usunięcie ;
na początku lini.Jeśli nie masz dostępu do pliku php.ini
(co jest częste w hostingu dzielonym), skontaktuj się ze swoim dostawcą hostingu co jest potrzebne twojemu hostingowi.
Idź do strony "Modułów", i zainstaluj moduł Paypal. Nie zapomnij go skonfigurować!
Zobacz dokumentacja menu "Moduły" żeby zrozumieć jak zarządzać modułami.
Musisz powiązać produkty w kategorii na stronie głównej. Dla każdego produktu który chcesz wyświetlać na stronie głównej, otwórz zakładkę "Powiązania" i wybierz kategorie "Dom" dla każdej sprawdzonej kategorii.
Zobacz dokumentacja zakładki "Powiązania" na stronie produktu.
Idź do strony "Podatki" i "Reguły podatku" w menu "Lokalizacja".
Zobacz dokumentacja strony "Podatki" i stregona "Reguły Podatków" .
Zobacz na stronie aktualizacja twojej wersji PrestaShop.
Zobacz rozdział "Praca z modułami" dokumentacji dla strony "Moduły".
Zainstaluj moduł "RSS produkty feed", ze strony "Moduły".
Wszystko co się dzieje w " Zwrotach produktów" w menu "Zamówienia".
Zobacz dokumentacja strony RMA.
W panelu adminstracyjnym, przejdź do "Preferencji" > "CMS", i wybierz stronę którą chcesz edytować.
Zobacz strona dokumentacji "CMS".
Strony CMS są zbudowane z użyciem systemu WYSIWYG, które bazują na popularnym TinyMCE (http://www.tinymce.com/). Kiedy tworzysz lub edytujesz stronę, edytor prezentuje serie przycisków do formatowania i poprawiania tekstu.
Przycisk "Dodaj" jest zlokalizowany w dolnym rzędzie interfejsu:
Szablon PrestaShop jest wyposażony w slider obrazków. Mozesz edytować ten slider za pomocą modułu "Obrazki slidera dla twojej strony domowej", który możesz znaleźć na stronie ''Moduły" w panelu adminstracyjnym.
Domyślny szablon ma także blok domyślnych produktów. Produkty wyświetlane są tymi które są powiązane ze stroną domową wraz domyślną kategorią (zobacz pytanie powyżej). Slajder jest zarządany z użyciem modułu " Polecane produkty na stronie domowej który można znależć na stronie "Moduły" w panelu adminstracyjnym. Możesz usunąć slider ze strony głównej porzez odinstalowanie modułu, albo możesz ustawić liczbę produktów które mają się wyświetlać porzez konfigurowanie modułu (kliknij przycisk "Konfiguruj" w module na stronie "Modułów").
Niektóre szablony posiadają domyślny tekst na stronie głównej. Tekst jest często zarządzany przez moduł "Edytor tekstu", który można znaleźć na stronie "Moduły" w panelu adminstracyjnym.. Możesz usunąć tekst ze strony głównej poprzez odinstalowanie modułu, albo ustawić treść tekstu (włącznie ze statycznym obrazkiem) poprzez konfiguracje modułu (kliknij "Konfiguruj" przycisk w module na stronie "Moduły").
Te puste strony są błędem HTTP 500. Możesz zobaczyć to przeglądając sklep w wyszukiwarce Chrome. Poczytaj o tym więcej tutaj:
Jest to błąd serwera, co oznacza, że albo serwer ma problem lub programowanie strony internetowej (sam PrestaShop) poszło nie tak.
HTTP 500 jest bardzo ogólnym błędem, potrzebujesz więcej informacji, aby wskazać gdzie jest problem. Można to zrobić poprzez umożliwienie komunikatu debugowania. Postępuj zgodnie z poniższymi instrukcjami:
za pomocą klienta FTP przejdź do serwera sieci Web, i otwórz plik defines.inc.php
, który jest w folderze /config
. There's a bunch of text, then this appears:
/* Debug only */ define('_PS_MODE_DEV_', false); if (_PS_MODE_DEV_) |
change that second line: replace "false" with "true" (without quotes). It should now read:
/* Debug only */ define('_PS_MODE_DEV_', true); if (_PS_MODE_DEV_) |
The "dev" mode is now enabled, and more detailed error messages should display. Use that to find where the problem lies – it could be a module, a section of the theme, or maybe even PrestaShop itself.
Once you have fixed the issue and error messages do not appear anymore, change the edited line back to "false".
In many countries, professionals are used to see prices displayed without the tax (even if the tax is indeed included in the final invoice).
This is not set up by default, but you you can easily put that in place for some select users. Regular users will still see the prices including taxes.
Now go to the "Customers" page, and for each professional customer:
This way, the clients marked as professionals will see prices without taxes as soon as they connect to their account. Visitors, guest and regular clients will still see tax-included prices.
The maintenance page is actually a regular template file, located in your theme's folder.
You should therefore be able to find it in the name of maintenance.tpl
, in the /themes/your_theme
folder.
Open the maintenance.tpl
file with a text editor, and edit at will. Be careful not to break the Smarty tags (marked {tag}
or {/tag}
) ; make sure to keep a backup in the folder, for instance under the name maintenance-originalFile.tpl
.
You have to add your own selectors in your theme's CSS file. This file is usually found in /themes/YOUR_THEME/css/global.css
.
Once created, you can use your selectors in the .tpl
page you want to modify.
You can also create your own .tpl
file (located in your theme directory), in which you can insert your own HTML tags, and create a .php
page (at the root of your shop) which will call the .tpl
file.
Here is an example:
First, your_page.php
:
<?php include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/header.php'); $smarty->display(_PS_THEME_DIR_.'your_page.tpl'); include(dirname(__FILE__).'/footer.php'); ?> |
In this example, the your_page.tpl
file contains your HTML code (which can use Smarty calls).
If you make a CSV import with accentuated texts, be sure that the .csv
file has been saved eith with the UTF-8 or iso-8859-1 encoding. If it is using iso-8859-1, make sure to indicate that in the "Import" page of the "Advanced parameters" menu. PrestaShop's default encoding is UTF-8.
If the CSV file does not use any of these encodings, open it in a text-editor (such as Notepad++), and save it using the UTF-8 encoding.
To change the maximum size of the uploaded files in your server, you have to edit the php.ini
file for your PHP installation. This can only be done if you do have access to your server's PHP configuration files. If not, ask your host.
If you do have access to php.ini
, open it and edit the following lines:
post_max_size = [anything] upload_max_filesize = [anything] |
If you want to set the maximum to 200 megabytes, change their values to:
post_max_size = 200M upload_max_filesize = 200M |
Finally, restart the server to take your changes into account.
PrestaShop enables you to automatically send a great variety of mails to your customers (order confirmations, site subscriptions, out of stock notifications, etc.). It might be useful to customize these mails: adding images, links to survey forms or information pages (blogs, news, etc.).
Let's say your company wants to customize the e-mail sent automatically to customers after a purchase, in order to redirect them to a survey form.
To add a link in the mails sent to your English-speaking customers, you have to:
/mails/en
directory from your shop root.order_conf.html
is the e-mail sent for new orders.Insert the link to the survey right in the HTML code (static):
<a href="http://www.myshop.com/survey.php">Click here if you want to participate to our survey!</a> |
or a dynamic link with your logo:
<a href="{shop_url}" title="{shop_name}"><img alt="{shop_name}" src="{shop_logo}" style="border:none;"></a> |
Save the file.
Now the link will be added in every new mail sent after a purchase.
Follow these steps:
If you want to contribute it to the PrestaShop project, you can propose your new translation to the PrestaShop Team. In the "Export a language" section, select the new language; in the following fields select "prestashop" then click "Export". Save this file and send it to [email protected] with as subject "New translation: XX", with "XX" being the ISO code of the language (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
You have contributed to the PrestaShop project! Thank you so much!
While you can change the translation for all the strings within the PrestaShop administration, you cannot edit the names of the administration menus (Catalog, Orders, Customers, etc.) and their submenus (Products, Categories, Monitoring, etc.).
This is because these strings are not part of the translation files, but are stored directly within the database. In order to change it, you must go to the "Menus" page of the "Administration" menu.
This page displays a list of all the top-level menus in your administration, and you can also display their submenus by clicking on the "+" icon in the "Action" column.
From there, you can click on the "edit" icon for the menu or submenu you wish the change the name of. In the page that displays, click the flag next to the "Name" field in order to choose the languages for wish you want to translate the menu (you must have the target language already installed!), or directly change the name in the current language.
Save your changes: the administration is immediately updated with your new translation.
Note that this means you cannot send your menu translation to another shop. The manager of that other shop must perform these steps himself.