Jump to content

LOVE and HATE Prestashop


Recommended Posts

I LOVE Prestashop because :
1. It's free
2. Easy to install
3. Low size application
4. Easy script customization
5. Easy theme customization
6. User friendly
7. Progressive applications growth
8. Nice and helpful developer
9. Many online users in its forum
10. My country has its own subforum

I HATE Prestashop because :
1. Hard to upgrade
2. Site slowly loads

How about you?

Link to comment
Share on other sites

  • 2 months later...

Seemed fairly straightforward to me (compared with other carts I have used) but it certainly would be good to have it all automated for end-users.
Good to have a manual upgrade process as a fallback and so that you understand exactly what is going on.
Easier to upload the zip file and unzip it on the server than to ftp all the individual files I would have thought.

Link to comment
Share on other sites

Seemed fairly straightforward to me (compared with other carts I have used) but it certainly would be good to have it all automated for end-users.
Good to have a manual upgrade process as a fallback and so that you understand exactly what is going on.
Easier to upload the zip file and unzip it on the server than to ftp all the individual files I would have thought.


Maybe you would be so kind to elaborate a bit about how you do the update/upgrade ?
Yesterday I found a new version while I just installed the previous one (1.2.1.0 I believe) and there is no clue what files have been changed and what database changes have been done. So I had to look inside the install directory of the new package for the latest update sql and apply that manually. Then you have to compare all existing files against the new package. If you have your own theme directory made you will first have to compare the changes made to the prestashop default theme and make sure they are applied to your own theme directory also. You can also install fresh and pray your database export will be no problem to import with the new release. You than have to copy all your product, category etc. images after having cleaned the default prestashop images which are there even if you have choosen for a clean install without samples. If you don't use a default language you have to export that before you install the upgrade fresh.
In the end there were just a few file changes and minor database changes but nevertheless it is not something I like to do frequently. A tool like Beyond Compare is invaluable when the process is not automated and/or simplified :-)
Link to comment
Share on other sites

To be honest: I don't know. After having read the first part and frowning upon what I already had to do manually anyway I just followed my own path.

....While typing I just tested it locally and the database is updated but with all those manual copying needed anyway I think my method is better as long as there is no better way....

Link to comment
Share on other sites

Im so glad everyone agrees! PrestaShop is truly beautiful, and very useful e-commerce solution. I hope the upgrade process is more automated like Wordpress. Thanks for listening. Everyone continue to express your feebback about upgrading PrestaShop.

Link to comment
Share on other sites

  • 1 month later...

Every time i need to upgrade, I have followed the instructions and it has only ever lead to bad times. Each time I have had to do a complete reinstall of the whole shop.

Lucky I have not had any products in the DB as my clients enter those after I hand over. But This is a right ball ache and needs to be made A LOT easier, like WordPress does, as I have known Prestashop to release an update a week after the last, and having to reinstall each time is rubbish for me.

Link to comment
Share on other sites

How can I do this?



in config/smarty.config.inc.php

$smarty->force_compile = false;


this should increase the speed of the website.

Note: if you have many orders in the database/products the blockbesesellers module can be VERY SLOW. it can be optimized -> I wrote a post somewhere about this.



let's say you want to cache (really cache) only one block. Because the database access is still made we need to make sure we execute queries only when needed.

1. open modules/blockbestsellers/blockbestsellers.php

and change hookRightColumn function to look like:


   function hookRightColumn($params)
   {
       global $smarty;        
       $old_caching = $smarty->caching;
       $smarty->caching = 1;        
       if(!$this->is_cached(__FILE__, 'blockbestsellers.tpl')) {
           $currency = new Currency(intval($params['cookie']->id_currency));
           $bestsellers = ProductSale::getBestSalesLight(intval($params['cookie']->id_lang), 0, 10);

           $best_sellers = array();
           foreach ($bestsellers AS $bestseller)
           {
               $bestseller['price'] = Tools::displayPrice(Product::getPriceStatic(intval($bestseller['id_product'])), $currency);
               $best_sellers[] = $bestseller;
           }
           $smarty->assign(array(
               'best_sellers' => $best_sellers,
               'mediumSize' => Image::getSize('medium')));
       }

       $result =  $this->display(__FILE__, 'blockbestsellers.tpl');
       $smarty->caching = $old_caching;
       return $result;
   }





in classes/Module.php
add this function just above the last } :

   public static function is_cached($file, $template)
   {
       global $smarty;
       $previousTemplate = $smarty->currentTemplate;
       $smarty->currentTemplate = substr(basename($template), 0, -4);
       if (file_exists(_PS_THEME_DIR_.'modules/'.basename($file, '.php').'/'.$template))
       {
         return $smarty->is_cached(_PS_THEME_DIR_.'modules/'.basename($file, '.php').'/'.$template);
       }
       elseif (file_exists(dirname($file).'/'.$template))
       {
           return $smarty->is_cached(dirname($file).'/'.$template);
       }
       else
           $result = Tools::displayError('No template found');
       $smarty->currentTemplate = $previousTemplate;
       return $result;
   }    



Please note that the default cache time for smarty is about an hour -> it can be altered as needed.

Link to comment
Share on other sites

you let it like that, some are updating it to true when developing and forget about it. It will slow down the shop.

but as I said presta IS fast compared with other shops like magento. blockbestsellers is very slow unfortunately but this issue can be fixed -> the easiest fix will be by not display prices in the block (this message is intended to prestashop developers)

if you can do the modifications above it will be ok.

What is your shop link? so I can check it a little. Webhosting companies can oversell by hosting too many customers on one server so in this case there is not much what you can do.

Link to comment
Share on other sites

  • 6 months later...
I LOVE Prestashop because :
1. It's free
2. Easy to install
3. Low size application
4. Easy script customization
5. Easy theme customization
6. User friendly
7. Progressive applications growth
8. Nice and helpful developer
9. Many online users in its forum
10. My country has its own subforum

I HATE Prestashop because :
1. Hard to upgrade
2. Site slowly loads

How about you?


very very slow when has lots of products
Link to comment
Share on other sites

×
×
  • Create New...