Documentation for the Sezzle payment module can be found on docs.sezzle.com.
- Download MAMP here
- Open MAMP and make note of Document root (most likely:
Applications > MAMP > htdocs
) - Navigate to document root and create a new folder named
test_shop
or something similar. - Click
Start
button in top right of MAMP window.
- This will open a window in the browser for http://localhost:8888/MAMP
- Click on
MySQL
section on the opened page to expand it.
- You will need the username and password displayed here when installing PrestaShop store
- Open http://localhost:8888/phpMyAdmin/ in your browser
- Create a new database ex.
prestashop_local_db
- Visit download link and download Prestashop
- Unzip file and move
index.php
andprestashop.zip
to the folder you created in the document root for MAMP earlier (most likelyApplications > MAMP > htdocs > test_shop
) - In browser navigate to http://localhost:8888/test_shop and installing for PrestaShop will automatically begin.
- Make note of email/password during installing. They are needed to access admin side of site
- Default port for PrestaShop is
3306
- The default port for MySQL is
8889
. Make sure to add to end of Database Server Address127.0.0.1:8889
- Delete installation folder from folder you created in htdocs earlier, now your shop is ready to use!
- If Sezzle is already installed inside PrestaShop, then, go to
<root-dir>/modules/sezzle
else copy the project contents to a new directorysezzle
and execute the below command fromsezzle
directory.
cd ../ \
&& zip -r v<sezzle-module-version>-sezzle.zip sezzle -x '.git/*' -x 'CODEOWNERS' -x 'renovate.json' -x '__MACOSX/*' -x '.DS_Store' \
&& mv v<sezzle-module-version>-sezzle.zip sezzle/ \
&& cd sezzle