Usage

Prerequisities

To use console commands you need access to your server command line. The entry point of Joomla! Console is located in /cli subfolder of your Joomla! installation, and is executed like this: php cli/joomla.php when in Joomla! installation root folder.

It will show you list of available commands, and instructions how to use it. Further information could be found for example here.

Configuration

There are no special configutration options for this plugin.

Available commands

Categories

Commands related to categories.

Products Count

Recalculate products count for all categories:

php cli/joomla.php phocacart:categories:productscount

Recreate Thumbnails

Recreate thumbnails for all categories:

php cli/joomla.php phocacart:categories:recereatethumbnails

Aliases

Validate aliases for all categories (checks if aliases contains just allowed characters, useful after batch SQL import):

php cli/joomla.php phocacart:categories:aliases

Regenerate aliases for all categories from their titles:

php cli/joomla.php phocacart:categories:aliases

Labels

Commands related to labels.

Products Count

Recalculate products count for all labels:

php cli/joomla.php phocacart:labels:productscount

Aliases

Validate aliases for all labels (checks if aliases contains just allowed characters, useful after batch SQL import):

php cli/joomla.php phocacart:labels:aliases

Regenerate aliases for all labels from their titles:

php cli/joomla.php phocacart:labels:aliases

Manufacturers

Commands related to manufacturers.

Products Count

Recalculate products count for all manufacturers:

php cli/joomla.php phocacart:manufacturers:productscount

Aliases

Validate aliases for all manufacturers (checks if aliases contains just allowed characters, useful after batch SQL import):

php cli/joomla.php phocacart:manufacturers:aliases

Regenerate aliases for all manufacturers from their titles:

php cli/joomla.php phocacart:manufacturers:aliases

Parameters

Commands related to parameters and its values.

Products Count

Recalculate products count for all parameters values:

php cli/joomla.php phocacart:parameters:productscount

Aliases

Validate aliases for all parameters (checks if aliases contains just allowed characters, useful after batch SQL import):

php cli/joomla.php phocacart:parameters:aliases

Regenerate aliases for all parameters from their titles:

php cli/joomla.php phocacart:parameters:aliases

Products

Commands related to products.

Recreate Thumbnails

Recreate thumbnails for all products:

php cli/joomla.php phocacart:products:recereatethumbnails

Recreate thumbnails for products from categories with ids 1 and 2 only:

php cli/joomla.php phocacart:parameters:productscount --cat=1,2

Recreate thumbnails for products with ids 55 and 72 only:

php cli/joomla.php phocacart:parameters:productscount --id=55,72

Aliases

Validate aliases for all products (checks if aliases contains just allowed characters, useful after batch SQL import):

php cli/joomla.php phocacart:products:aliases

Regenerate aliases for all products from their titles:

php cli/joomla.php phocacart:products:aliases

Tags

Commands related to tags.

Products Count

Recalculate products count for all tags:

php cli/joomla.php phocacart:tags:productscount

Aliases

Validate aliases for all tags (checks if aliases contains just allowed characters, useful after batch SQL import):

php cli/joomla.php phocacart:tags:aliases

Regenerate aliases for all tags from their titles:

php cli/joomla.php phocacart:tags:aliases