Warning: You are browsing the documentation for PrestaShop 1.7, which is outdated.
You might want to read an updated version of this page for the current version, PrestaShop 8. Read the updated version of this page
Back Office controller returns Back Office HTML pages.
Most of these Back Office pages have a common HTML structure:
When the BO user clicks on the ‘Help’ button, the sidebar opens and displays the related Documentation page for the Back Office page that the user browses.
This documentation page comes from help.prestashop.com which is a gateway that returns the content of docs.prestashop-project.org in the right format to be inserted into the Back Office.
The sidebar contains an HTML object (similar to iframe). When help.prestashop.com is fetched, the returned content is an HTML document fetched from help.prestashop.com by .load
.
Fetch is performed to URL with this structure:
help.prestashop.com/<language code>/doc/<help context>?version=<version number>
Element | Description |
---|---|
<language code> |
ISO 639-1 language code (2 letters, lower case) |
<help context> |
The controller name for which help is requested |
<version number> |
Version number of current PrestaShop app calling for contextual help. |
Example: https://help.prestashop.com/fr/doc/AdminProducts?version=1.7.1.2
The sidebar has an empty container. When help.prestashop.com is fetched, the returned content is JavaScript that fills the empty container with content.
Fetch is performed to URL with this structure:
help.prestashop.com/api/?request=<url-encoded query string>
Element | Description |
---|---|
<version number> |
Version number of current PrestaShop app calling for contextual help. |
<language code> |
ISO 639-1 language code (2 letters, lower case) |