Creation a mobile version of a prestashop website - prestashop

I have a prestashop website version 1.4 I want to create this website version mobile ,
please if you have any advice to start or any tutoriel because i search in the net and i don't found somthing useful.

Upgrade to prestashop 1.6 with the OneClickUpgrade module, and use the default prestashop 1.6 skin. I've made the upgrade this way from 1.4 to 1.6 without any problem.
The default 1.6 skin is responsive, so your website will work with mobiles, tablets and computers.
Then adapt the default skin to your actual website colors.
Before doing it, backup your database and your files.
I think it is easier to upgrade than to create your own responsive skin.

Related

Prestashop 1.6 - Can't login into admin panel or add items to cart if I change php version

I have a Prestashop 1.6.1.14 (default theme) running on php 5.5.38 and I would like to update the php version... but when I set it to 5.6 (or higher ... up to 7.1) the site is visible (and no errors are displayed, not even in console) but it is not possible to add items to the cart nor log into the administration panel. Not unless you change the PS_CIPHER_ALGORITHM value from 1 to 0 in the ps_configuration table. How much is it safe to change it? Does it weak the security on the site?
Any suggestion?
thanks.
I know that sometimes, it's not easy to update to Prestahop 1.7 and so we get stick with the 1.6 version, so i suppose you can't update to 1.7.
In this case, can you try to update to the last version of 1.6 Prestashop (
1.6.1.24 )
this version is compatible with php7 and run faster than php5
to update you can also use a module autoupgrade from prestashop Team :
In the config of the module AutoUpgrade , choose "expert mode" and "minor version".
And don't forget to backup before changing the version.

Can I apply new security patches on Prestashop 1.7.2.4?

I have a store running Prestashop 1.7.2.4 (with Symfony 2.8.27) with tons of customized files, theme, modules etc.. I just can't upgrade to newer Prestashop versions otherwise i will loose a lot of work in a blink of an eye.
My question is simple, can I apply prestashop version by version from 1.7.2 up to 1.7.8 security patches on my actual installed PS ? That is including Symfony vulnerable issues.
What is your advice.
Prestashop security patches applied over time are listed here , you should search the pull requests related to those advisiories and apply / cherry pick them manually on your release.
This can be a hard task though, especially from such an old version.
Generally, I suggest to move your core changes to modules / overrides so that you can update safely to latest version, so you can also benefit of PHP 7.4 support (note that themes and third party modules will not be overwritten during upgrade).

Prestashop upgrade from 1.7.1.2 to new version

Can Someone tell me the proper process to upgrade Prestashop 1.7.1.2 to the new version? I have to upgrade my Prestashop version because the PHP version I was using was outdated, so I have upgraded my PHP version. After I upgraded my PHP version, my Prestashop 1.7.1.2 backend didn't open. Because this version of PrestaShop won't support the latest PHP version. I don't want to use outdated PHP version also because my hosting provider charges me a lot.
It would be great, I can upgrade my PrestaShop. So, I need a proper step by step process to upgrade Prestashop.
Also, how do I change my shop into maintenance mode by changing the code? Keep in mind, my backend won't open. I have to change it programmatically.
I already have done a lot of google searches and won't get the proper procedures.
To disable your shop from the database, go to the configuration table and
search where name = PS_SHOP_ENABLE, set this to NULL.

Migrate customers to Prestashop 1.7

First of all thank you for taking a look the the problem that I'm facing today.
I'm currently working on a project that includes prestashop 1.7. What I'm trying to do is as following. I want to migrate my prestashop 1.6.11 to 1.7. Now I know that there is currently no support on this option but I really want to upgrade it for some important reasons. I did migrate the customers and there invoices to 1.7 but when I try log in on the new website nothing happens(I made a test account on 1.6). There is no error or anything but the page refreshes and that's it. I did look on multiple websites for a solution but that came out blank.
Is what I am trying to do even possible or does anybody have an idea where to look or what to change.
Hope that somebody has a solution.
There is a _COOKIE_KEY_ in PrestaShop that is used to encrypt the password before saving them to the database. The _COOKIE_KEY_ for each PrestaShop installation. The _COOKIE_KEY_ is unique for each and every PrestaShop installation.
You can find the _COOKIE_KEY_ in following paths:
/app/config/parameters.php (in PrestaShop 1.7)
/config/settings.inc.php (in PrestaShop 1.6)
You should set the passwords for your users on your new PrestaShop 1.7 store again using the updated _COOKIE_KEY_
You can take a look at Tools::encrypt() function to find out how it is encrypted.
Note: This _COOKIE_KEY_ is called 'secret' in PrestaShop 1.7
Migrating from Prestashop 1.6 to Prestashop 1.7 requires you to use Prestashop Migrator. This is its Github project: https://github.com/ets-soft/prestashop-migrator-free-version
The steps are very simple:
Just download Prestashop Migrator (ets_pres2presfree.zip) then follow 3 simple steps below
Step 1: Install Prestashop connector on the source website (your old website.)
Step 2: Install a fresh Prestashop 1.7 website (target website) then install Prestashop migrator on the website you just installed.
Step 3: Start migrating your data from the source website to target website. Wait a few minutes and enjoy your new Prestashop 1.7 website.

Liferay: Migrate Theme from 6.1 to 6.2

We want soon upgrade the portal from Liferay 6.1.30 GA3 to 6.2. The backend of portlets seem be simple to migrate. But the changes of theme technology is huge :) I mean the way to bootstrap is very welcome, but how is it with the migration of existing (6.1) theme?
Our theme based on standard Liferay 6.1 styled theme. However, I'm looking for some guideline how to migrate e.g. Liferay 6.1 classic theme to 6.2.
you can follow Liferay Portal 6.2 Developer's Guide
https://www.liferay.com/zh/documentation/liferay-portal/6.2/development/-/ai/alloyui-2-0-bootstrap-migration-liferay-portal-6-2-dev-guide-02-en
As you said themes between 6.1 and 6.2 changed a lot. You maybe will be able to migrate a theme from the two versions, but you maybe won't get full bootstrap power.
When migrating from 6.0 ,6.1 to the 6.2 usually you should consider to built a new theme and maybe also to re-design your template to follow "mobile-first" approach of bootstrap.
Source: Liferay Symposium (Italy) 2013