Child pages
  • Najlepsze praktyki
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Spis treści 

Najlepsze praktyki 

Istnieje kilka kroków, które można podjąć, od projektowania motywu w programie PrestaShop do optymalizacji kodu dla wyszukiwarek, które zostały określone jako konieczne do rozwoju tematu. Postepując zgodnie z tymi praktykami można zbudować lepszy motyw. 

Patrzeć w przyszłość

Przed otwarciem Photoshop, GIMP lub innego edytora graficznego, należy usiąść przy biurku z piórem i arkuszem papieru i pomysleć o mapie strony/hierarchi dla swojego sklepu, dzięki czemu będzie on tak elastyczny jak to tylko mozliwe (nie wszystkie sklepy mają taką samą ilosc kategorii lub produktów w każdej kategorii) 

Kompletny temat PrestaShop wymaga co najmniej 30 stron i stron sekcji.

  • Strona główna
  • Strona kategorii 
  • Strona produktu
  • Strona porównywarki produktów
  • Strona wyników wyszukiwania
  • "Moje Konto" i jego wewnętrzne strony:
    • Moje kupony 
    • Historia zamówień 
    • Informacje osobiste 
  • "Mój koszyk"
  • Strona uwierzytelniena
  • Utworzenie konta 
  • Strony zamówienia:
    • Lista adresów Addresses list
    • Koszty wysyłki 
    • Wybór płatności Payment choice (czek, przelew bankowy) 
    • Zakup na jednej stronie 
  • Stworzenie adresu 
  • Strona dostawy 
  • Strona konserwacji 
  • Lista producentów i jedna strona producenta 
  • Lista dostawców i strona jednego dostawcy 
  • Strona 404 ("Strony nie znaleziono") 
  • Strona "Najczęściej kupowane"
  • Strona "Nowe produkty" 
  • Strona "Aktualne promocje" 
  • Strona "Zapomniałem chasła" 
  • Nota prawna 
  • Mapa strony 
  • Strona sklepów 
  • Formularz kontaktowy 

Weż te wszystkie sekcje i strony pod uwagę, tak aby o żadnym z nich nie zapomnieć. Nie uwględniając jednej ze stron, może spowodować, że temat będzie niekompletny, a więc będzie to złe doświadczenie dla twoich klientów.

W rzeczywistości, upewnij się, że te 30 plików zostało dodanych.  Aby uzyskać lepszy sens strony, należy wziąc pod uwagę i zgłębić domyślny temat, który zlokalizowany jest w folderze /themes/default .Nie ma więcej niż 60 plików szablonów, nie wspominając już o CSS, JavaScript i plikach graficznych wraz z wersją mobilną  (w folderze /themes/default/mobile ) który ma swój własny zestaw 58 plików szablonów, wraz z własnym CSS, JavaScript i plikami graficznymi.

Kiedy czujesz się dobrze w hierarchii swojego sklepu i obowiązkowych plików szablonów, zrób kilka szkiców interfejsu, aby zorientować się gdzie zostaną umieszczone różne elementy: Nowe produkty, promocje, obrazy, tekst, etc.). Ponadto zawierają one ważne dane, takie jak wzmianki na stronie produktu: w sprzedaży, promocji nowego produktu, obniżone ceny...)

Oczywiście są to tylko tylko ogólne wkażówki; niektórzy profesjonalisci wolą zrobić to bezpośednio w PrestaShop, a następnie przejść do PHP/Smarty , HTML, CSS

Projektowanie w Photoshop

Rzadko jesteśmy sami podczas tworzenia tematu: Nie zależnie czy z kolegą, lub klientem jest wiele sytuacji, kiedy będziesz musiał się dzielić swoim proejktem z innymi ludźmi. Dlatego będzie im łatwiej pracować jeśli będą myśleć niestandardowo. 

Jedną z pierwszych rzeczy do zrobienia jest dostarczenie prac w przestrzeni kolorów RGB w 72 dpi. i zawsze zapewnić niepłaski plik ( chyba, że jest to dla kilenta końcowego, w takim przypadku, należy podać płaski plik, chyba, że wyraźnie zapłacił za nie spłaszczoną wersję)

Ogólnie rzecz biorąc, nigdy nie należy spłaszczać projektu, chyba że masz pewność, że nie będą chcieli edytować go ponownie. 

Przy budowie motywu PrestaShop, należy pracować z 980px szerokości w zależności od zastosowań, wraz z 

  • Jeden folder Photoshop dla wszytkich wartt tekstowych, dzięki czemu developrzy mogą łatwo uzyskać dostęp do projektu.
  • Jeden folder Photoshop na projektowany blok (nowe produkty, najlepiej się sprzedające,etc.).

Color space

Always rely on RGB. Do not ever use CMYK, which is made for print.

Units

When designing for the Web, the base unit is the pixel. Do not measure in picas, points or centimeters.

Font

Do not use atypical fonts! Keep it readable at all times!

Standard text (title, sub-title, regular text) should be limited to the following fonts, in order to insure that all visitors can see the same thing:

  • Arial
  • Verdana
  • Helvetica
  • Georgia
  • Tahoma

Keep the number of fonts to the bare minimum, for fear of making your website confusing and unreadable.

Of course, you can use any font you like when designing a graphic, such as the header image or a slide-show picture.

Font size

Never forget that the user has the final say on the text size, since modern browsers can increase or decrease it at the touch of a keyboard key.
As a matter of fact, you should test your website with various browser variations, see how easy it is break your design... and therefore rework your design in order to avoid such easy breakage.

You may start off with a handful of basic text sizes:

  • Titles: 18px.
  • Smaller titles: 14px.
  • Regular text: 10 to 12px.

Transparency

Transparent images do not work well with older browsers, particularly with Internet Explorer, so you should stay away from 24-bits PNG images. As for GIF images with transparency, use the over a plain background to ensure they work properly. Avoid 50% opacity by using the same matte color as the website's background color.

Miscellaneous

  • Test your theme with all of PrestaShop's options activated, so as to see how the theme reacts.
  • Edit a product in order to see how the various options influence your design (promotion, new product, etc. …)... if it does at all.
  • Make sure to have a homogeneous style for your shop.

Usability

We won't delve into complex human–computer interaction theories here, but rather try to make sure that your shop is accessible to as many potential customers as possible. Your ultimate goal should be to have visitors trust your shop enough so that they star buying.

Every time a visitor stumbles upon a usability problem, your site loses their trust. Ultimately, if the trust reaches a low point, frustration comes and the visitor leaves your site, without buying anything of course. Such is the importance of usability in the e-commerce world.

When design your shop's theme, keep in mind that its mission (in addition to selling goods, of course) is to show your visitors that your website is managed by serious and competent people.

The home page

This is the most important page of your shop, the one where it is "hit or miss". This is the page where the visitor will get a general opinion of your shop, and decide if she should trust you with her money.

You should make sure to make your shop easily recognizable, and have your catalog be the first thing people see.

The website's header is where you will be able to put the most recognizable details: logo, name, unique image... It should be not be higher than 250px, so that your visitors can reach your catalog without resorting to scrolling down the page. In other words, your main content should never be below the fold (to learn more about the Fold, read this Wikipedia page: http://en.wikipedia.org/wiki/Above_the_fold).

The visual aspect of your website is of course very important (hence our "Thinking ahead" section above): you must find way to put your products forward with overloading the page. Moreover, you should use homogeneous colors and layout within a page and between pages. For instance, if a button has an interaction effect on one page, make sure to apply that effect to all other pages on the site.

The search engine must be easy to find. Visitors often know what they came for, and don't want to browse through categories and sub-categories in search for it.

Still, when building your website's content, think of the user who browse categories, and make them simple and intuitive.

You can reinforce the perceived trust by displaying logos or mentions of your partners (banks, carriers), and your rating from a known e-commerce institution, such as FIA-NET in France.

Do display your contact details, such as phone number or chat system, if available. It will show you are real, and that can make a huge difference.
Of course, do not use your personal phone number: they need to feel they are calling a company's support team, not disturbing you while you cook.

Clearly display your Return Merchandise conditions, your general T&C and other applicable laws that you respect.

The product page

A visitor only comes to the product page if she's interested by said product, and wants more details. There should therefore be aplenty of those.

Make the "Add to Cart" button clear and visible. It must distinguish itself from the rest of the layout, by both its size and color – but do keep a homogeneous design: if the button is too far off from the general design, the visitor can just as easily not see it, in the same way people have trained themselves not to see ads on the Internet.

Make sure to display all the relevant labels: "New product", "Promotion", "Voucher", etc. Also, do not forget to add the delivery delays.

The conversion funnel: "My Account" and related pages

The conversion funnel is where your visitors become client (hence the use of "conversion", or sometimes "transformation"). If these pages are badly designed or structured, this can mean the loss of many potential clients, and therefore all the order they would have made on your site. To learn more about the conversion funnel, read this Wikipedia page: http://en.wikipedia.org/wiki/Conversion_funnel.

Account creation / "My Account"

The default PrestaShop theme comes with an account form that gives a very good transformation percentage. But it might still not suit your own site's needs. Hence, here are a few tips to follow if you intend to update the form.

  • Be basic, keep the essential only. The visitor must concentrate on the account creation, and the purchase. See how Amazon does it.
  • Reduce the number of steps. The user must know how many steps she still has to go through before she can actually finalize her purchase.
  • Clearly display any mistake the user makes, right next to form field. Errors should be displayed in a distinct color (red is a favorite), and mandatory fields should indicated (with an asterisk *, for instance).

Payment

The visitor has created her client account, great! But it's still not over yet, she must now go through the purchase itself.

Same as for the account creation form:

  • Reduce the number of steps (delivery address, payment page).
  • Display the errors in a distinct color.
  • Payment page:
    • If the visitor uses a credit card, warn them that they will be redirected to your bank's secure server. For instance, add a little padlock icon, with an explanation.
    • If she chooses to pay by check (or any other offline payment method), clearly mention what to do next: amount, address, etc.

All these usability tips are just part of the whole story, but they can bring you a solid ground on which building your theme, in order to improve your shop.

Optimizing images

One important thing to keep in mind is that images slow a shop down, especially if the images are not optimized. This section shows you how to optimize images, but at the end of the end, the optimization is to only keep the important images, and let go of the others.
There are just a few important images on a shop theme: the products images/thumbnails, the shop's logo or header, and maybe the homepage's slideshow. Most of the rest can be easily replaced by clever use of CSS and HTML, especially if it belongs to the shop's design. Keep the number of images on any page to a minimum: the faster a shop will be, the longer a potential customer will be willing to browser its page.

Image optimization means two things:

  • Lowering image size in order to improve loading time.
  • Making sure they are properly indexed by search engines.

Dealing with image size should be done directly in Photoshop: do not ever use a bigger image than it is displayed within the browser. Use the necessary size, no more, no less.
Photoshop also has a special "Save for the web" tool, which helps you perform compression and format comparison, and will remove much of the data cruft.

There are also online tools which can help you optimize your pictures with loss of quality, by performing safe automatic tasks:

If you are at ease with command line tools, you can use these:

  • Pngnq: converts 24-bit PNG files into 6 to 8-bit ones, by only keeping the needed colors.
    Download: http://pngnq.sourceforge.net/
    Sample command line: pngnq -vf -s1 image.png
  • OptiPNG: tests several compression methods on a PNG file in order to find the best one.
    Download: http://optipng.sourceforge.net/
    Sample command line: optipng -o7 image-nq8.png
  • pngcrush: another PNG optimization tool.
    Download: http://pmt.sourceforge.net/pngcrush/
    Sample command line: pngcrush image.png -rem all -reduce -brute result.png
  • jpegtran: performs lossless operations on JPEG images.
    Download: http://jpegclub.org/jpegtran/
    Sample command line: jpegtran -copy none -optimize -perfect src.jpg dest.jpg

Key SEO tips

Improving your site ranking is key to getting new clients. While we will not dive into SEO in this section, there is a handful of tips you should strive for:

  • Improve your URL's, title and other meta tags: make sure to fill all the textfields in the back office, both for products and for categories. Use short and concise descriptions; fill the title with the most important details in order to have these details appear in the URL, etc.
  • Improve your image display: use proper captions and titles.
  • Do not hesitate to use HTML lists when naming the various components/features of a product.
  • Use important words multiple times in the product description.
  • Put important text forward using <strong> and <em>.
  • Optimize page display: make sure they load quickly, either by minimizing image size or by using a better web-host.

See also PrestaShop free guide on SEO: http://www.prestashop.com/en/white-paper-seo

  • No labels