Skip to content
This repository has been archived by the owner on Aug 23, 2019. It is now read-only.

Latest commit

 

History

History
70 lines (51 loc) · 1.38 KB

README.md

File metadata and controls

70 lines (51 loc) · 1.38 KB

prestashop_eiinstallmodulescli

Install prestashop module from the commande line or a navigator

======= This module is deprecated and will not be updated anymore In order to use CLI with prestashop you can use the module Prestashop Console : https://github.com/nenes25/prestashop_console

How to use it ( CLI Mode )

Example with prestashop module "productscategory"

Go into the directory of the module eiinstallmodulesi

install

	php install_module.php module_name=productscategory

or

	php install_module.php module_name=productscategory  action=install

uninstall

	php install_module.php module_name=productscategory  action=uninstall

enable

	php install_module.php module_name=productscategory  action=enable

disable

	php install_module.php module_name=productscategory  action=disable

check status

	php install_module.php module_name=productscategory  action=status

How to update Configuration ( CLI Mode )

You can also set Prestashop Configuration Values

Example for Google Analytics

Configure Analytics Key

php install_module.php mode=configuration key=GA_ACCOUNT_ID value="MY-KEY"

Delete Key

php install_module.php mode=configuration key=GA_ACCOUNT_ID action_conf=delete

Get Key

php install_module.php mode=configuration key=GA_ACCOUNT_ID action_conf=get