Placido-Shop v-3.0.0
Placido-Shop V3 is released!
☆☆☆ ! IMPORTANT UPDATE INFORMATIONS ! ☆☆☆
After carrying out this update,
YOUR APPLICATION WILL NO LONGER WORK!
You must open the API/default_constants.php file and modify:
1/ const ADMIN_FOLDER = "put the name of your administration folder here";
2/ const HOST = "the domain name or subdomain of the application without https:// or www.";
! important: ONLY modify these two values, leave the rest as is.
3/ rename the API/default_constants.php file to API/constants.php
(or copy it to the same folder with this new name).
4/ reconnect to your administration.
5/ Click the "Check for Updates" button and then update to the latest version again.
6/ Check that the information in the API/api.json file is indeed reported in
the API/constants.php file, if this is the case,
you can delete the API/api.json file which will no longer be used by the application.
If this is not the case, we advise you to go through the "Settings" tab and
manage the settings for your application here.
! important : Be sure to update your translation files for the back-end and the front-end!
! important : Table 'tokens' must be updated with 'user_id' index: unique
! important : Table 'admins' must be updated with 'id' auto-increment: true
- The process class located in PHP/process.php has been deleted,
you can delete the PHP/process.php file.
☆☆☆ API ☆☆☆
- The JS minifier - JShrink (PHP/LIBS/MINIFIER-JS/Minifier.php) has been updated to version 1.7.0
- Stripe (PHP/LIBS/Stripe) has been updated to version 15.3.0
- Mustache PHP has been updated to version 2.14.2
- PHPMailer (PHP/LIBS/PHPMailer) has been updated to version 6.9.1
- jQuery has been updated to version 3.7.1
☆☆☆ FRONTEND ☆☆☆
-
The .htaccess file has been updated
-
Added : management of the meta name="robots" directive
(templates/BASE/base.html) -
To manage this you can toggle between allowing search engines
or disallowing them in the "Settings" tab of the site administration -
Modified : <meta name="viewport" ...;maximum-scale=5.0 />
(templates/BASE/base.html)
☆☆☆ BACKEND ☆☆☆
-
A 'token' class was added to check the validity of the security token,
before this was managed by the 'program' class -
! important : Table 'tokens' must be updated with 'user_id' index: unique
-
You can register multiple administrators for site management
-
Notifications of new sales are sent to all site administrators
-
! important : Table 'admins' must be updated with 'id' auto-increment: true
-
The notification emails have been debugged,
now it is the title of the website that is sent in the "From" header -
Added : <meta name="robots" "noindex, nofollow">
for the base backend template ([ADMIN_FOLDER]/templates/base.html) -
Modified : <meta name="viewport" ...;maximum-scale=5.0 />
([ADMIN_FOLDER]/templates/base.html) -
Added : <meta http-equiv="Content-Security-Policy" ... />
([ADMIN_FOLDER]/templates/base.html && [ADMIN_FOLDER]/templates/CSP.html) -
A "Rebuild the sitemap" tab has been added in "Settings":
It allows you to completely rebuild the sitemap.xml file with all online products,
all categories as well as all static pages of your website. -
A new 'sitemap' class has been added in [ADMIN_FOLDER]/PHP/sitemap.php
Note : functions [ADMIN_FOLDER]/PHP/tools::add to sitemap();
and [ADMIN_FOLDER]/PHP/tools::suppr_to_sitemap() were been deleted. -
An application backup function has been added to the "Update" tab.
It allows you to download a .zip file containing all the application
folders and files as well as a copy of the database. -
A text editor has been added to edit static pages on your site,
however it may produce erroneous code, we are still testing
this so use it with caution.
This editor will allow you to place small images,
tables and also videos from Youtube.
It will also allow you to adjust the size of the text and define colors.
We strongly advise you to check the HTML rendering performed by
the text editor or have it checked/corrected by a developer.
- A small bug on the navigation of dates in the statistics tab has been fixed.
☆☆☆ BACKEND / INSTALL ☆☆☆
- Management of the /robots.txt file :
record robots.txt with the good host for Sitemap url.
See: [ADMIN_FOLDER]/PHP/tools.php -> tools::record_robots_txt( $host, $context );