Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by papai

  1. After I login into Back Office, my working session last until I click on logout button. That mean, if I login and close or turn off my computer, my account still verified in cookie and I still use Back office without having ti login again.

    I would recommend that we set our session is ended after an amount of time that we don't use the Back Office of turn off computer. That may make Back Office safer and more security.

  2. My product have some attribute: for example color. some instants of color are connected to images. I entered this product well.
    But an error happens when I duplicate this product. Some information of new product is copy correctly. But all connection between instant of attribute and its image is lost. That mean, when I choose color in the product page of new copied product in front store, there is no change in product image.

  3. I did the same way as: http://www.prestashop.com/forums/viewreply/15410/
    for version R3, it worked well, but version doesn’t work.
    Then I saw that all translation data files (in \themes\prestashop\lang and \translations\vn) were encoded in UTF-8, in version R3. But in V1.0.0.8, they were not encoded in UTF-8. I opened them in editor by UTF-8 encoding, they were displayed incorrectly. So that, all encoding conversion in making PDF invoice files will fail.
    Can someone help me?

  4. After user sends message via contact form successful, application inform the success, but what does end part of this message mean: "Accueil"


    Code in contact-form.tpl:

    <ul class="footer_links">

    <li><a href="/solution/trunk/"><img class="icon" alt="" src="/solution/trunk/themes/prestashop/img/icon/home.gif"/></a><a href="/solution/trunk/">Accueil</a></li>



    Look for answering.

  5. 1. In feature list, after I edit a feature name and save it, application add new feature instead of save changes in edit action.


    2. In currency list: If I want to add Vietnam dong then application doesn't allow to name currency in Unicode characters


    3. When I'm just adding new product, multitext box controls for product description and product detail have many tools for text format. That's exactly WYSIWYW technique. But I couldnt type Unicode characters like Vietnamese characters.

    When I saved and edit it, all toolboxs for formating were dissapered.


  6. There are some ways to speed up website:

    1. Don't use smart technique. Following function is to get HTML code for category tree without smarty. Website's speed is doubled


        function getHTMLCategTree($catSelected=0, $maxDepth = 3, $currentDepth = 0, $idLang = NULL)


            global $link;


            //get idLang

            $idLang = is_null($idLang) ? _USER_ID_LANG_ : intval($idLang);


            //recursivity for subcategories

            $childrenNodes = "";

            $subcats = $this->getSubCategories($idLang, true);

            if (sizeof($subcats) AND ($maxDepth == 0 OR $currentDepth < $maxDepth)) {

                foreach ($subcats as $subcat)


                    if (!$subcat['id_category'])

                        break ;

                    $categ = new Category($subcat['id_category'] ,$idLang);

                    $HTMLcatItem = "<li>";

                    if ($catSelected == $categ->id)

                        $HTMLcatItem = $HTMLcatItem . '<a href="'.$link->getCategoryLink($categ->id, $categ->link_rewrite).'" class="selected" title="'.$categ->description.'">'.$categ->name.'</a>';


                        $HTMLcatItem = $HTMLcatItem . '<a href="'.$link->getCategoryLink($categ->id, $categ->link_rewrite).'" title="'.$categ->description.'">'.$categ->name.'</a>';

                    $HTMLcatItem = $HTMLcatItem .$categ->getHTMLCategTree($catSelected, $maxDepth, $currentDepth + 1, $idLang);

                    $HTMLcatItem = $HTMLcatItem . "</li>";

                    $childrenNodes = $childrenNodes . $HTMLcatItem;


                $childrenNodes = "<ul>" . $childrenNodes . "</ul>";


            return $childrenNodes;



    2. If you want to use smarty, let set cache for smarty object. This improves speed surprisingly.


    Best regard,



  7. I measured response time of website. The original response time is about 20-25 s.

    After that, I uninstalled category block, response time reduce to 4-5 s. Surprisingly,  :o

    I opened category block's code, I found that there are too many call for template (to recursive to make tree). That's bad technique.


    I think weak performance caused by programming technique not by smarty technology.

    Any one find more cause, pls public for our community. It's very good if these causes are removed.

  8. I'm in Vietnam. In my opinion, this software for retailer. I see some following inconveniences:

    All information about manufactures and suppliers is in back end, for retailers' using only. There are some unsuitable designs here:

    1. Suppliers like distributors. Retailers can only buy goods from suppliers not from manufactures and sell them to customers. So retailers need detail information about suppliers such as address, phone number,.. contact information to make their orders. All these informations are missing in back end of PrestaShop


    2. Retailers can't buy goods from manufacturers, but they need introduction information about manufactures in order to choose products for their stores. That mean we don't need to manage manufactures addresses, but we need information about manufactures and their products.


    If my opinions are correct, we should change design for more realistic.



  • Create New...

Important Information

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