Tag: prestashop

  • Prestashop: Free modules

    A list of useful sites that provide free modules. List will be updated as and when I find new ones.

    From Prestashop community
    1) [Free module] display multilingual HTML texts everywhere
    http://www.prestashop.com/forums/topic/172429-free-module-display-multilingual-html-texts-everywhere/

    List of valuable and proven free modules for PrestaShop
    http://www.prestashop.com/forums/topic/233442-free-modules-list-only-valuable-and-proven-solutions-31032014/

    Websites:

    http://www.presto-changeo.com/en/7-prestashop-free-modules
    http://nemops.com/prestashop-101-series/
    http://store.nemops.com/5-free-modules
    http://nemops.com/category/tutorials/tips/

    http://www.prestascope.com/en/
    1) Slideshow LITE
    Link: http://www.prestascope.com/en/free-prestashop-modules/11-slideshow-lite.html
    Description: This Prestashop free module display a simple slideshow on your homepage. Demonstration available on product page.

    2) WordPress in Prestashop
    Link: http://www.prestascope.com/en/free-prestashop-modules/18-module-wordpress-in-prestashop.html
    Description: Module to display in a side block of your shop a customized list of the last articles from a WordPress blog. Best solution to easily create content for your shop and improve your SEO.

    3) Newsletter block subscribers
    Link: http://www.prestascope.com/en/free-prestashop-modules/20-module-newsletter-subscribers.html
    Description: List, manage and export all visitors that have subscribe to your newsletter via the front-office block

    4) Last customers block
    Link: http://www.prestascope.com/en/free-prestashop-modules/21-prestashop-last-customers-block.html
    Description: This module displays a block listing your last customers. Module parametrizable in your shop administration (format of each customer line, optional country flag)

    5) PDF Invoice Plus
    Link: http://www.prestascope.com/en/free-prestashop-modules/24-pdf-invoice-plus.html
    Description: Administration module to add a custom text (plain or HTML) at the bottom of all your PDF invoices or PDF delivery slips. It’s an easy way, for example, to add legal notes to all your invoices.

    6) Shop Scheduler LITE
    Link: http://www.prestascope.com/en/free-prestashop-modules/25-shop-scheduler-lite.html
    Description: There is a free version of this module Shop Scheduler LITE and a paid version Shop Scheduler PRO. This modules allows you to schedule the display of multi-languages HTML texts anywhere in your store. You can also copy complex visual items from your theme like column blocks, product pages tabs, … A must-have to communicate with your visitors: announce special operations, add visual elements or simply tell them you are on vacation!

    7) Clean carts
    Link: http://www.prestascope.com/en/free-prestashop-modules/12-clean-carts.html
    Description: Clean unused carts from database to speed-up web pages display. Check carts contents using multi-criteria search (customer, amount, number of products, carrier, dates, …) Convert carts into validated orders to finalize orders in error (sometimes, bad validations could happen with payment modules)

    8) Pack export
    Link: http://www.prestascope.com/en/non-free-prestashop-modules/23-pack-export-customers-orders.html
    Description: The best pack to export your orders and customers datas as CSV files to be used in Excel.

  • Tips to Optimise your php.ini File for PrestaShop

    PrestaShop system requirements Summary:
    Web server: Apache 1.3, Apache 2.x, Nginx or Microsoft IIS
    PHP 5.4+
    MySQL 5.0+
    PHP memory_limit 2048M
    upload_max_filesize 100M
    max_execution_time 1000
    post_max_size 100M
    max_input_time -1

    PHP extensions: GD, cURL, SimpleXML, SOAP
    To improve performances: MemCached, mcrypt PHP extension

    Source: http://www.prestatraining.com/12-tips-to-optimise-your-php-ini-file-for-prestashop/

    Memory and Size Limits

    There are times when you may encounter an error because you’ve exceeded a PHP limit that is set on your server.  You can increase these limits in your php.ini file.

    Tip: One common limit that is exceeded is the memory limit.  One case where you may encounter this limit is when you upload a full-resolution image and PHP is unable to load the entire image into memory.  In this case, you could manually reduce the size of the image before uploading it, or you could increase the memory limit by searching for and changing the memory_limit setting in php.ini, or add it if it doesn’t exist:

    ; Set memory limit in megabytes
    memory_limit = 128M

    If you are using shared hosting, which is common with inexpensive hosting packages, try to set the smallest limit you can that stops the memory limit error.  If you set the memory limit too high, it is possible for inefficient code to use up too much memory and cause performance issues for other users on your server.  In that case, your host may shut down your account until you reduce your memory usage.

    If you find yourself needing a high memory limit, it may be better for you to upgrade to a virtual private server (VPS) or a dedicated server so that you don’t have to share the server’s RAM.  You can then increase the RAM as high as you like, as long as it doesn’t exceed the total RAM that is available in the server.

    Tip: The other common limit that is exceeded is the maximum execution time.  One case where you may encounter this limit is when you import a large number of products.  Once the maximum execution time has elapsed, PHP will stop the script and display an error message.  You can increase the maximum execution time by searching for and changing the max_execution_time setting in php.ini, or add it if it doesn’t exist:

    ; Set maximum execution time in seconds
    max_execution_time = 120

    Like the memory limit, if you are using shared hosting, you should try to set the shortest time you can that stops the timeout error.  If you set the maximum execute time too high, it is possible for inefficient code to cause many PHP scripts to be running at the same time for an extended period, using up a lot of the server’s resources.  In that case, your host may shut down your account until you reduce the number of PHP scripts that are running.

    If you find yourself needing a high maximum execution time, it may be better for you to upgrade to a VPS or a dedicated server so that you don’t have to share the server’s resources.

    Tip: When uploading a large product image, you may also encounter the maximum file upload size limit.  In this case, you could manually reduce the size of the image, or you could increase the maximum file upload size by searching for and changing the upload_max_filesize setting in php.ini, or add it if it doesn’t exist:

    ; Set maximum file upload size in megabytes
    upload_max_filesize = 32M

    Set the value to the size of the largest product image or downloadable product you expect to upload through the Back Office.  That way, you will get an error message if you accidentally upload a product image that is too high resolution.  It is best to resize product images to the resolution they are displayed in the Fancybox before uploading to minimise the amount of disk space used on the server.  Downloadable products should also be compressed as ZIP files to reduce the amount of space used.

    Tip: Two more limits that may be encountered are the maximum post size and maximum input time.  One case where you may encounter these limits is when you are saving a large number of module translations.  In this case, you will need to increase the maximum post size and maximum input time by searching for the post_max_size and max input time settings in php.ini, or adding them if they don’t exist:

    ; Set maximum post size in megabytes
    post_max_size = 32M

    ; Set maximum input time in seconds
    max_input_time = 180

    If you are using shared hosting, you should try to set the smallest values you can that stop the error messages.  A value that is too high may use up too much disk space or other resources on the server, causing performance issues for other users on your server.