# Tomato Ecommerce

<figure><img src="/files/Lew0ih2PpL2eQh0lmjZJ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/0HmFFZgAKQcqxLG1Rqeh" alt=""><figcaption></figcaption></figure>

before starting to install tomato-ecommerce make sure that you have this package installed and configured

* [Tomato Admin](https://github.com/tomatophp/docs/blob/master/plugins/tomato-ecommerce/broken-reference/README.md)
* [Tomato Roles](/plugins/tomato-roles.md)
* [Tomato Settings](/plugins/tomato-settings.md)
* [Tomato Translations](/plugins/tomato-translations.md)
* [Tomato Menus](/plugins/tomato-menus.md)
* [Tomato Category](/plugins/tomato-category.md)
* [Tomato Notifications](/plugins/tomato-notifications.md)
* [Tomato Forms](/plugins/tomato-forms.md)
* [Tomato CRM](/plugins/tomato-crm.md)
* [Tomato CMS](/plugins/tomato-cms.md)
* [Tomato Wallet](/plugins/tomato-wallet.md)
* [Tomato Products](/plugins/tomato-products.md)
* [Tomato Orders](/plugins/tomato-orders.md)
* [Tomato Coupons](/plugins/tomato-coupons.md)
* [Tomato Sections](/plugins/tomato-sections.md)
* [Tomato Support](/plugins/tomato-support.md)
* [Tomato Themes](https://github.com/tomatophp/docs/blob/master/plugins/tomato-themes/README.md)

### Before Installation

Ensure that PHP sodium extension is enabled.

### Steps to Enable Sodium Extension

* Run the following command in the terminal and note the php.ini file path

```
  php --ini
```

Example path: C:\laragon\bin\php\php-8.1.10-Win32-vs16-x64\php.ini

* Locate and open the php.ini file in a text editor.
* Find the line containing `extension=sodium` and uncomment it by removing the semicolon (;) at the beginning.
* Save the file and restart your PHP environment.

Now, the sodium extension should be active for your PHP installation.

### Installation

```
composer require tomatophp/tomato-ecommerce
```

or as Module

```
composer require tomatophp/tomato-ecommerce-module
```

after installing your package please run this command

```
php artisan tomato-ecommerce:install
```

### Changelog

Please see [CHANGELOG](https://github.com/tomatophp/tomato-ecommerce/blob/master/CHANGELOG.md) for more information on what has changed recently.

### Security

Please see [SECURITY](https://github.com/tomatophp/tomato-ecommerce/blob/master/SECURITY.md) for more security information.

### Credits

* [Fady Mondy](mailto:info@3x1.io)

### License

The MIT License (MIT). Please see [License File](https://github.com/tomatophp/tomato-ecommerce/blob/master/LICENSE.md) for more information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tomatophp.com/plugins/tomato-ecommerce.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
