Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
418 commits
Select commit Hold shift + click to select a range
e15ee6d
Change current version
Oct 27, 2022
9251b7e
Merge pull request #1558 from thomasnares/AddSelfConfiguratorDoc
matks Oct 27, 2022
ccc235e
Update good-practices.md
sarahdib Oct 28, 2022
561e985
Update i-need-help.md
sarahdib Oct 28, 2022
32aa196
Update contribute_using_localhost.md
sarahdib Oct 28, 2022
74ca38c
Change other referencces to doc.prestashop.com
Oct 28, 2022
8b55b35
Merge pull request #1 from thomasnares/otherReferenceSarah
sarahdib Oct 28, 2022
63d7a6c
Merge pull request #1563 from thomasnares/changeCurrentVersion8
matthieu-rolland Oct 28, 2022
ba58696
Merge pull request #1565 from sarahdib/sarahdib-patch-1
kpodemski Oct 31, 2022
fcaf047
add symfony hooks
Oct 31, 2022
0b6a447
Merge pull request #1567 from thomasnares/fixHookPage
Oct 31, 2022
e835af5
Move configuration into its own category & add list of configurations
Oct 11, 2022
56b90c3
Rewording
Oct 12, 2022
631e419
Fix typos
Oct 31, 2022
4482766
Apply suggestions from code review
thomasnares Nov 2, 2022
a8a3840
Merge pull request #1561 from thomasnares/exampleModulesPage
kpodemski Nov 4, 2022
f5c5a02
Merge pull request #1544 from eternoendless/move-configuration
kpodemski Nov 4, 2022
3ea1ce9
exclude Back Office page
leemyongpakvn Nov 8, 2022
d0ce7a2
Merge pull request #1568 from leemyongpakvn/patch-1
matks Nov 9, 2022
53af245
fix typo
Nov 9, 2022
c45a00f
Merge pull request #1571 from marsaldev/fix-typo
kpodemski Nov 9, 2022
77ffd63
Merge pull request #1557 from thomasnares/doc-pr-21279
kpodemski Nov 9, 2022
ecd0053
Fix identation issues, breaks DOM/search
Nov 10, 2022
d79bf32
Merge pull request #1573 from thomasnares/fixBrokenSearch
kpodemski Nov 10, 2022
c15d198
Merge pull request #1531 from thomasnares/objectmanager-doc
kpodemski Nov 16, 2022
c2c6191
Improve order lifecycle doc
Nov 18, 2022
7d37d65
Move articles to .org
Nov 25, 2022
9decfbf
Change diagram to mermaid to better searchability and maintainability
Nov 26, 2022
7d34646
Remove un-necessary asset
Nov 26, 2022
eccefce
Add currency rates source
Nov 28, 2022
ea1b911
Merge pull request #1577 from thomasnares/CurrencySource
kpodemski Nov 28, 2022
ccd68e5
Merge pull request #1575 from eternoendless/move-articles
kpodemski Dec 1, 2022
3d64e48
Apply suggestions from code review
thomasnares Dec 1, 2022
e1c907d
Update development/architecture/legacy/legacy-controllers.md
thomasnares Dec 1, 2022
cf4f046
Merge pull request #1576 from thomasnares/LegacyControllerInit
kpodemski Dec 1, 2022
5880128
missing some hooks - wip
Nov 3, 2022
983616d
Add other hooks
Nov 3, 2022
7f540f2
Fix wrong extracts
Nov 3, 2022
8c28aa9
Add shortcode
Nov 3, 2022
4e1c041
New list of hooks
Nov 9, 2022
7b9ae12
updates all hooks, extract array_returns, check_exceptions, chains
Dec 7, 2022
302118e
fix no type hooks
Dec 7, 2022
9a8b7c5
change link to hook component
Dec 7, 2022
a2f38b8
Apply suggestions from code review
thomasnares Dec 8, 2022
b99f01f
Fix typo on install-from-cli.md
micka-fdz Dec 12, 2022
d402b7a
Update _index.md
LouisAUTHIE Dec 12, 2022
529be63
Merge pull request #1581 from LouisAUTHIE/patch-8
nicosomb Dec 12, 2022
b922dcc
Merge pull request #1580 from micka-fdz/patch-4
kpodemski Dec 12, 2022
99c9bd9
improve order lifecycle
Dec 13, 2022
c4507de
Suggestions from review : single type, codebase sentence, < generi…
Dec 13, 2022
ab187b9
Change message in hook list about generic hooks
Dec 13, 2022
490e3d9
change FO/BO to front office / back office
Dec 13, 2022
9bb9a0f
change FO/BO to front office / back office
Dec 13, 2022
3310410
explain PS_CART_FOLLOWING
Dec 13, 2022
f11e5c5
PrestaShop 8.0 is using Doctrine version 2.7
leemyongpakvn Dec 15, 2022
9ba3978
switch to 8.x branch
leemyongpakvn Dec 15, 2022
f121fc7
Merge pull request #1579 from thomasnares/hookRefreshed
kpodemski Dec 15, 2022
c09b24c
Merge pull request #1574 from thomasnares/improve_order_lifecycle
kpodemski Dec 15, 2022
73d2262
Merge pull request #1583 from leemyongpakvn/8.x
kpodemski Dec 15, 2022
28a6791
Fix inverted markdown links
Dec 15, 2022
91007e0
Fix admin-dev links
Dec 15, 2022
90f74c9
Merge pull request #1584 from thomasnares/hookRefreshed
kpodemski Dec 15, 2022
668827a
Key for git info
kpodemski Dec 15, 2022
5db6ef3
Move example from PululuK
PululuK Dec 16, 2022
07269bd
Merge pull request #1586 from thomasnares/moveExampleHooks
kpodemski Dec 16, 2022
8b97258
Merge pull request #1585 from kpodemski/gitinfo-test
kpodemski Dec 16, 2022
ccdaf2e
Add example flag on ActionValidateOrder
Dec 16, 2022
896b6b7
Merge pull request #1587 from thomasnares/exampleFlag
kpodemski Dec 16, 2022
f720231
switch to SF4
leemyongpakvn Dec 17, 2022
67f89c3
switch to PS8
leemyongpakvn Dec 17, 2022
3c816c2
switch to SF4
leemyongpakvn Dec 17, 2022
112ead2
typo
leemyongpakvn Dec 17, 2022
63a23a2
switch to PS8
leemyongpakvn Dec 17, 2022
71c5c4f
Merge pull request #1588 from leemyongpakvn/8.x
atomiix Dec 19, 2022
719036e
Update twig dependency to 3.4 - issue 30116
Jan 3, 2023
1b899c8
Merge pull request #1589 from thomasnares/changelog81
kpodemski Jan 3, 2023
302eca0
deprecate CharacterCleaner class and Customer::validateController (is…
Jan 3, 2023
be0fdfd
deprecate Customer::validateController (issue 29953)
Jan 3, 2023
50df906
Create new hook page for displayAddressSelectorBottomHook
Jan 3, 2023
3c77035
Merge pull request #1591 from thomasnares/displayAddressSelectorBotto…
kpodemski Jan 3, 2023
cbdbaf3
Fix the path to the translations folder
Jan 5, 2023
8f5f836
Change visibility of 8.1 changes page
Jan 9, 2023
13b1892
Document prestashop/PR28127 and classic/PR21
Jan 9, 2023
a6fd670
Improve actionFilterDeliveryOptionList doc
Jan 9, 2023
fc6ed41
Merge pull request #1592 from eternoendless/update-translations-folder
kpodemski Jan 11, 2023
30387dc
Add missing hooks from issue 1447
Jan 11, 2023
0fa6fb8
Suggestions from code review
Jan 10, 2023
2c207bb
Document cache handling mechanism and improve patch method documentation
Jan 16, 2023
f972863
Fix dead link
0x346e3730 Jan 16, 2023
d7218e6
Update modules/concepts/hooks/list-of-hooks/actionOrderStatusPostUpda…
kpodemski Jan 16, 2023
7c378b8
Merge pull request #1594 from thomasnares/missingHooksV8
kpodemski Jan 16, 2023
54e67ff
Begin creating CsvComponent documentation
Jan 16, 2023
a412881
Update create-custom-column-type.md
xiropot Jan 17, 2023
afcf2ed
Update development/components/grid/tutorials/create-custom-column-typ…
xiropot Jan 17, 2023
017a8d9
Update development/components/grid/tutorials/create-custom-column-typ…
xiropot Jan 17, 2023
ac7a5b9
Update development/components/grid/tutorials/create-custom-column-typ…
xiropot Jan 17, 2023
6c1289c
Update development/components/grid/tutorials/create-custom-column-typ…
xiropot Jan 17, 2023
b1a8651
Update development/components/grid/tutorials/create-custom-column-typ…
xiropot Jan 17, 2023
503e689
Update development/components/grid/tutorials/create-custom-column-typ…
xiropot Jan 17, 2023
ebe94d2
Apply suggestions from code review
kpodemski Jan 17, 2023
dcc724e
Merge pull request #1595 from thomasnares/apiPatchMethod
kpodemski Jan 17, 2023
12a8cc1
Update development/components/grid/_index.md
kpodemski Jan 17, 2023
ffc06fd
Merge pull request #1596 from 0x346e3730/patch-1
kpodemski Jan 17, 2023
b6727e8
CSvComponent doc
Jan 17, 2023
7c1290a
Merge pull request #1597 from tivuno/patch-1
matks Jan 18, 2023
35bb9d5
Merge pull request #1600 from thomasnares/CsvResponse
matks Jan 25, 2023
0bb4793
Minor improvements for the docs
kpodemski Jan 26, 2023
6d43916
fix grid custom column php highlight
kpodemski Jan 26, 2023
2937309
Minor wording improvement
Seb33300 Jan 27, 2023
26fd257
Merge pull request #1605 from Seb33300/patch-1
matks Jan 27, 2023
da42d9c
Merge pull request #1604 from kpodemski/minor-improvements
kpodemski Jan 27, 2023
a8b7d82
switch to 8.x branch, fix minor typo
leemyongpakvn Jan 30, 2023
88ec442
Merge pull request #1607 from leemyongpakvn/patch-1
kpodemski Feb 2, 2023
4b2e0b2
Wip creation of 8.1 changes page
Feb 8, 2023
d501d7d
Wip creation of 8.1 changes page
Feb 8, 2023
733bc3a
Add minver on new hooks, and actionGenerateDocumentReference hook
Feb 8, 2023
f459808
Document url smarty helper, and corejs disable
Feb 8, 2023
0f74365
Update modules/concepts/hooks/list-of-hooks/actionModifyFrontendSitem…
thomasnares Feb 13, 2023
296a0be
Update modules/core-updates/8.1.md
thomasnares Feb 13, 2023
1184484
Update themes/getting-started/theme-yml.md
thomasnares Feb 13, 2023
62f7c9c
Update modules/core-updates/8.1.md
thomasnares Feb 13, 2023
17ece53
Update themes/getting-started/theme-yml.md
thomasnares Feb 13, 2023
e3a59cb
Update modules/core-updates/8.1.md
thomasnares Feb 13, 2023
808ff96
Update modules/core-updates/8.1.md
thomasnares Feb 13, 2023
776a68e
Update modules/core-updates/8.1.md
thomasnares Feb 13, 2023
9ed9243
Update development/components/smarty-extensions/_index.md
thomasnares Feb 13, 2023
3e03977
Update development/components/smarty-extensions/_index.md
thomasnares Feb 13, 2023
8277edd
Update development/components/smarty-extensions/_index.md
thomasnares Feb 13, 2023
a71c077
Update themes/getting-started/theme-yml.md
thomasnares Feb 13, 2023
c292382
Merge pull request #1590 from thomasnares/changelog81
kpodemski Feb 14, 2023
92cc102
Set core.js as 8.1 min version
PrestaEdit Feb 17, 2023
8403b3f
Merge pull request #1612 from PrestaEdit/patch-32
kpodemski Feb 17, 2023
b594de4
Update displayBackOfficeHeader.md
LouisAUTHIE Feb 20, 2023
315cf4e
Update displayBackOfficeTop.md
LouisAUTHIE Feb 20, 2023
90f737c
Update displayBackOfficeCategory.md
LouisAUTHIE Feb 20, 2023
33a81eb
Update displayBackOfficeTop.md
LouisAUTHIE Feb 20, 2023
06f8032
Update displayBackOfficeHeader.md
LouisAUTHIE Feb 20, 2023
607b66d
Update displayBackOfficeEmployeeMenu.md
LouisAUTHIE Feb 20, 2023
cc7b514
Merge pull request #1614 from LouisAUTHIE/patch-10
kpodemski Feb 20, 2023
cd0f363
Merge pull request #1616 from LouisAUTHIE/patch-12
kpodemski Feb 20, 2023
8d87939
Merge pull request #1615 from LouisAUTHIE/patch-11
kpodemski Feb 20, 2023
3ba9b84
Merge pull request #1613 from LouisAUTHIE/patch-9
kpodemski Feb 20, 2023
0433e79
correct NodeJs versions for PS 8
leemyongpakvn Feb 21, 2023
715e183
PS 8 requires PHP 7.2 at least
leemyongpakvn Feb 21, 2023
1cdac26
switch to 8.x branch
leemyongpakvn Feb 21, 2023
98d39c0
add some missing spaces
leemyongpakvn Feb 21, 2023
ddc9d9a
Merge pull request #1617 from leemyongpakvn/patch-1
kpodemski Feb 23, 2023
8039efc
Add BC breaks
Feb 23, 2023
a21c4f8
Create missing hooks found in example modules, link examples on each …
Feb 23, 2023
4c3065c
Merge pull request #1618 from thomasnares/addBCbreaks81
kpodemski Feb 24, 2023
4e7f3f0
Merge pull request #1593 from thomasnares/documentNewPasswordPolicy
kpodemski Feb 24, 2023
93e70d0
Fix wrong doc about injecting translator in custom module class
Mar 6, 2023
c9b176e
Add explaination about why undescore is not suitable in technical nam…
Mar 6, 2023
ee262d6
Fix module controller translator call as well
Mar 6, 2023
a5bd82d
Fix module controller translator call as well
Mar 6, 2023
6758deb
Document new product page features
Mar 7, 2023
fb81720
Merge pull request #1621 from thomasnares/moduletranslation
kpodemski Mar 7, 2023
496a018
Update link to "Get involved" page
Quetzacoalt91 Mar 7, 2023
da423c6
Document PR30588 - services configurations priority
Mar 7, 2023
40a3560
Merge pull request #1622 from Quetzacoalt91/patch-1
matks Mar 7, 2023
99b8bd2
Security rules on payment modules
Thymotep Mar 8, 2023
2b4d3f0
Merge pull request #1624 from Thymotep/patch-1
matks Mar 10, 2023
22b7f43
Improve search results for the hook page in Algolia
Mar 13, 2023
2c44753
Merge pull request #1625 from thomasnares/ImproveSearchResultsHook
kpodemski Mar 13, 2023
6185b09
move some files, refresh other ones
Feb 6, 2023
2b604f6
update autoupgrade doc
Feb 14, 2023
fcefa9c
Remove <1.7 references
Feb 14, 2023
ba45e92
Remove outdated new logger information
Feb 14, 2023
8382e8f
Prioritise upgrade module
Feb 14, 2023
131c273
further improvements
kpodemski Mar 17, 2023
8a6a5a7
Improve Integration tests desc
justeen35 Mar 17, 2023
3d77d88
Improve webservice doc
justeen35 Mar 17, 2023
fc477fb
Merge pull request #1627 from justeen35/patch-1
matks Mar 17, 2023
1e009d1
Merge pull request #1628 from justeen35/patch-2
matks Mar 17, 2023
474a4bd
Add hooklisturl variable in firstsection to be able to personalize fu…
Mar 20, 2023
1a91629
Begin Link doc
Mar 20, 2023
283cdc7
Create Link component
Mar 20, 2023
13eafb5
Remove mermaid dep
Mar 20, 2023
73eda09
Make getRow() method description visible in Algolia
Mar 20, 2023
4de8b5d
Merge pull request #1632 from thomasnares/getRowUsage
kpodemski Mar 21, 2023
50543c8
Merge pull request #1630 from thomasnares/ImproveSearchResultsHook
kpodemski Mar 21, 2023
f1a8b1d
Apply suggestions from code review
thomasnares Mar 21, 2023
c2c84c6
Link Smarty url helper to Link component
Mar 21, 2023
4d68067
Add mentions to unfound algolia requests
Mar 21, 2023
45bb1ee
Begin PSCollection component
Mar 22, 2023
2d94205
Document moduleRoutes hook
Mar 22, 2023
eb397fa
Merge pull request #1631 from thomasnares/AlgoliaMostWanted
kpodemski Mar 22, 2023
374606d
Add search tags to help unfound algolia requests
Mar 22, 2023
5ef9c65
Merge pull request #1634 from thomasnares/helperListHelperForm
kpodemski Mar 22, 2023
f790546
Update modules/concepts/hooks/list-of-hooks/moduleRoutes.md
thomasnares Mar 27, 2023
421ca04
Add controllers to example, add link to example modules repo
Mar 28, 2023
cfa07d5
Add example of placeholders in translation
tswfi Mar 28, 2023
a9908d0
Update modules/concepts/hooks/list-of-hooks/moduleRoutes.md
thomasnares Mar 28, 2023
751b8c7
Merge pull request #1636 from tswfi/patch-1
kpodemski Mar 29, 2023
cc376d7
Update modules/concepts/hooks/list-of-hooks/moduleRoutes.md
kpodemski Mar 29, 2023
1bc4905
Merge pull request #1633 from thomasnares/exampleHookModuleRoutes
kpodemski Mar 29, 2023
fa38b19
Add example from native module for HelperForm
Apr 2, 2023
4175987
Add example from native module for HelperList
Apr 2, 2023
87de35e
Document Locale component
Apr 2, 2023
303321f
Merge pull request #1638 from thomasnares/renderForm
kpodemski Apr 3, 2023
bf658ec
Merge pull request #1637 from thomasnares/LocaleComponent
kpodemski Apr 3, 2023
4a65412
Update helperoptions.md
LaBisquerie Apr 4, 2023
34eeeb9
Merge pull request #1640 from LaBisquerie/patch-2
matthieu-rolland Apr 5, 2023
e17914a
pending changes - new product page customisation
Apr 10, 2023
94b7b62
fix: update password on docker docs to use the new one
Apr 11, 2023
c9dbffd
Merge pull request #1642 from boubkerbribri/patch-1
matthieu-rolland Apr 11, 2023
e45e615
Add examples, create new tab, BC indication
Apr 11, 2023
f82d2f1
Self-review fixes
Apr 11, 2023
b1ad228
Update modules/concepts/services/_index.md
kpodemski Apr 12, 2023
a8392ac
Merge pull request #1623 from thomasnares/missingItems81
kpodemski Apr 12, 2023
0552875
Apply suggestions from code review
thomasnares Apr 17, 2023
e92755b
add handler informations and map pages
Apr 17, 2023
63dc5ec
Template display.tpl must extend page.tpl
fabienVernieres Apr 17, 2023
a9c48f7
Update modules/creation/displaying-content-in-front-office.md
fabienVernieres Apr 18, 2023
ad4b2be
Update modules/creation/displaying-content-in-front-office.md
fabienVernieres Apr 18, 2023
739add0
Merge pull request #1644 from fabienVernieres/patch-1
kpodemski Apr 18, 2023
d697b5b
Almost finished page for PrestaShopCollection
Apr 18, 2023
bf3c386
Finish collection doc
Apr 19, 2023
1bd8698
Add known issue when paginating
Apr 19, 2023
d886d28
minor improvements
kpodemski Apr 19, 2023
c614472
Merge pull request #1643 from thomasnares/productpageextendability
kpodemski Apr 19, 2023
f3bdcd3
Bad relativePath
fabienVernieres Apr 19, 2023
2bd6bd9
Apply suggestions from code review
kpodemski Apr 19, 2023
3be6b7f
Merge pull request #1646 from fabienVernieres/patch-2
kpodemski Apr 19, 2023
4afe644
Example implementation of hookActionModifyFrontendSitemap
kpodemski Apr 20, 2023
7fea63c
set hasExample flag
kpodemski Apr 20, 2023
9a7642f
change autoupgrade module URL
kpodemski Apr 20, 2023
40533a0
Merge pull request #1611 from thomasnares/refreshInstallAndUpgradeGuide
kpodemski Apr 20, 2023
9ef9c81
Merge pull request #1647 from kpodemski/example/sitemap
mflasquin Apr 20, 2023
327dab0
Apply suggestions from code review
thomasnares Apr 24, 2023
5cb5eb5
Update development/components/database/prestashopcollection.md
kpodemski Apr 24, 2023
9297816
Merge pull request #1645 from thomasnares/PrestaShopCollectionComponent
thomasnares Apr 24, 2023
706ecec
bump hugo version to v0.85
kpodemski Apr 24, 2023
b7da2d0
Add flags to feature pages on homepage
Apr 25, 2023
9b014bf
update flags
Apr 25, 2023
3266ebe
Try to use GITHUB_TOKEN
Apr 26, 2023
df1f685
Try to use GITHUB_TOKEN
Apr 26, 2023
bf4bdac
Try to use GITHUB_TOKEN
Apr 26, 2023
d0fb61b
Try to use GITHUB_TOKEN
Apr 26, 2023
bca0748
Try to use GITHUB_TOKEN
Apr 26, 2023
44af393
Fix build.yml
Apr 26, 2023
9c360ea
Fix broken reference
Apr 26, 2023
76a1c09
Add flags to feature pages on homepage
Apr 25, 2023
e25f7aa
update flags
Apr 25, 2023
5a9f280
Try to use GITHUB_TOKEN
Apr 26, 2023
4781c68
Try to use GITHUB_TOKEN
Apr 26, 2023
b11c946
Try to use GITHUB_TOKEN
Apr 26, 2023
7a882b7
Try to use GITHUB_TOKEN
Apr 26, 2023
57943ca
Fix build.yml
Apr 26, 2023
2100862
Merge branch 'mainCategoriesIcons' of github.com:thomasnares/ps-docs …
Apr 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Thank you for contributing to the PrestaShop developer documentation!
Please take the time to edit the "Answers" rows below with the necessary information.

Check out our contribution guidelines on how to contribute:
https://devdocs.prestashop.com/8/contribute/documentation/how/
https://devdocs.prestashop-project.org/8/contribute/documentation/how/
------------------------------------------------------------------------------>

| Questions | Answers
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.82.0'
hugo-version: '0.85.0'
extended: true

- name: Find version from branch name (pull request)
Expand Down Expand Up @@ -55,4 +55,6 @@ jobs:
mv _current "src/content/$VERSION"

- name: Build
env:
DEVDOCS_GITHUB_READ_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cd src/ && hugo
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
[![Build](https://github.com/PrestaShop/docs/actions/workflows/build.yml/badge.svg)](https://github.com/PrestaShop/docs/actions/workflows/build.yml)
[![DevDocs Site update](https://github.com/PrestaShop/docs/actions/workflows/update-site.yml/badge.svg)](https://github.com/PrestaShop/docs/actions/workflows/update-site.yml)

This documentation is available at https://devdocs.prestashop.com/
This documentation is available at [https://devdocs.prestashop-project.org/](https://devdocs.prestashop-project.org/)

## Contributing

Contributions are more than welcome! [Find out how](https://devdocs.prestashop.com/8/contribute/documentation/how/).
Contributions are more than welcome! [Find out how](https://devdocs.prestashop-project.org/8/contribute/documentation/how/).

## Rendering the site locally

Expand Down
3 changes: 2 additions & 1 deletion _index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ title: PrestaShop 8 Documentation
menuTitle: PrestaShop 8
versionId: "8" # this should match the physical directory in devdocs-site
versionGithubPath: "8.x" # this should match the branch name in github
versionMeta: Dev # only one version can be current!
versionMeta: Current # only one version can be current!
chapter: true
hookListUrl: "/8/modules/concepts/hooks/list-of-hooks" # this allows for dynamic hook results in algolia's docsearch
---

# PrestaShop 8 Documentation
Expand Down
2 changes: 2 additions & 0 deletions basics/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Basics
weight: 1
pre: "<b>1. </b>"
chapter: true
showOnHomepage: true
icon: fa-play
---

### Chapter 1
Expand Down
3 changes: 2 additions & 1 deletion basics/deployment/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Deployment
weight: 18
weight: 40
showOnHomepage: true
---

# Deployment
Expand Down
3 changes: 2 additions & 1 deletion basics/installation/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Installation
weight: 15
weight: 20
showOnHomepage: true
---

# Installation
Expand Down
119 changes: 0 additions & 119 deletions basics/installation/configuration.md

This file was deleted.

7 changes: 4 additions & 3 deletions basics/installation/httpd.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,21 @@ It may be incomplete, and remember you must adapt it for your own server's needs
## With PHP-FPM

You first have to ensure you have the `php-fpm` binary and Apache's FastCGI installed.
On a Debian based, packages are `libapache2-mod-fcgid` and `php7.1-fpm`.
On a Debian based, packages are `libapache2-mod-fcgid` and `php7.2-fpm`.

After installing these packages, fpm service will automatically be started.
PHP-FPM uses so-called pools to handle incoming FastCGI requests.

Here's an example:

```ini
; a pool called www
[www]
user = www-data
group = www-data

; use a unix domain socket
listen = /var/run/php/php7.1-fpm.sock
listen = /var/run/php/php7.2-fpm.sock
; or listen on a TCP socket
; listen = 127.0.0.1:9000

Expand Down Expand Up @@ -92,7 +93,7 @@ Don't forget to edit this configuration to make it works.
# with mod_rewrite or mod_autoindex
<FilesMatch \.php$>
# SetHandler proxy:fcgi://127.0.0.1:9000
SetHandler proxy:unix:/var/run/php/php7.1-fpm.sock|fcgi://dummy
SetHandler proxy:unix:/var/run/php/php7.2-fpm.sock|fcgi://dummy
</FilesMatch>

DocumentRoot /path/to/prestashop
Expand Down
111 changes: 111 additions & 0 deletions basics/installation/install-from-cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
---
title: Installing PrestaShop from CLI
menuTitle: Installation from CLI
weight: 15
---

# Installing PrestaShop from CLI

Since version 1.5.4, PrestaShop has a command-line installer.

This special installer makes it possible to install PrestaShop without the need to use a web browser: simply put the content of the zip archive on your web server or pull code from an official PrestaShop repository, and you can install PrestaShop through your command-line interface (CLI).

{{% notice info %}}
If deploying from sources (PrestaShop repository), you must first install Composer dependencies.
Install them with `composer install` from project's root directory.
{{% /notice %}}

The point of having a CLI installer in addition to the regular in-browser installer is to provide a solution to some advanced users, who often prefer command-line interfaces as they tend to give a more concise and powerful means to control a program or operating system. We can see the advantage of CLI installer in Continuous Integration processes.

## How to use it

To use the CLI installer, use your terminal, go to the `/install` (or `/install-dev`) folder, and start the script with this command:

```shell
php index_cli.php
```

This command, by default, will display the various available options:

| Argument | Description | Default value | Allowed values |
| :-------------- | :----------------------------------------- | :--------------------------- | :---------------------------------------------------------------------------------------------------- |
| `step` | Installation steps to execute | all | all, database, fixtures, theme, modules, postInstall |
| `language` | Language ISO code to install | en | 2 letters ISO 639-1 code ([ISO 639-1][iso-639-1]) with available translation files in `/translations` |
| `all_languages` | Installs all available languages | 0 | 0, 1 |
| `timezone` | Set timezone of instance | Europe/Paris | Valid timezone ([TZ Database][tz-database]) |
| `base_uri` | Base URI (appended after domain name) | / | Any URI |
| `domain` | Domain name for the shop (without http/s) | localhost | Any domain name or IP address |
| `db_server` | Database server hostname | localhost | Any valid MySQL valid server name or IP address |
| `db_user` | Database server user | root | Any valid MySQL user name |
| `db_password` | Database server password | "" | The valid password for `db_user` |
| `db_name` | Database name | prestashop | _string_ |
| `db_clear` | Drop existing tables | 1 | 0, 1 |
| `db_create` | Create the database if not exists | 0 | 0, 1 |
| `prefix` | Prefix of table names | ps\_ | _string_ |
| `engine` | Engine for MySQL | InnoDB | InnoDB, MyISAM |
| `name` | Name of the shop | PrestaShop | _string_ |
| `activity` | Default activity of the shop | 0 | Id of an activity ([Complete list of activities][activities]) |
| `country` | Country of the shop | fr | 2 letters Alpha-2 code of ISO-3166 list([ISO-3166][iso-3166]) |
| `firstname` | Admin user firstname | John | _string_ |
| `lastname` | Admin user lastname | Doe | _string_ |
| `password` | Admin user password | Correct Horse Battery Staple | _string_ |
| `email` | Admin user email | pub@prestashop.com | _string_ |
| `license` | Show PrestaShop license after installation | 0 | 0, 1 |
| `theme` | Theme name to install | "" (classic) | Theme name (located in `/themes`) |
| `ssl` | Enable SSL (from PS 1.7.4) | 0 | 0, 1 |
| `rewrite` | Enable rewrite engine | 1 | 0, 1 |
| `fixtures` | Install fixtures | 1 | 0, 1 |
| `modules` | Modules to install, separated by comma | [] (all) | _array_ of module names (located in `/modules`) |

- All the options from the regular in-browser installer are available, with their default values listed above.
- Almost all default option values can be left as is because you can edit them all from the PrestaShop Back Office once the installation is complete.

{{% notice info %}}
Note that the e-mail and password are used to create the administrator's Back Office account.
{{% /notice %}}

To start the installation, we recommend that you provide at least these arguments :

- `domain`. The domain name where your shop will be available.
- `db_server`. The database server address.
- `db_name`. The name of the database you want to use. **We strongly recommend that you change the default `prestashop` value**
- `db_user`. The username for the database you want to use.
- `db_password`. The password for the database username above.
- `prefix`. **We strongly recommend that you change the default `ps_` value.**
- `email`. Your email to connect to the Back Office.
- `password`. The password to connect to the Back Office.

Example:

```shell
php index_cli.php
--domain=example.com
--db_server=sql.example.com
--db_name=myshop
--db_user=root
--db_password=123456789
--prefix=myshop_
--email=me@example.com
--password=mystrongpassword
```

If the installation completes without any errors, you should see the following confirmation:

```shell
-- Installation successful! --
```

{{% notice info %}}
Before running this command, please note that your database must be created with a `CREATE DATABASE xxx;` statement.
If the database is not created, please use argument `--db_create=1` to create the database.
{{% /notice %}}

{{% notice info %}}
If your MySQL server is configured on a different port than `3306`, please specify it in the `db_server` argument like this :
`--db_server=sql.example.com:3307`
{{% /notice %}}

[iso-639-1]: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
[tz-database]: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
[activities]: https://github.com/PrestaShop/PrestaShop/blob/8.0.x/src/PrestaShopBundle/Form/Admin/Configure/ShopParameters/General/PreferencesType.php#L211-L230
[iso-3166]: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Loading