You are herewebshop/e-commerce systems / Working with prestashop
Working with prestashop
After initially working with tarballs, it turned out easier to work with Subversion: update fixes, see the diffs of new releases with my installed version to judge the impact etc.
The page is used to track progress and issues while implementing Prestashop (PS) at voixlibres.org/shop1 and voixlibres.org/shop2.
Last update: 1.May'09 tests on SVN 801.
Issues
Issues to solve soon
- Multiple currencies disabled for now:
Paypal payment OK for non-default currency, but client receives "Erreur de paiement" email
And in Back Office >> Orders, one sees Status=Payment Error, "Warning: 33 € paid instead of 53 € !"
http://www.prestashop.com/bug_tracker/view/1876/ - decimals missing from ‘New Order’ email. VL 001040
- Deleting test orders (see also the attached SQL stored procedure at the bottom; statistics are not yet cleaned though)
http://www.prestashop.com/forums/viewthread/12682 - Bullets in CMS pages like delivery, legal, term & conditions, delivery etc. are not nice. Since they have no unique div, CSS cannot be tweaked either. Bug acknowledged, but no fix yet?
http://www.prestashop.com/bug_tracker/view/1372/ - Bug tracker: Notification pf comments
www.prestashop.com/bug_tracker/view/1456 - Category Carousel
http://www.creation-shop.ch/module-carrousel.html
www.prestashop.com/forums/viewthread/3892
Flash-based, not tried yet:
www.prestashop.com/forums/viewthread/3159
Issues: low priority
- Test Shop SVN: cash on delivery module being ignored
- Editorial: change it to save logo and xml outside of /modules
http://www.prestashop.com/forums/viewthread/14170 - Send email when new user registers
- Invoice column not always aligned correctly, e.g. VL Nr.001018
- Status graphs: only today
- Integration into Accounting system?
http://www.prestashop.com/forums/viewthread/11847
http://www.prestashop.com/forums/viewreply/53804 - Investigate: is there a log of all key events: user mgt, transactions, order status change, errors show to the user?
- 3 digit Currency name misaligned in the header
- profil shopadmin: "ajouter les permissions 'suivi."
www.psfrance.org/forums/showthread.php?p=3408#post3408 - Improve donations products,
http://www.prestashop.com/forums/viewthread/10303/modules/module_for_han... - "Envoyer à un ami": spam: could be used to generate spam by bots?
Captcha - Cannot easily order more than one article, quantity field is a "+/-" button:
http://www.psfrance.org/forums/showthread.php?p=3292#post3292 - useability improvement: add order preview as a final step
http://www.prestashop.com/forums/viewthread/10501/general_discussion/use... - Paypal sandbox would not work for me (productive paypal is fine too)
http://www.prestashop.com/forums/viewthread/9642/modules/paypal_sandbox_... - Zero transport costs if downloadable and physical products are mixed! (fix to isVirtualCart() pending? )
http://www.prestashop.com/forums/viewthread/11995 - Create a common base class for shared settings/functions
- Design: category.php should use Product object and not do sql joins to get product data
Issues: resolved
- Order change in backoffice: removing an items does not update totals?
http://www.prestashop.com/bug_tracker/view/1459/
http://www.prestashop.com/forums/viewthread/12130
-- This is a feature, not a bug. - Total wrong in ‘New Order’ email, for non-default currency.
e.g. for VL Inv 001016 has total & payment 114,30€ paid instead of 185,19€.
http://www.prestashop.com/bug_tracker/view/1553/
Fix verified in SVN 801.
Patch submitted for modules/mailalerts/mailalerts.php :
http://www.prestashop.com/forums/viewthread/13763
--> patch necessity not yet verified.
Probably related: "Paypal: mail alert prices"
http://www.prestashop.com/forums/viewthread/12044
Probably related: Invoice wrong when several currencies enabled?
http://www.prestashop.com/bug_tracker/view/1411/ - Hide "items in stock" number for downloadable products [See also attached patch]
http://www.prestashop.com/bug_tracker/view/1262
http://www.prestashop.com/forums/viewthread/10649 - Paypal: why does customer always pay in default currency?
http://www.prestashop.com/forums/viewthread/13167 - SVN upgrade procedure - for DB changes
http://www.prestashop.com/forums/viewthread/13038
http://www.prestashop.com/bug_tracker/view/1446/ - Upgrade option is greyed out
http://www.prestashop.com/forums/viewthread/10566 - After db restore accents not displayed correctly
http://www.prestashop.com/bug_tracker/view/1404/ - Patch submitted/feature request: Nicer bullets on the home page (global.css)
http://www.prestashop.com/bug_tracker/view/1305/
http://www.prestashop.com/bug_tracker/view/1455/ - Zero transport costs if downloadable and physical products are mixed!
http://www.prestashop.com/bug_tracker/view/1377/
http://www.prestashop.com/forums/viewthread/11995 - Move the 'My Account' block from left to right.
http://www.prestashop.com/forums/viewthread/10279/#44350 - Make first order number a parameter, not “1”
http://www.prestashop.com/bug_tracker/view/1261/
ALTER TABLE ps2_orders AUTO_INCREMENT =1000; - Patch accepted: French translation “produit en stock”
http://www.prestashop.com/bug_tracker/view/1263/ - Cannot order: merci de remplir tous les champs requis, please fill all required fields
http://www.psfrance.org/forums/showthread.php?p=3304
http://www.prestashop.com/forums/viewthread/10156/general_discussion/can... - catégorie. http://www.psfrance.org/forums/showthread.php?p=3296
- Contact form: http://www.prestashop.com/bug_tracker/view/1180/
http://www.psfrance.org/forums/showthread.php?p=3295 - Register the site with google:
Back Office >> Modules >> Google sitemap v1.0>> Update Sitemap file
https://www.google.com/webmasters/tools - Debugging
http://www.prestashop.com/forums/viewthread/10099/#43542
http://www.firephp.org/ http://xdebug.org/docs/install /classes/MySQL.php
Improvements
Features missing that would be nice
- back office ordering
- Swiss post: more dynamic module?: http://www.swisspost.ch/en/index/uk-geschaeftskunden/pm_versand_inland_g...
- History of currency updates?
- Swiss Datatrans payment:
http://www.prestashop.com/forums/viewthread/5310/ - Multiple shops
- Discussions:
http://www.prestashop.com/forums/viewthread/12465
Modules to try sometime
- PAYBOX France http://www.creation-shop.ch/module-paybox.html
- Offline Credit Card Module
- PostFinance http://www.creation-shop.ch/module-postfinance.html
Postfinance is apparently expensive, 5.5% commission + monthly fee? - Google Checkout: only US or UK merchants so far
- Module lists:
http://www.prestashop.com/forums/viewthread/12539
http://www.pshopexpert.com/4-pse-modules
http://ukprestaclub.ecartservice.net/viewtopic.php?f=8&t=91 - Add stuff
http://www.prestaworks.com/3-feedback-module.html - Commercial modules: PSE Terminator (for deleting), PSE Livezilla (chat)
- Analyse Credit Card option more (only Paypal used for the moment)
EuroInformation (CIC/Crédit Mutuel/OBC)
http://www.merchantexpress.com/rates_internet.htm
http://www.uk.atosorigin.com modatospresta_v1.3.zip
http://www.datatrans.ch
Security Advisories
- CVE-2008-5791 vulnerabilities in PrestaShop prior to v1.1 Beta 2
Useful links
- Forums: www.psfrance.org
www.prestashop.com/forums
www.prestaforums.nl - Subversion repository: svn.prestashop.com/trunk
- http://www.prestashop.com/wiki/Getting_Started/
http://www.prestashop.com/wiki/back_office_configuration/
http://www.prestashop.com/wiki/FAQ_-_Frequently_Asked_Questions - PS vs Magento
http://www.prestashop.com/forums/viewthread/1556
http://www.dredd.fr/design/comparatif-e-commerce.php - Template sites
http://ezytrader.com/ - The Prestashop company, Commercial offerings etc.
http://www.capitaine-commerce.com/2009/01/15/22170-interview-bruno-leveq...
http://www.prestashop.me/options.php
http://www.prestashop.me/documents/tarifs.pdf
Upgrading
As I work with Subversion (SVN), the procedure I follow is as follows. As one can see upgrading with SVN release is not trivial, so consider using final releases where possible (even with SVN).
- Set up a development machine and test there first!
- Check out a new copy of the PS trunk.
- Make a list of each file changed in the previous tree (e.g. Tortoise SVN >> Check for modifications)
- For each file modified, copy over to the new tree, but rename the file to be replace with file.orig (actually check all files you change into RCS to allow tracking without affecting SVN)
- For each file modified, do an SVN diff to review changes.
- Copy over non versioned files (e.g. images added)
- Copy over config/settings.inc
- Status 14.2.09:
Version 1.2.0.1: Prod SVN revision 298/9.Jan.09, Dev SVN 463/10.Feb.09 (see SQL upgrade script attached below) - Read the SVN log of changes since the last upgrade, take note of any major changes such as DB or compatibility issues.
svn log -r 298:463|more
svn diff -r 298:463 CHANGELOG - Copy over the DB (if on a different machine), lets assume the DB is called vl2, with user prestashop, password PASS:
mysql create database vl2
mysql vl< prod_backup.sql # DB backup
grant all on vl2.* to prestashop identified by 'PASS';
vi config/settings.inc.php
- Check file permissions
cd /var/www/shop1 # assume we install in this dir
chown -R boran * . # assume we work as "boran", apache runs as group "www-data"
chgrp -R www-data .
chmod -R g+rx * .htaccess
chmod 755 .
chmod -R g+rwx img mails modules themes/prestashop/lang translations upload download
chmod g+w config upload download tools/smarty/compile/ sitemap.xml config/settings.inc.php
chmod -R a+rwx img # don't know why but regenerate would not work otherwise
- Database upgrade: for each of the follows SQL files, the changes will have to be detected, then an SQL upgrade script built (e.g. using Tortoise SVN + diff + highlighting).
- Check for changes to the sql upgrade file:
svn diff -r 298:463 install-dev/sql/upgrade| more - Then double check that the upgrade file is complete by diff'ing the DB structure, required content and optional content [I found changes in db_settings* for example, that were not reflected in the upgrade file]:
svn diff -r 298:463 db.sql | more
svn diff -r 298:463 db_settings_extends.sql |more
svn diff -r 298:463 db_settings_lite.sql |more
- Check for changes to the sql upgrade file:
- Tuning that may be needed for the upgraded shop:
# disable friendly URLs on development system, Regenerate thumbnails, maybe change the theme is needed, switch paypal to sandbox mode
Back Office >> Preferences
Back Office >> Preferences >> Image >> Regenerate thumbnails
Back Office >> Preferences >> Apparence >> Teme >> Vl
Back Office >> Payment >> Paypal > Sand box mode
# Maybe change emails alerts:
Back Office >> Modules >> Mail alerts
Back Office >> Employees >> Contacts
Back Office >> Preferences >> Contact >> Shop Email
# Add TEST to the shop name if needed:
Back Office >> Preferences >> Contact >> Shop name
| Attachment | Size |
|---|---|
| ps_patch_forum_10649.txt | 7.23 KB |
| sb_procedures.sql_.txt | 540 bytes |
| ps_298_to_463.sql_.txt | 12.26 KB |
| ps_463_to_521.sql_.txt | 8.75 KB |
